tech-toolchain archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: m68k build problem
matthew green <mrg%eterna.com.au@localhost> wrote:
>Robert Swindells writes:
>>
>> I'm trying to build NetBSD/mac68k optimized for 68040 and get this error:
>>
>> /u8/build/mac68k-tools/bin/m68k--netbsdelf-gcc -m68040 --sysroot=/var/obj/mac
>> 68k -Wl,--warn-shared-textrel -o audiocfg audiodev.o drvctl.o dtmf.o main.o
>> -Wl,-rpath-link,/var/obj/mac68k/lib -L=/lib -lprop -lm
>> /var/obj/mac68k/lib/libm.so: undefined reference to `__fixxfsi'
>> collect2: error: ld returned 1 exit status
>>
>> It looks as if xfgnulib.o in obj/external/gpl3/gcc.old/lib/libgcc/libgcc
>> hasn't been built with EXTFLOAT defined.
>>
>> The build of xfgnulib.pico in
>> obj/external/gpl3/gcc.old/lib/libgcc/libgcc_s looks correct.
>>
>> I can't see anything that is different between gcc.old and gcc but this
>> did work a couple of months ago.
>
>hmm, for my amiga build i only see this symbol in libgcc_s, but not
>libgcc. sounds like a bug.. why isn't libgcc also building the
>xfgnulib.c link with the right options? that should be set properly
>in the higher level Makefile.inc:
>
>lib/libgcc/Makefile.inc:CPPFLAGS.xfgnulib.c+= -DEXTFLOAT=1
I had kept a full log of the build.
It looks as if libgcc/xfgnulib.pico is built twice, the first time by
the default rule, the second by the explicit ".c.o" one in
src/external/gpl3/gcc.old/lib/libgcc/libgcc/Makefile which doesn't pass
in CPPFLAGS.
I was using -j 8 to build this if it makes any difference.
Home |
Main Index |
Thread Index |
Old Index