NetBSD-Bugs archive

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

toolchain/54259: dns-sd with MKPIC=no fails to link

>Number:         54259
>Category:       toolchain
>Synopsis:       dns-sd with MKPIC=no fails to link
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 01 09:30:00 +0000 2019
>Originator:     Robert Elz
>Release:        NetBSD 8.99.42
System: NetBSD 8.99.30 NetBSD 8.99.30 (1.1-20190114) #9: Mon Jan 14 13:29:08 ICT 2019 amd64
	(which describes the system on which I used send-pr and nothing at
	all related to the build or target environments, and so is a waste
	of space)
Architecture: x86_64
Machine: amd64
	I am trying to do a fully static build to test whether there need
	to be mode adjustments to -lrumpxxx in various places to allow for
	-lrump now needing -lrumpvfs (where those libraries are handed to
	cc/ld as "-lrumpvfs -lrump" sometimes now - which works for .so
	libraries, but might not when using .a libraries.

	While doing such a build, I encountered...

#      link  dns-sd/dns-sd
/usr/obj/testing/tools/bin/x86_64--netbsd-gcc    --sysroot=/release/testing/amd64   -pie  -shared-libgcc  -Wl,-z,relro     -o dns-sd  dns-sd.o ClientCommon.o  -Wl,-rpath-link,/release/testing/amd64/lib  -L=/lib -ldns_sd    
/usr/obj/testing/tools/lib/gcc/x86_64--netbsd/7.4.0/../../../../x86_64--netbsd/bin/ld: cannot find crtbeginS.o: No such file or directory
/usr/obj/testing/tools/lib/gcc/x86_64--netbsd/7.4.0/../../../../x86_64--netbsd/bin/ld: cannot find -lgcc_s
/usr/obj/testing/tools/lib/gcc/x86_64--netbsd/7.4.0/../../../../x86_64--netbsd/bin/ld: cannot find -lgcc_s
/usr/obj/testing/tools/lib/gcc/x86_64--netbsd/7.4.0/../../../../x86_64--netbsd/bin/ld: cannot find crtendS.o: No such file or directory
collect2: error: ld returned 1 exit status

*** Failed target:  dns-sd

	Dealing with gcc internal libraries, and crt*.o files is
	beyond my current knowledge, so I am hoping that someone
	else can look into that one.

	I have preseumed this to be a toolchain related issue, but
	feel free to reassign if appropriate.

>How-To-Repeat: -V MKPIC=no

Home | Main Index | Thread Index | Old Index