tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: m68k build problem



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



.mrg.


Home | Main Index | Thread Index | Old Index