public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* bfd/elf.c chokes on BSD/OS 4.3.1 running gcc 3.2.3
@ 2005-05-07  5:44 The Doctor
  2005-05-07  7:33 ` Alan Modra
  0 siblings, 1 reply; 7+ messages in thread
From: The Doctor @ 2005-05-07  5:44 UTC (permalink / raw)
  To: binutils

I applied the BSD/OS patch called BSDI_CONTRIB and now I get:


Script started on Fri May  6 21:38:54 2005
doctor.nl2k.ab.ca//usr/source/binutils-2.16$ make
make  all-recursive
Making all in doc
Making all in po
/bin/sh ./libtool --mode=compile /usr/bin/gcc -DHAVE_CONFIG_H  -I. -I.././bfd -I. -D_GNU_SOURCE     -I. -I.././bfd -I.././bfd/../include  -I.././bfd/../intl -I../intl    -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -Wall -O3 -march=i686 -c -o elf.lo elf.c
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -D_GNU_SOURCE -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -Wall -O3 -march=i686 -c elf.c -o elf.o
elf.c: In function `_bfd_elf_canonicalize_dynamic_reloc':
elf.c:6029: warning: no previous prototype for `_bfd_elf_slurp_version_tables'
elf.c:6274: warning: no previous prototype for `_bfd_elf_make_empty_symbol'
elf.c:6292: warning: no previous prototype for `_bfd_elf_get_symbol_info'
elf.c:6303: warning: no previous prototype for `_bfd_elf_is_local_label_name'
elf.c:6328: warning: no previous prototype for `_bfd_elf_get_lineno'
elf.c:6337: warning: no previous prototype for `_bfd_elf_set_arch_mach'
elf.c:6440: warning: no previous prototype for `_bfd_elf_find_nearest_line'
elf.c:6489: warning: no previous prototype for `_bfd_elf_sizeof_headers'
elf.c:6504: warning: no previous prototype for `_bfd_elf_set_section_contents'
elf.c:6525: warning: no previous prototype for `_bfd_elf_no_info_to_howto'
elf.c:6533: warning: no previous prototype for `_bfd_elf_validate_reloc'
elf.c:6627: warning: no previous prototype for `_bfd_elf_close_and_cleanup'
elf.c:6648: warning: no previous prototype for `_bfd_elf_rel_vtable_reloc_fn'
elf.c:6706: warning: no previous prototype for `_bfd_elfcore_make_pseudosection'
elf.c:6860: warning: no previous prototype for `_bfd_elfcore_strndup'
elf.c:7443: warning: no previous prototype for `elfcore_write_note'
elf.c:7590: warning: no previous prototype for `elfcore_write_prfpreg'
elf.c:7602: warning: no previous prototype for `elfcore_write_prxfpreg'
elf.c:7678: warning: no previous prototype for `bfd_get_elf_phdr_upper_bound'
elf.c:7698: warning: no previous prototype for `bfd_get_elf_phdrs'
elf.c:7716: warning: no previous prototype for `_bfd_elf_sprintf_vma'
elf.c:7744: warning: no previous prototype for `_bfd_elf_fprintf_vma'
elf.c:7773: warning: no previous prototype for `_bfd_elf_reloc_type_class'
elf.c:7785: warning: no previous prototype for `_bfd_elf_rela_local_sym'
elf.c:7822: warning: no previous prototype for `_bfd_elf_rel_local_sym'
elf.c:7838: warning: no previous prototype for `_bfd_elf_section_offset'
elf.c:7870: warning: no previous prototype for `bfd_elf_bfd_from_remote_memory'
elf.c:7882: warning: no previous prototype for `_bfd_elf_get_synthetic_symtab'
elf.c:8009: warning: no previous prototype for `bfd_elf_match_symbols_in_sections'
elf.c:8171: syntax error at end of input
elf.c:48: warning: `elfcore_read_notes' used but never defined
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
doctor.nl2k.ab.ca//usr/source/binutils-2.16$ make -k
make  all-recursive
Making all in doc
Making all in po
/bin/sh ./libtool --mode=compile /usr/bin/gcc -DHAVE_CONFIG_H  -I. -I.././bfd -I. -D_GNU_SOURCE     -I. -I.././bfd -I.././bfd/../include  -I.././bfd/../intl -I../intl    -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -Wall -O3 -march=i686 -c -o elf.lo elf.c
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -D_GNU_SOURCE -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -Wall -O3 -march=i686 -c elf.c -o elf.o
elf.c: In function `_bfd_elf_canonicalize_dynamic_reloc':
elf.c:6029: warning: no previous prototype for `_bfd_elf_slurp_version_tables'
elf.c:6274: warning: no previous prototype for `_bfd_elf_make_empty_symbol'
elf.c:6292: warning: no previous prototype for `_bfd_elf_get_symbol_info'
elf.c:6303: warning: no previous prototype for `_bfd_elf_is_local_label_name'
elf.c:6328: warning: no previous prototype for `_bfd_elf_get_lineno'
elf.c:6337: warning: no previous prototype for `_bfd_elf_set_arch_mach'
elf.c:6440: warning: no previous prototype for `_bfd_elf_find_nearest_line'
elf.c:6489: warning: no previous prototype for `_bfd_elf_sizeof_headers'
elf.c:6504: warning: no previous prototype for `_bfd_elf_set_section_contents'
elf.c:6525: warning: no previous prototype for `_bfd_elf_no_info_to_howto'
elf.c:6533: warning: no previous prototype for `_bfd_elf_validate_reloc'
elf.c:6627: warning: no previous prototype for `_bfd_elf_close_and_cleanup'
elf.c:6648: warning: no previous prototype for `_bfd_elf_rel_vtable_reloc_fn'
elf.c:6706: warning: no previous prototype for `_bfd_elfcore_make_pseudosection'
elf.c:6860: warning: no previous prototype for `_bfd_elfcore_strndup'
elf.c:7443: warning: no previous prototype for `elfcore_write_note'
elf.c:7590: warning: no previous prototype for `elfcore_write_prfpreg'
elf.c:7602: warning: no previous prototype for `elfcore_write_prxfpreg'
elf.c:7678: warning: no previous prototype for `bfd_get_elf_phdr_upper_bound'
elf.c:7698: warning: no previous prototype for `bfd_get_elf_phdrs'
elf.c:7716: warning: no previous prototype for `_bfd_elf_sprintf_vma'
elf.c:7744: warning: no previous prototype for `_bfd_elf_fprintf_vma'
elf.c:7773: warning: no previous prototype for `_bfd_elf_reloc_type_class'
elf.c:7785: warning: no previous prototype for `_bfd_elf_rela_local_sym'
elf.c:7822: warning: no previous prototype for `_bfd_elf_rel_local_sym'
elf.c:7838: warning: no previous prototype for `_bfd_elf_section_offset'
elf.c:7870: warning: no previous prototype for `bfd_elf_bfd_from_remote_memory'
elf.c:7882: warning: no previous prototype for `_bfd_elf_get_synthetic_symtab'
elf.c:8009: warning: no previous prototype for `bfd_elf_match_symbols_in_sections'
elf.c:8171: syntax error at end of input
elf.c:48: warning: `elfcore_read_notes' used but never defined
*** Error code 1 (continuing)
/bin/sh ./libtool --mode=compile /usr/bin/gcc -DHAVE_CONFIG_H  -I. -I.././bfd -I. -D_GNU_SOURCE     -I. -I.././bfd -I.././bfd/../include  -I.././bfd/../intl -I../intl    -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -Wall -O3 -march=i686 -c -o elflink.lo elflink.c
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -D_GNU_SOURCE -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -Wall -O3 -march=i686 -c elflink.c -o elflink.o
/bin/sh ./libtool --mode=compile /usr/bin/gcc -DHAVE_CONFIG_H  -I. -I.././bfd -I. -D_GNU_SOURCE     -I. -I.././bfd -I.././bfd/../include  -I.././bfd/../intl -I../intl    -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -Wall -O3 -march=i686 -c -o elf-strtab.lo elf-strtab.c
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -D_GNU_SOURCE -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -Wall -O3 -march=i686 -c elf-strtab.c -o elf-strtab.o
/bin/sh ./libtool --mode=compile /usr/bin/gcc -DHAVE_CONFIG_H  -I. -I.././bfd -I. -D_GNU_SOURCE     -I. -I.././bfd -I.././bfd/../include  -I.././bfd/../intl -I../intl    -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -Wall -O3 -march=i686 -c -o dwarf1.lo dwarf1.c
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -D_GNU_SOURCE -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -Wall -O3 -march=i686 -c dwarf1.c -o dwarf1.o
make: don't know how to make bsdi-core.lo (continuing)
`all-am' not remade because of errors.
make  all-recursive
Making all in po
make  all-recursive
Making all in doc
Making all in po
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I.././binutils -I. -D_GNU_SOURCE  -I. -I.././binutils -I../bfd -I.././binutils/../bfd -I.././binutils/../include   -I.././binutils/../intl -I../intl  -DLOCALEDIR="\"/usr/share/locale\""  -Dbin_dummy_emulation=bin_vanilla_emulation   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -Wall -O3 -march=i686 -c size.c
In file included from size.c:34:
../include/getopt.h:116: warning: function declaration isn't a prototype
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I.././binutils -I. -D_GNU_SOURCE  -I. -I.././binutils -I../bfd -I.././binutils/../bfd -I.././binutils/../include   -I.././binutils/../intl -I../intl  -DLOCALEDIR="\"/usr/share/locale\""  -Dbin_dummy_emulation=bin_vanilla_emulation   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -Wall -O3 -march=i686 -c bucomm.c
make: don't know how to make ../bfd/libbfd.la (continuing)
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I.././binutils -I. -D_GNU_SOURCE  -I. -I.././binutils -I../bfd -I.././binutils/../bfd -I.././binutils/../include   -I.././binutils/../intl -I../intl  -DLOCALEDIR="\"/usr/share/locale\""  -Dbin_dummy_emulation=bin_vanilla_emulation   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -Wall -O3 -march=i686 -c  .././binutils/objdump.c
In file included from ../binutils/objdump.c:56:
../include/getopt.h:116: warning: function declaration isn't a prototype
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I.././binutils -I. -D_GNU_SOURCE  -I. -I.././binutils -I../bfd -I.././binutils/../bfd -I.././binutils/../include   -I.././binutils/../intl -I../intl  -DLOCALEDIR="\"/usr/share/locale\""  -Dbin_dummy_emulation=bin_vanilla_emulation   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -Wall -O3 -march=i686 -c budemang.c
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I.././binutils -I. -D_GNU_SOURCE  -I. -I.././binutils -I../bfd -I.././binutils/../bfd -I.././binutils/../include   -I.././binutils/../intl -I../intl  -DLOCALEDIR="\"/usr/share/locale\""  -Dbin_dummy_emulation=bin_vanilla_emulation   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -Wall -O3 -march=i686 -c prdbg.c
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I.././binutils -I. -D_GNU_SOURCE  -I. -I.././binutils -I../bfd -I.././binutils/../bfd -I.././binutils/../include   -I.././binutils/../intl -I../intl  -DLOCALEDIR="\"/usr/share/locale\""  -Dbin_dummy_emulation=bin_vanilla_emulation   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -Wall -O3 -march=i686 -c rddbg.c
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I.././binutils -I. -D_GNU_SOURCE  -I. -I.././binutils -I../bfd -I.././binutils/../bfd -I.././binutils/../include   -I.././binutils/../intl -I../intl  -DLOCALEDIR="\"/usr/share/locale\""  -Dbin_dummy_emulation=bin_vanilla_emulation   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -Wall -O3 -march=i686 -c debug.c
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I.././binutils -I. -D_GNU_SOURCE  -I. -I.././binutils -I../bfd -I.././binutils/../bfd -I.././binutils/../include   -I.././binutils/../intl -I../intl  -DLOCALEDIR="\"/usr/share/locale\""  -Dbin_dummy_emulation=bin_vanilla_emulation   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -Wall -O3 -march=i686 -c stabs.c
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I.././binutils -I. -D_GNU_SOURCE  -I. -I.././binutils -I../bfd -I.././binutils/../bfd -I.././binutils/../include   -I.././binutils/../intl -I../intl  -DLOCALEDIR="\"/usr/share/locale\""  -Dbin_dummy_emulation=bin_vanilla_emulation   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -Wall -O3 -march=i686 -c ieee.c
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I.././binutils -I. -D_GNU_SOURCE  -I. -I.././binutils -I../bfd -I.././binutils/../bfd -I.././binutils/../include   -I.././binutils/../intl -I../intl  -DLOCALEDIR="\"/usr/share/locale\""  -Dbin_dummy_emulation=bin_vanilla_emulation   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -Wall -O3 -march=i686 -c rdcoff.c
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I.././binutils -I. -D_GNU_SOURCE  -I. -I.././binutils -I../bfd -I.././binutils/../bfd -I.././binutils/../include   -I.././binutils/../intl -I../intl  -DLOCALEDIR="\"/usr/share/locale\""  -Dbin_dummy_emulation=bin_vanilla_emulation   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -Wall -O3 -march=i686 -c arlex.c
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I.././binutils -I. -D_GNU_SOURCE  -I. -I.././binutils -I../bfd -I.././binutils/../bfd -I.././binutils/../include   -I.././binutils/../intl -I../intl  -DLOCALEDIR="\"/usr/share/locale\""  -Dbin_dummy_emulation=bin_vanilla_emulation   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -Wall -O3 -march=i686 -c ar.c
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I.././binutils -I. -D_GNU_SOURCE  -I. -I.././binutils -I../bfd -I.././binutils/../bfd -I.././binutils/../include   -I.././binutils/../intl -I../intl  -DLOCALEDIR="\"/usr/share/locale\""  -Dbin_dummy_emulation=bin_vanilla_emulation   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -Wall -O3 -march=i686 -c arsup.c
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I.././binutils -I. -D_GNU_SOURCE  -I. -I.././binutils -I../bfd -I.././binutils/../bfd -I.././binutils/../include   -I.././binutils/../intl -I../intl  -DLOCALEDIR="\"/usr/share/locale\""  -Dbin_dummy_emulation=bin_vanilla_emulation   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -Wall -O3 -march=i686 -c strings.c
In file included from strings.c:65:
../include/getopt.h:116: warning: function declaration isn't a prototype
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I.././binutils -I. -D_GNU_SOURCE  -I. -I.././binutils -I../bfd -I.././binutils/../bfd -I.././binutils/../include   -I.././binutils/../intl -I../intl  -DLOCALEDIR="\"/usr/share/locale\""  -Dbin_dummy_emulation=bin_vanilla_emulation   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -Wall -O3 -march=i686 -c objcopy.c
In file included from objcopy.c:26:
../include/getopt.h:116: warning: function declaration isn't a prototype
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I.././binutils -I. -D_GNU_SOURCE  -I. -I.././binutils -I../bfd -I.././binutils/../bfd -I.././binutils/../include   -I.././binutils/../intl -I../intl  -DLOCALEDIR="\"/usr/share/locale\""  -Dbin_dummy_emulation=bin_vanilla_emulation   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -Wall -O3 -march=i686 -c wrstabs.c
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I.././binutils -I. -D_GNU_SOURCE  -I. -I.././binutils -I../bfd -I.././binutils/../bfd -I.././binutils/../include   -I.././binutils/../intl -I../intl  -DLOCALEDIR="\"/usr/share/locale\""  -Dbin_dummy_emulation=bin_vanilla_emulation   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -Wall -O3 -march=i686 -c addr2line.c
In file included from addr2line.c:35:
../include/getopt.h:116: warning: function declaration isn't a prototype
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I.././binutils -I. -D_GNU_SOURCE  -I. -I.././binutils -I../bfd -I.././binutils/../bfd -I.././binutils/../include   -I.././binutils/../intl -I../intl  -DLOCALEDIR="\"/usr/share/locale\""  -Dbin_dummy_emulation=bin_vanilla_emulation   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -Wall -O3 -march=i686 -c readelf.c
In file included from readelf.c:116:
../include/getopt.h:116: warning: function declaration isn't a prototype
/bin/sh ./libtool --mode=link /usr/bin/gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -Wall -O3 -march=i686  -o readelf  readelf.o version.o  unwind-ia64.o ./../intl/libintl.a ../libiberty/libiberty.a 
/usr/bin/gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -Wall -O3 -march=i686 -o readelf readelf.o version.o unwind-ia64.o  ./../intl/libintl.a ../libiberty/libiberty.a
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I.././binutils -I. -D_GNU_SOURCE  -I. -I.././binutils -I../bfd -I.././binutils/../bfd -I.././binutils/../include   -I.././binutils/../intl -I../intl  -DLOCALEDIR="\"/usr/share/locale\""  -Dbin_dummy_emulation=bin_vanilla_emulation   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -Wall -O3 -march=i686 -c nm.c
In file included from nm.c:27:
../include/getopt.h:116: warning: function declaration isn't a prototype
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I.././binutils -I. -D_GNU_SOURCE  -I. -I.././binutils -I../bfd -I.././binutils/../bfd -I.././binutils/../include   -I.././binutils/../intl -I../intl  -DLOCALEDIR="\"/usr/share/locale\""  -Dbin_dummy_emulation=bin_vanilla_emulation   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -Wall -O3 -march=i686 -c cxxfilt.c
In file included from cxxfilt.c:30:
../include/getopt.h:116: warning: function declaration isn't a prototype
`all-am' not remade because of errors.
make  all-recursive
Making all in doc
rm -f gasver.texi
eval `grep '^ *VERSION=' `; echo "@set VERSION $VERSION" > gasver.texi
^CYou have new mail in /var/mail/root
doctor.nl2k.ab.ca//usr/source/binutils-2.16$ exit
exit

Script done on Fri May  6 21:40:19 2005

I got this to work in 2.15 no problem.  what changed?

-- 
Member - Liberal International	
This is doctor@nl2k.ab.ca	Ici doctor@nl2k.ab.ca
God Queen and country! Beware Anti-Christ rising!
BC, Vote Liberal!!

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: bfd/elf.c chokes on BSD/OS 4.3.1 running gcc 3.2.3
  2005-05-07  5:44 bfd/elf.c chokes on BSD/OS 4.3.1 running gcc 3.2.3 The Doctor
@ 2005-05-07  7:33 ` Alan Modra
  2005-05-07 13:59   ` The Doctor
  0 siblings, 1 reply; 7+ messages in thread
From: Alan Modra @ 2005-05-07  7:33 UTC (permalink / raw)
  To: The Doctor; +Cc: binutils

On Fri, May 06, 2005 at 09:45:02PM -0600, The Doctor wrote:
> I got this to work in 2.15 no problem.  what changed?

-Werror

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: bfd/elf.c chokes on BSD/OS 4.3.1 running gcc 3.2.3
  2005-05-07  7:33 ` Alan Modra
@ 2005-05-07 13:59   ` The Doctor
  2005-05-07 14:53     ` The Doctor
  0 siblings, 1 reply; 7+ messages in thread
From: The Doctor @ 2005-05-07 13:59 UTC (permalink / raw)
  To: binutils

On Sat, May 07, 2005 at 03:14:33PM +0930, Alan Modra wrote:
> On Fri, May 06, 2005 at 09:45:02PM -0600, The Doctor wrote:
> > I got this to work in 2.15 no problem.  what changed?
> 
> -Werror
>

Let me include this.
 
> -- 
> Alan Modra
> IBM OzLabs - Linux Technology Centre

-- 
Member - Liberal International	
This is doctor@nl2k.ab.ca	Ici doctor@nl2k.ab.ca
God Queen and country! Beware Anti-Christ rising!
BC, Vote Liberal!!

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: bfd/elf.c chokes on BSD/OS 4.3.1 running gcc 3.2.3
  2005-05-07 13:59   ` The Doctor
@ 2005-05-07 14:53     ` The Doctor
  2005-05-07 16:24       ` Dave Korn
  0 siblings, 1 reply; 7+ messages in thread
From: The Doctor @ 2005-05-07 14:53 UTC (permalink / raw)
  To: binutils

On Sat, May 07, 2005 at 07:45:52AM -0600, The Doctor wrote:
> On Sat, May 07, 2005 at 03:14:33PM +0930, Alan Modra wrote:
> > On Fri, May 06, 2005 at 09:45:02PM -0600, The Doctor wrote:
> > > I got this to work in 2.15 no problem.  what changed?
> > 
> > -Werror
> >
> 
> Let me include this.
>  
> > -- 
> > Alan Modra
> > IBM OzLabs - Linux Technology Centre
> 
> -- 
> Member - Liberal International	
> This is doctor@nl2k.ab.ca	Ici doctor@nl2k.ab.ca
> God Queen and country! Beware Anti-Christ rising!
> BC, Vote Liberal!!

NOw I get:


Script started on Sat May  7 07:57:54 2005
doctor.nl2k.ab.ca//usr/source/binutils-2.16$ make
if [ x"" != x ]; then  /usr/bin/gcc -c -DHAVE_CONFIG_H -g -Werror -O9 -march=i686 -I. -I.././libiberty/../include  -W -Wall -Wtraditional -pedantic  .././libiberty/regex.c -o pic/./regex.o;  else true; fi
/usr/bin/gcc -c -DHAVE_CONFIG_H -g -Werror -O9 -march=i686 -I. -I.././libiberty/../include  -W -Wall -Wtraditional -pedantic .././libiberty/regex.c -o ./regex.o
cc1: warnings being treated as errors
In file included from ../include/xregex.h:26,
                 from ../libiberty/regex.c:199:
../include/xregex2.h:551: warning: ISO C89 does not support `static' or type qualifiers in parameter array declarators
In file included from ../libiberty/regex.c:653:
../libiberty/regex.c: In function `byte_compile_range':
../libiberty/regex.c:4552: warning: signed and unsigned type in conditional expression
../libiberty/regex.c:4562: warning: signed and unsigned type in conditional expression
../libiberty/regex.c:4562: warning: signed and unsigned type in conditional expression
*** Error code 1

Stop.
*** Error code 1

Stop.
doctor.nl2k.ab.ca//usr/source/binutils-2.16$ exit
exit

Script done on Sat May  7 07:58:00 2005
-- 
Member - Liberal International	
This is doctor@nl2k.ab.ca	Ici doctor@nl2k.ab.ca
God Queen and country! Beware Anti-Christ rising!
BC, Vote Liberal!!

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: bfd/elf.c chokes on BSD/OS 4.3.1 running gcc 3.2.3
  2005-05-07 14:53     ` The Doctor
@ 2005-05-07 16:24       ` Dave Korn
  2005-05-08  0:13         ` The Doctor
  0 siblings, 1 reply; 7+ messages in thread
From: Dave Korn @ 2005-05-07 16:24 UTC (permalink / raw)
  To: 'The Doctor', binutils

----Original Message----
>From: The Doctor
>Sent: 07 May 2005 14:59

> On Sat, May 07, 2005 at 07:45:52AM -0600, The Doctor wrote:
>> On Sat, May 07, 2005 at 03:14:33PM +0930, Alan Modra wrote:
>>> On Fri, May 06, 2005 at 09:45:02PM -0600, The Doctor wrote:
>>>> I got this to work in 2.15 no problem.  what changed?
>>> 
>>> -Werror
>>> 
>> 
>> Let me include this.
>> 

  That's not what he meant!  (As I see you've discovered!)  He meant that
binutils now uses -Werror, so any old warnings that it used to give on your
target will now be errors that break the build.

  However I think that's a red herring.  The warnings at the end of your
first post aren't what broke the build; those command lines don't have
-Werror on them.  The build failed because of the earlier failure of bfd to
build.

elf.c:8171: syntax error at end of input
elf.c:48: warning: `elfcore_read_notes' used but never defined

  I reckon your patch failed to apply cleanly to the newer version of elf.c
in binutils 2.16, and it's left it with some syntactically-invalid lines of
code, possily a missing brace or bracket somewhere, perhaps more serious.
You're going to have to look at the before and after and compare that to the
patch, see what went wrong.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: bfd/elf.c chokes on BSD/OS 4.3.1 running gcc 3.2.3
  2005-05-07 16:24       ` Dave Korn
@ 2005-05-08  0:13         ` The Doctor
  2005-05-09 15:16           ` The Doctor
  0 siblings, 1 reply; 7+ messages in thread
From: The Doctor @ 2005-05-08  0:13 UTC (permalink / raw)
  To: Dave Korn; +Cc: binutils

On Sat, May 07, 2005 at 04:35:33PM +0100, Dave Korn wrote:
> ----Original Message----
> >From: The Doctor
> >Sent: 07 May 2005 14:59
> 
> > On Sat, May 07, 2005 at 07:45:52AM -0600, The Doctor wrote:
> >> On Sat, May 07, 2005 at 03:14:33PM +0930, Alan Modra wrote:
> >>> On Fri, May 06, 2005 at 09:45:02PM -0600, The Doctor wrote:
> >>>> I got this to work in 2.15 no problem.  what changed?
> >>> 
> >>> -Werror
> >>> 
> >> 
> >> Let me include this.
> >> 
> 
>   That's not what he meant!  (As I see you've discovered!)  He meant that
> binutils now uses -Werror, so any old warnings that it used to give on your
> target will now be errors that break the build.
> 
>   However I think that's a red herring.  The warnings at the end of your
> first post aren't what broke the build; those command lines don't have
> -Werror on them.  The build failed because of the earlier failure of bfd to
> build.
> 
> elf.c:8171: syntax error at end of input
> elf.c:48: warning: `elfcore_read_notes' used but never defined
> 
>   I reckon your patch failed to apply cleanly to the newer version of elf.c
> in binutils 2.16, and it's left it with some syntactically-invalid lines of
> code, possily a missing brace or bracket somewhere, perhaps more serious.
> You're going to have to look at the before and after and compare that to the
> patch, see what went wrong.
>

I do I did not have this in 2.15, so off to work it is! 
> 
>     cheers,
>       DaveK
> -- 
> Can't think of a witty .sigline today....
> 

-- 
Member - Liberal International	
This is doctor@nl2k.ab.ca	Ici doctor@nl2k.ab.ca
God Queen and country! Beware Anti-Christ rising!
BC, Vote Liberal!!

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: bfd/elf.c chokes on BSD/OS 4.3.1 running gcc 3.2.3
  2005-05-08  0:13         ` The Doctor
@ 2005-05-09 15:16           ` The Doctor
  0 siblings, 0 replies; 7+ messages in thread
From: The Doctor @ 2005-05-09 15:16 UTC (permalink / raw)
  To: Dave Korn; +Cc: binutils

On Sat, May 07, 2005 at 03:06:40PM -0600, The Doctor wrote:
> On Sat, May 07, 2005 at 04:35:33PM +0100, Dave Korn wrote:
> > ----Original Message----
> > >From: The Doctor
> > >Sent: 07 May 2005 14:59
> > 
> > > On Sat, May 07, 2005 at 07:45:52AM -0600, The Doctor wrote:
> > >> On Sat, May 07, 2005 at 03:14:33PM +0930, Alan Modra wrote:
> > >>> On Fri, May 06, 2005 at 09:45:02PM -0600, The Doctor wrote:
> > >>>> I got this to work in 2.15 no problem.  what changed?
> > >>> 
> > >>> -Werror
> > >>> 
> > >> 
> > >> Let me include this.
> > >> 
> > 
> >   That's not what he meant!  (As I see you've discovered!)  He meant that
> > binutils now uses -Werror, so any old warnings that it used to give on your
> > target will now be errors that break the build.
> > 
> >   However I think that's a red herring.  The warnings at the end of your
> > first post aren't what broke the build; those command lines don't have
> > -Werror on them.  The build failed because of the earlier failure of bfd to
> > build.
> > 
> > elf.c:8171: syntax error at end of input
> > elf.c:48: warning: `elfcore_read_notes' used but never defined
> > 
> >   I reckon your patch failed to apply cleanly to the newer version of elf.c
> > in binutils 2.16, and it's left it with some syntactically-invalid lines of
> > code, possily a missing brace or bracket somewhere, perhaps more serious.
> > You're going to have to look at the before and after and compare that to the
> > patch, see what went wrong.
> >
> 
> I do I did not have this in 2.15, so off to work it is! 
> > 
> >     cheers,
> >       DaveK
> > -- 
> > Can't think of a witty .sigline today....
> > 
>

You are correct.  The patch to make BSDOS4+ with elf had to be applied manually.

However, a new problem occurs.  I got half way through the
compile and then gprof and ld choked.

I decided to revert to binutils 2.15 for BSDOS
and retry binutils 2.16 .

A bit more trouble crops up.

Attached are the binutils-2.16 and the latestest openssl SNAPSHOT:

 
Script started on Mon May  9 07:54:09 2005
doctor.nl2k.ab.ca//usr/source$ cd binutils*6
doctor.nl2k.ab.ca//usr/source/binutils-2.16$ configusr
loading cache ./config.cache
checking host system type... i386-unknown-bsdi4.3.1
checking target system type... i386-unknown-bsdi4.3.1
checking build system type... i386-unknown-bsdi4.3.1
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether ln works... (cached) yes
checking whether ln -s works... (cached) yes
checking for gcc... (cached) /usr/bin/gcc
checking whether the C compiler (/usr/bin/gcc  ) works... yes
checking whether the C compiler (/usr/bin/gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether /usr/bin/gcc accepts -g... (cached) no
checking for gnatbind... no
checking whether compiler driver understands Ada... (cached) no
checking how to compare bootstrapped objects... (cached) cmp $$f1 $$f2 16 16
checking for correct version of gmp.h... no
checking for bison... (cached) bison
checking for bison... (cached) bison -y
checking for gm4... (cached) gm4
checking for flex... (cached) flex
checking for flex... (cached) flex
checking for makeinfo... (cached) makeinfo
checking for i386-unknown-bsdi4.3.1-ar... no
checking for ar... (cached) ar
checking for i386-unknown-bsdi4.3.1-as... no
checking for as... (cached) as
checking for i386-unknown-bsdi4.3.1-dlltool... no
checking for dlltool... (cached) dlltool
checking for i386-unknown-bsdi4.3.1-ld... no
checking for ld... (cached) ld
checking for i386-unknown-bsdi4.3.1-nm... no
checking for nm... (cached) nm
checking for i386-unknown-bsdi4.3.1-ranlib... no
checking for ranlib... (cached) ranlib
checking for i386-unknown-bsdi4.3.1-windres... no
checking for windres... (cached) windres
checking for i386-unknown-bsdi4.3.1-objcopy... no
checking for objcopy... (cached) objcopy
checking for i386-unknown-bsdi4.3.1-objdump... no
checking for objdump... (cached) objdump
checking for i386-unknown-bsdi4.3.1-ar... no
checking for ar... (cached) ar
checking for i386-unknown-bsdi4.3.1-as... no
checking for as... (cached) as
checking for i386-unknown-bsdi4.3.1-dlltool... no
checking for dlltool... (cached) dlltool
checking for i386-unknown-bsdi4.3.1-ld... no
checking for ld... (cached) ld
checking for i386-unknown-bsdi4.3.1-nm... no
checking for nm... (cached) nm
checking for i386-unknown-bsdi4.3.1-ranlib... no
checking for ranlib... (cached) ranlib
checking for i386-unknown-bsdi4.3.1-windres... no
checking for windres... (cached) windres
checking whether to enable maintainer-specific portions of Makefiles... no
checking if symbolic links between directories work... (cached) yes
updating cache ./config.cache
creating ./config.status
creating Makefile
doctor.nl2k.ab.ca//usr/source/binutils-2.16$ make -k \b \b\b \b\b \b\b \b\b \b\b \b\b \b\b \b\a\a\a\a\a
doctor.nl2k.ab.ca//usr/source/binutils-2.16$ make -f Makefile
Configuring in libiberty
configure: loading cache ./config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for makeinfo... /usr/source/binutils-2.16/missing makeinfo
configure: WARNING:
*** Makeinfo is missing. Info documentation will not be built.
checking for perl... perl
checking build system type... i386-unknown-bsdi4.3.1
checking host system type... i386-unknown-bsdi4.3.1
checking for i386-unknown-bsdi4.3.1-ar... ar
checking for i386-unknown-bsdi4.3.1-ranlib... ranlib
checking for i386-unknown-bsdi4.3.1-gcc... /usr/bin/gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/gcc accepts -g... no
checking for /usr/bin/gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... /usr/bin/gcc -E
checking whether /usr/bin/gcc and cc understand -c and -o together... yes
checking for an ANSI C-conforming const... no
checking for inline... inline
checking whether byte ordering is bigendian... no
checking for a BSD-compatible install... /usr/bin/install -c
xhost-mkfrag is unchanged
checking for sys/file.h... yes
checking for sys/param.h... yes
checking for limits.h... yes
checking for stdlib.h... yes
checking for malloc.h... yes
checking for string.h... yes
checking for unistd.h... yes
checking for strings.h... yes
checking for sys/time.h... yes
checking for time.h... yes
checking for sys/resource.h... yes
checking for sys/stat.h... yes
checking for sys/mman.h... yes
checking for fcntl.h... yes
checking for alloca.h... no
checking for sys/pstat.h... no
checking for sys/sysmp.h... no
checking for sys/sysinfo.h... yes
checking for machine/hal_sysinfo.h... no
checking for sys/table.h... no
checking for sys/sysctl.h... yes
checking for sys/systemcfg.h... no
checking for stdint.h... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether errno must be declared... no
checking for egrep... grep -E
checking for ANSI C header files... no
checking for sys/types.h... yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... yes
checking for strings.h... (cached) yes
checking for inttypes.h... no
checking for stdint.h... (cached) no
checking for unistd.h... (cached) yes
checking for int... yes
checking size of int... configure: error: cannot compute sizeof (int), 77
See `config.log' for more details.
*** Error code 1

Stop.
doctor.nl2k.ab.ca//usr/source/binutils-2.16$ cd ../openssl*0509
doctor.nl2k.ab.ca//usr/source/openssl-0.9.7-stable-SNAP-20050509$ make
making all in crypto...
gcc -I. -I.. -I../include -fPIC -DZLIB_SHARED -DZLIB -DOPENSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -g -O9 -Wall -march=i686 -g -DPERL5 -DL_ENDIAN  -O9 -march=i686 -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -g -c cryptlib.c
/var/tmp//ccaQ0aDi.s: Assembler messages:
/var/tmp//ccaQ0aDi.s:3: Error: unknown pseudo-op: `.section'
/var/tmp//ccaQ0aDi.s:5: Error: unknown pseudo-op: `.section'
/var/tmp//ccaQ0aDi.s:7: Error: unknown pseudo-op: `.section'
/var/tmp//ccaQ0aDi.s:22: Error: unknown pseudo-op: `.section'
/var/tmp//ccaQ0aDi.s:93: Error: unknown pseudo-op: `.section'
/var/tmp//ccaQ0aDi.s:174: Error: unknown pseudo-op: `.section'
/var/tmp//ccaQ0aDi.s:1019: Error: unknown pseudo-op: `.section'
/var/tmp//ccaQ0aDi.s:1197: Error: unknown pseudo-op: `.section'
/var/tmp//ccaQ0aDi.s:1303: Error: unknown pseudo-op: `.section'
/var/tmp//ccaQ0aDi.s:1362: Error: unknown pseudo-op: `.section'
/var/tmp//ccaQ0aDi.s:1931: Error: unknown pseudo-op: `.section'
/var/tmp//ccaQ0aDi.s:4892: Error: unknown pseudo-op: `.section'
/var/tmp//ccaQ0aDi.s:5550: Error: unknown pseudo-op: `.section'
/var/tmp//ccaQ0aDi.s:5606: Error: unknown pseudo-op: `.section'
/var/tmp//ccaQ0aDi.s:5618: Error: unknown pseudo-op: `.section'
/var/tmp//ccaQ0aDi.s:5626: Error: unknown pseudo-op: `.section'
*** Error code 1

Stop.
*** Error code 1

Stop.
doctor.nl2k.ab.ca//usr/source/openssl-0.9.7-stable-SNAP-20050509$ exit
exit

Script done on Mon May  9 07:55:11 2005

How do I fix this?

> -- 
> Member - Liberal International	
> This is doctor@nl2k.ab.ca	Ici doctor@nl2k.ab.ca
> God Queen and country! Beware Anti-Christ rising!
> BC, Vote Liberal!!

-- 
Member - Liberal International	
This is doctor@nl2k.ab.ca	Ici doctor@nl2k.ab.ca
God Queen and country! Beware Anti-Christ rising!
BC, Vote Liberal!!

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-05-09 14:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-07  5:44 bfd/elf.c chokes on BSD/OS 4.3.1 running gcc 3.2.3 The Doctor
2005-05-07  7:33 ` Alan Modra
2005-05-07 13:59   ` The Doctor
2005-05-07 14:53     ` The Doctor
2005-05-07 16:24       ` Dave Korn
2005-05-08  0:13         ` The Doctor
2005-05-09 15:16           ` The Doctor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).