NetBSD-Bugs archive

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

toolchain/50767: Build failure of pkgsrc/www/firefox with binutils 2.26 from NetBSD/amd64 current



>Number:         50767
>Category:       toolchain
>Synopsis:       Build failure of pkgsrc/www/firefox with binutils 2.26 from NetBSD/amd64 current
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 04 05:25:00 +0000 2016
>Originator:     Ryo ONODERA
>Release:        NetBSD 7.99.26
>Organization:
	
>Environment:
	
	
System: NetBSD brownie 7.99.26 NetBSD 7.99.26 (DTRACE7) #0: Wed Feb 3 05:53:03 JST 2016 ryo_on@brownie:/usr/world/7.99/amd64/obj/sys/arch/amd64/compile/DTRACE7 amd64
Architecture: x86_64
Machine: amd64
>Description:
www/firefox build fails as follows:

    INPUT("../../gfx/skia/Unified_cpp_gfx_skia7.o")
    INPUT("../../gfx/skia/Unified_cpp_gfx_skia8.o")
    INPUT("../../gfx/skia/Unified_cpp_gfx_skia9.o")
    INPUT("StaticXULComponentsEnd/StaticXULComponentsEnd.o")

ld: ../../xpcom/components/nsComponentManager.o: relocation R_X86_64_PC32 against protected symbol `end_kPStaticModules_NSModule' can not be used when making a shared object
ld: final link failed: Bad value
/usr/tmp/pkgsrc/www/firefox/work/firefox-44.0/config/rules.mk:827: recipe for target 'libxul.so' failed
gmake[3]: *** [libxul.so] Error 1

$ ld -v
GNU ld (NetBSD Binutils nb1) 2.26.20160125

With older ld from NetBSD base, it builds successfully.

>How-To-Repeat:
On NetBSD/amd64 current of yesterday:
$ cd /usr/pkgsrc/www/firefox
$ make

>Fix:
	
I have no idea.

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index