Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
more binutils breakage?
View unanswered posts
View posts from last 24 hours

 
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
warrax
n00b
n00b


Joined: 20 Aug 2002
Posts: 13

PostPosted: Tue Aug 20, 2002 9:54 pm    Post subject: more binutils breakage? Reply with quote

i upgraded to 2.13.90.0.4 this morning, and now I cannot get anything to compile with dynamic linking... not even "Hello, world".

I've tried downgrading binutils through setting CFLAGS="-O0 -static", but that fails with the following error message:

Code:

echo $f > tofiles
/bin/sh ./../move-if-change tofiles ofiles
touch stamp-ofiles
creating bfd-in3.h
rm -f bfd-tmp.h
cp bfd-in3.h bfd-tmp.h
/bin/sh ./../move-if-change bfd-tmp.h bfd.h
rm -f bfd-tmp.h
touch stmp-bfd-h
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE   -DTRAD_CORE   -I. -I. -I./../include  -I./../intl -I../intl   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -static -O0 -c archive.c
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE   -DTRAD_CORE   -I. -I. -I./../include  -I./../intl -I../intl   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -static -O0 -c -DDEFAULT_VECTOR=bfd_elf32_i386_vec -DSELECT_VECS='&bfd_elf32_i386_vec,&i386linux_vec,&bfd_efi_app_ia32_vec,&bfd_elf32_little_generic_vec,&bfd_elf32_big_generic_vec' -DSELECT_ARCHITECTURES='&bfd_i386_arch' -DHAVE_bfd_elf32_i386_vec -DHAVE_i386linux_vec -DHAVE_bfd_efi_app_ia32_vec -DHAVE_bfd_elf32_little_generic_vec -DHAVE_bfd_elf32_big_generic_vec ./archures.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -DTRAD_CORE -I. -I. -I./../include -I./../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -O0 -c archive.c  -fPIC -DPIC -o .libs/archive.o
gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -DTRAD_CORE -I. -I. -I./../include -I./../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -O0 -c -DDEFAULT_VECTOR=bfd_elf32_i386_vec "-DSELECT_VECS=&bfd_elf32_i386_vec,&i386linux_vec,&bfd_efi_app_ia32_vec,&bfd_elf32_little_generic_vec,&bfd_elf32_big_generic_vec" "-DSELECT_ARCHITECTURES=&bfd_i386_arch" -DHAVE_bfd_elf32_i386_vec -DHAVE_i386linux_vec -DHAVE_bfd_efi_app_ia32_vec -DHAVE_bfd_elf32_little_generic_vec -DHAVE_bfd_elf32_big_generic_vec ./archures.c  -fPIC -DPIC -o .libs/archures.o
In file included from archures.c:25:
libbfd.h:95: parse error before "_bfd_error_handler"
libbfd.h:95: warning: type defaults to `int' in declaration of `_bfd_error_handler'
libbfd.h:95: warning: data definition has no type or storage class
libbfd.h:107: parse error before '*' token
libbfd.h:107: warning: type defaults to `int' in declaration of `bfd_generic_archive_p'
libbfd.h:107: warning: data definition has no type or storage class
libbfd.h:132: parse error before '*' token
libbfd.h:132: warning: type defaults to `int' in declaration of `_bfd_dummy_target'
libbfd.h:132: warning: data definition has no type or storage class
libbfd.h:167: parse error before "asection"
libbfd.h:167: warning: function declaration isn't a prototype
libbfd.h:169: parse error before "asection"
libbfd.h:169: warning: function declaration isn't a prototype
libbfd.h:307: parse error before "asection"
libbfd.h:307: warning: function declaration isn't a prototype
libbfd.h:359: parse error before '*' token
libbfd.h:360: parse error before "asymbol"
libbfd.h:360: warning: type defaults to `int' in declaration of `_bfd_generic_minisymbol_to_symbol'
libbfd.h:360: warning: function declaration isn't a prototype
libbfd.h:360: warning: data definition has no type or storage class
libbfd.h:364: parse error before "asymbol"
[...lots more errors...]
make[3]: *** [archive.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/binutils-2.12.90.0.7/work/binutils-2.12.90.0.7/bfd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/binutils-2.12.90.0.7/work/binutils-2.12.90.0.7/bfd'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/binutils-2.12.90.0.7/work/binutils-2.12.90.0.7/bfd'
make: *** [all-bfd] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 3596, Exitcode 2
!!! (no error message)

!!! emerge aborting on  /usr/portage/sys-devel/binutils/binutils-2.12.90.0.7.ebuild .


Line 95 in libbfd.h is

Code:

extern bfd_error_handler_type _bfd_error_handler;


and it seems that the bfd_error_handler_type is not defined. This causes the parse error. Anyone have any clues as to what's going on and how I can get back to a usable system? (Well, the system is usable, but I can't emerge anything without "-static" which is kind of a bummer... :()
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 17295

PostPosted: Tue Aug 20, 2002 10:01 pm    Post subject: Reply with quote

Already brought up here. Lets keep recent binutils problems in one location so we can more easily follow the issues.
_________________
The whole system has to go. The modern criminal justice system is incompatible with Neuroscience. --Sapolsky
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum