Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148602 - xmingw-binutils failed to build with gcc 4.1.1
Summary: xmingw-binutils failed to build with gcc 4.1.1
Status: RESOLVED DUPLICATE of bug 117489
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-21 20:25 UTC by Xuefer
Modified: 2006-09-22 03:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xuefer 2006-09-21 20:25:56 UTC
gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.1.1 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --disable-libmudflap --disable-libssp --disable-libgcj --enable-languages=c,c++ --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 4.1.1 (Gentoo 4.1.1)



ERRORS:
gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -I. -I. -I../bfd -I./../bfd -I./../include -I./../intl -I../intl -DLOCALEDIR="\"/opt/xmingw/share/locale\"" -Dbin_dummy_emulation=bin_vanilla_emulation   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -O3 -march=pentium4 -mfpmath=sse -mmmx -msse -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -pipe -funroll-all-loops -ftracer -funit-at-a-time -fpeel-loops -funswitch-loops -c dllwrap.c
dllwrap.c:104: error: static declaration of 'program_name' follows non-static declaration
bucomm.h:179: error: previous declaration of 'program_name' was here
dllwrap.c: In function 'main':
dllwrap.c:1046: warning: signed and unsigned type in conditional expression

make[3]: *** [dllwrap.o] 
Comment 1 Xuefer 2006-09-21 20:25:56 UTC
gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.1.1 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --disable-libmudflap --disable-libssp --disable-libgcj --enable-languages=c,c++ --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 4.1.1 (Gentoo 4.1.1)



ERRORS:
gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -I. -I. -I../bfd -I./../bfd -I./../include -I./../intl -I../intl -DLOCALEDIR="\"/opt/xmingw/share/locale\"" -Dbin_dummy_emulation=bin_vanilla_emulation   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -O3 -march=pentium4 -mfpmath=sse -mmmx -msse -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -pipe -funroll-all-loops -ftracer -funit-at-a-time -fpeel-loops -funswitch-loops -c dllwrap.c
dllwrap.c:104: error: static declaration of 'program_name' follows non-static declaration
bucomm.h:179: error: previous declaration of 'program_name' was here
dllwrap.c: In function 'main':
dllwrap.c:1046: warning: signed and unsigned type in conditional expression

make[3]: *** [dllwrap.o] ´íÎó 1
make[3]: *** ÕýÔڵȴýδÍê³ÉµÄÈÎÎñ....
make[3]: Leaving directory `/var/tmp/portage/xmingw-binutils-2.15.90.0.2/work/binutils-2.15.90.0.2/binutils'
make[2]: *** [all-recursive] ´íÎó 1
make[2]: Leaving directory `/var/tmp/portage/xmingw-binutils-2.15.90.0.2/work/binutils-2.15.90.0.2/binutils'
make[1]: *** [all-recursive-am] ´íÎó 2
make[1]: Leaving directory `/var/tmp/portage/xmingw-binutils-2.15.90.0.2/work/binutils-2.15.90.0.2/binutils'
make: *** [all-binutils] ´íÎó 2

!!! ERROR: dev-util/xmingw-binutils-2.15.90.0.2 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  xmingw-binutils-2.15.90.0.2.ebuild, line 33:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-09-22 03:16:36 UTC

*** This bug has been marked as a duplicate of 117489 ***