Re: Bug#302033: dpkg-architecture: Specified GNU system type i386-linux does not match gcc system type i486-linux-gnu
why do you think this a bug in gcc-snapshot? dpkg-architecture flags
this as a warning. shouldn't it be dpkg's responsibility to map
between i386-linux and i486-linux-gnu. The gcc system type does not
have to match the gnu system type.
Kamaraju Kusumanchi writes:
> Package: gcc-snapshot
> Version: 20050319-1
> Severity: normal
>
>
> While building mpich2 from sources using gcc-snapshot, I am getting the
> following warnings.
>
> dpkg-architecture: warning: Unknown gcc system type i486-linux-gnu,
> falling back to default (native compilation)
> dpkg-architecture: warning: Specified GNU system type i386-linux does
> not match gcc system type i486-linux-gnu.
>
> To reproduce the problem
>
> 1)
>
> LD_LIBRARY_PATH=/usr/lib/gcc-snapshot/lib:$LD_LIBRARY_PATH
>
> PATH=/usr/lib/gcc-snapshot/bin:$PATH
>
> 2)
> wget \
> http://torvalds.cs.mtsu.edu/~zach/debian/1.0.1/libmpich2-1.0_1.0.1-4_i386.deb \
> http://torvalds.cs.mtsu.edu/~zach/debian/1.0.1/mpich2-dev_1.0.1-4_i386.deb \
> http://torvalds.cs.mtsu.edu/~zach/debian/1.0.1/mpich2-doc_1.0.1-4_i386.deb \
> http://torvalds.cs.mtsu.edu/~zach/debian/1.0.1/mpich2-mpd_1.0.1-4_i386.deb \
> http://torvalds.cs.mtsu.edu/~zach/debian/1.0.1/mpich2-mpe_1.0.1-4_i386.deb \
> http://torvalds.cs.mtsu.edu/~zach/debian/1.0.1/mpich2_1.0.1-4.diff.gz \
> http://torvalds.cs.mtsu.edu/~zach/debian/1.0.1/mpich2_1.0.1-4.dsc \
> http://torvalds.cs.mtsu.edu/~zach/debian/1.0.1/mpich2_1.0.1-4_i386.changes \
> http://torvalds.cs.mtsu.edu/~zach/debian/1.0.1/mpich2_1.0.1-4_i386.deb \
> http://torvalds.cs.mtsu.edu/~zach/debian/1.0.1/mpich2_1.0.1.orig.tar.gz
>
> 3) dpkg-source -x mpich2_1.0.1-4.dsc
>
> 4) cd mpich2-1.0.1/
>
> 5) dpkg-buildpackage -rfakeroot
>
> At this point there will be warnings as follows:
> dpkg-architecture: warning: Unknown gcc system type i486-linux-gnu, falling back to default (native compilation)
> dpkg-architecture: warning: Specified GNU system type i386-linux does not matchgcc system type i486-linux-gnu.
> dpkg-architecture: warning: Unknown gcc system type i486-linux-gnu, falling back to default (native compilation)
> dpkg-architecture: warning: Specified GNU system type i386-linux does not matchgcc system type i486-linux-gnu.
> dpkg-buildpackage: host architecture is i386
> dpkg-architecture: warning: Unknown gcc system type i486-linux-gnu, falling back to default (native compilation)
> dpkg-architecture: warning: Specified GNU system type i386-linux does not matchgcc system type i486-linux-gnu.
> dpkg-architecture: warning: Unknown gcc system type i486-linux-gnu, falling back to default (native compilation)
> dpkg-architecture: warning: Specified GNU system type i386-linux does not matchgcc system type i486-linux-gnu.
> fakeroot debian/rules clean
> dh_testdir
> dh_testroot
>
>
> -- System Information:
> Debian Release: 3.1
> APT prefers unstable
> APT policy: (500, 'unstable')
> Architecture: i386 (i686)
> Kernel: Linux 2.6.9-1-686
> Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
>
> Versions of packages gcc-snapshot depends on:
> ii binutils 2.15-5 The GNU assembler, linker and bina
> ii libart-2.0-2 2.3.16-6 Library of functions for 2D graphi
> ii libatk1.0-0 1.8.0-3 The ATK accessibility toolkit
> ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
> ii libc6-dev 2.3.2.ds1-20 GNU C Library: Development Librari
> ii libglib2.0-0 2.6.3-1 The GLib library of C routines
> ii libgmp3 4.1.4-1 Multiprecision arithmetic library
> ii libgtk2.0-0 2.6.2-4 The GTK+ graphical user interface
> ii libpango1.0-0 1.8.1-1 Layout and rendering of internatio
> ii libxtst6 4.3.0.dfsg.1-8 X Window System event recording an
> ii xlibs 4.3.0.dfsg.1-8 X Window System client libraries m
> ii zlib1g 1:1.2.2-4 compression library - runtime
>
> -- no debconf information
>
>
> --
> To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: