NetBSD-Bugs archive

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

port-mac68k/59393: mac68k build with MKSOFTFLOAT=yes breaks during build



>Number:         59393
>Category:       port-mac68k
>Synopsis:       mac68k build with MKSOFTFLOAT=yes breaks during build
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    port-mac68k-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 04 11:55:00 +0000 2025
>Originator:     Nat Sloss
>Release:        NetBSD 10.99.14
>Organization:
>Environment:
NetBSD animal 10.99.14 NetBSD 10.99.14 (GENERIC) #0: Mon Apr 21 23:29:34 AEST 2025  build@microrusty:/home/build/nbsd999-x86_64/sys/arch/amd64/compile/GENERIC amd64
>Description:
Try to build a soft-float release for mac68k and it fails...

#      link  getcwd/getcwd
/home/build/mac68k-sf/tooldir.NetBSD-9.4-amd64/bin/m68k--netbsdelf-gcc    --sysroot=/home/build/mac68k-sf/destdir.mac68k    -Wl,--warn-shared-textrel   -static 
 -o getcwd  getcwd.o old_getcwd.o  -Wl,-rpath-link,/home/build/mac68k-sf/destdir.mac68k/lib  -L=/lib     
/home/build/mac68k-sf/tooldir.NetBSD-9.4-amd64/lib/gcc/m68k--netbsdelf/12.4.0/..
/../../../m68k--netbsdelf/bin/ld: /home/build/mac68k-sf/destdir.mac68k/usr/lib/libc.a(softfloat.o): in function `__floatsisf':
softfloat.c:(.text+0x2ac0): multiple definition of `__floatsisf'; /home/build/ma
c68k-sf/destdir.mac68k/usr/lib/libgcc.a(fpgnulib.o):(.text+0x17c): first defined
 here
/home/build/mac68k-sf/tooldir.NetBSD-9.4-amd64/lib/gcc/m68k--netbsdelf/12.4.0/../../../../m68k--netbsdelf/bin/ld: /home/build/mac68k-sf/destdir.mac68k/usr/lib/

and the list of multipe definitions of math function references goes on and the build stops.
>How-To-Repeat:
The command I used was
./build.sh -U -m mac68k -X ../xsrc -x -O ~/mac68k-sf -V MKSOFTFLOAT=yes -V USE_SSP=no tools release
>Fix:
Yes Please!



Home | Main Index | Thread Index | Old Index