This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PATCH: Fix bfd.c (Re: Tracking down a build breakage)


On 11 Aug 2001, Nick Clifton wrote:
> > But my bfd_sprintf_vma/bfd_fprintf_vma change does break any BFD
> > which doesn't include elf.lo. It seems to me that we should only
> > check bfd_target_elf_flavour when elf is configured in BFD. Here
> > is a patch. Any comments?
>
> Ooops - I discovered this and checked in a different patch to fix
> this, without actually checking the mailing lists first.  Sorry!

I don't think this is fully fixed.  Please consider building
h8300-hms and i960-coff. They don't built at the moment
complaining that (mind the wrapped lines):

gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -o
size size.o bucomm.o version.o filemode.o  ../bfd/.libs/libbfd.a
\
../libiberty/libiberty.a
../bfd/.libs/libbfd.a(bfd.o): In function `bfd_sprintf_vma':
/home/hp/cvs_areas/combined/cvs_write/bfd/bfd.c:1273: undefined
reference to `bfd_elf_sprintf_vma'
../bfd/.libs/libbfd.a(bfd.o): In function `bfd_fprintf_vma':
/home/hp/cvs_areas/combined/cvs_write/bfd/bfd.c:1285: undefined
reference to `bfd_elf_fprintf_vma'
collect2: ld returned 1 exit status
make[3]: *** [size] Error 1

I haven't looked into it further than this.

brgds, H-P


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]