pkgsrc-Bugs archive

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

pkg/56609: cross/aarch64-none-elf-gcc build fails



>Number:         56609
>Category:       pkg
>Synopsis:       cross/aarch64-none-elf-gcc build fails
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 07 18:15:01 +0000 2022
>Originator:     Michael van Elst
>Release:        NetBSD 9.2_STABLE
>Organization:
	
>Environment:
	
	
System: NetBSD victory.netbsd.org 9.2_STABLE NetBSD 9.2_STABLE (GENERIC64) #15: Thu Aug 12 11:23:15 CEST 2021 mlelstv@gossam:/home/netbsd9/obj.evbarm64-el/home/netbsd9/src/sys/arch/evbarm/compile/GENERIC64 evbarm
Architecture: aarch64
Machine: evbarm
>Description:
Building cross/aarch64-none-elf-gcc fails with:

ld: /usr/lib/libstdc++.a(vterminate.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `__sF' which may bind externally can not be used when making a shared object; recompile with -fPIC
ld: /usr/lib/libstdc++.a(vterminate.o)(.text+0x50): unresolvable R_AARCH64_ADR_PREL_PG_HI21 relocation against symbol `__sF'
ld: final link failed: bad value
ld: /usr/lib/libstdc++.a(vterminate.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `__sF' which may bind externally can not be used when making a shared object; recompile with -fPIC
ld: /usr/lib/libstdc++.a(vterminate.o)(.text+0x50): unresolvable R_AARCH64_ADR_PREL_PG_HI21 relocation against symbol `__sF'
ld: final link failed: bad value

As a consequence, you cannot build u-boot packages under aarch64.

Complete log:

http://victory.netbsd.org/pkgsrc/packages/reports/2021Q4/evbarm64-9.0/20220105.0655/cross-arm-none-eabi-gcc-8.3.0nb4/build.log

>How-To-Repeat:
Try to build u-boot packages from pkgsrc-2021Q4.

>Fix:

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index