Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 147397

Summary: xmingw-binutils fails to compile under gcc 4.1.1
Product: Gentoo Linux Reporter: Ryan Patterson <cgamesplay>
Component: [OLD] GCC PortingAssignee: Please assign to toolchain <gcc-porting>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ryan Patterson 2006-09-12 17:24:57 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.4) Gecko/20060624 Firefox/1.5.0.4
Build Identifier: 

The dev-util/xmingw-binutils-2.15.90.0.2 package fails to build under gcc 4.1.1.

Reproducible: Always

Steps to Reproduce:
1. Use gcc 4.1.1
2. emerge dev-util/xmingw-binutils-2.15.90.0.2
Actual Results:  
emerge fails with error below


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 -O2
-march=i686 -pip
e -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] Error 1
make[2]: *** [all-recursive] Error 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] Error 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] Error 2

!!! ERROR: dev-util/xmingw-binutils-2.15.90.0.2 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   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 1 SpanKY gentoo-dev 2006-09-12 19:12:50 UTC

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