NetBSD-Bugs archive

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

toolchain/54509: clang build fails for aarch64

>Number:         54509
>Category:       toolchain
>Synopsis:       clang build of NetBSD for aarch64 fails
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 29 22:10:00 +0000 2019
>Originator:     Robert Swindells
>Release:        NetBSD 9.99.10
System: NetBSD 9.99.4 NetBSD 9.99.4 (REN) #16: Wed Aug 7 22:21:07 BST 2019 amd64
Architecture: x86_64
Machine: amd64
Build for aarch64 using clang fails with this error:

#     build  libc/
rm -f
/u8/build/aarch64l-tools/bin/aarch64--netbsd-clang -nodefaultlibs -shared -Wl,-s
oname,  -Wl,--warn-shared-textrel -Wl, -Wl,-z,initf
irst -Wl,-z,defs   --sysroot=/var/obj/aarch64l -Wl,--fatal-warnings -Wl,--warn-s
hared-textrel  -o  -Wl,-rpath,/lib  -L=/lib -Wl,-x  -Wl,--who
le-archive libc_pic.a  -Wl,--no-whole-archive
/u8/build/aarch64l-tools/bin/aarch64--netbsd-ld: libc_pic.a(fixxfdi.pico): in
function `__fixxfdi':
fixxfdi.c:(.text+0x40): undefined reference to `__gttf2'
aarch64--netbsd-clang: error: linker command failed with exit code 1 (use -v to
see invocation)

With these variables set:


# ./ -m evbarm64-el distribution



Home | Main Index | Thread Index | Old Index