Date: Sat, 17 Dec 2016 21:50:49 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 215362] devel/powerpc64-gcc: -r428604: call to `std::__1::ios_base::Init::Init()' lacks nop, can't restore toc; recompile with -fPIC Message-ID: <bug-215362-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215362 Bug ID: 215362 Summary: devel/powerpc64-gcc: -r428604: call to `std::__1::ios_base::Init::Init()' lacks nop, can't restore toc; recompile with -fPIC Product: Ports & Packages Version: Latest Hardware: powerpc OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: bapt@FreeBSD.org Reporter: markmi@dsl-only.net Assignee: bapt@FreeBSD.org Flags: maintainer-feedback?(bapt@FreeBSD.org) [I reported the same sort of thing for powerpc64 to the lists back in 2016-= Sept when devel/powerpc64-gcc was switched over to libc++: -r422765 of /usr/ports/ . = This issue is not unique to 6.2.0 based devel/powerpc64-gcc, nor to 2.25 vs. 2.27 based binutils. See https://lists.freebsd.org/pipermail/freebsd-toolchain/2016-September/002357= .html for what I reported back in 2016-Sept (a cross build example). ] buildworld targeting powerpc64 aborts reporting: call to `std::__1::ios_base::Init::Init()' lacks nop, can't restore toc; recompile with -fPIC This is true for cross builds and for on powerpc64 and has been true for so= me time. This example is from on powerpc64. # Meta data file /usr/obj/powerpc64vtsc_xtoolchain/powerpc.powerpc64/usr/src/lib/libdevdctl/= libprivatedevdctl.so.0.full.meta CMD @echo building shared library libprivatedevdctl.so.0 CMD @rm -f libprivatedevdctl.so.0 libprivatedevdctl.so CMD /usr/local/bin/powerpc64-unknown-freebsd12.0-g++ -isystem /usr/obj/powerpc64vtsc_xtoolchain/powerpc.powerpc64/usr/src/tmp/usr/include= /c++/v1 -std=3Dc++11 -nostdinc++ -L/usr/obj/powerpc64vtsc_xtoolchain/powerpc.powerpc64/usr/src/tmp/../lib/li= bc++ -isystem /usr/obj/powerpc64vtsc_xtoolchain/powerpc.powerpc64/usr/src/tmp/usr/include -L/usr/obj/powerpc64vtsc_xtoolchain/powerpc.powerpc64/usr/src/tmp/usr/lib -B/usr/obj/powerpc64vtsc_xtoolchain/powerpc.powerpc64/usr/src/tmp/usr/lib --sysroot=3D/usr/obj/powerpc64vtsc_xtoolchain/powerpc.powerpc64/usr/src/tmp -B/usr/local/powerpc64-freebsd/bin/ -fstack-protector-strong -shared -Wl,-x -Wl,--fatal-warnings -Wl,--warn-shared-textrel -o libprivatedevdctl.so.0.f= ull -Wl,-soname,libprivatedevdctl.so.0 `NM=3D'/usr/local/powerpc64-freebsd/bin= /nm' NMFLAGS=3D'' lorder consumer.pico event.pico event_factory.pico exception.p= ico guid.pico | tsort -q`=20 CWD /usr/obj/powerpc64vtsc_xtoolchain/powerpc.powerpc64/usr/src/lib/libdevd= ctl TARGET libprivatedevdctl.so.0.full -- command output -- building shared library libprivatedevdctl.so.0 /usr/local/bin/powerpc64-freebsd-ld: /usr/obj/powerpc64vtsc_xtoolchain/powerpc.powerpc64/usr/src/tmp/../lib/libc= ++/libc++.a(iostream.o): In function `_GLOBAL__sub_I__ZNSt3__13cinE': iostream.cpp:(.text.startup+0x1c): call to `std::__1::ios_base::Init::Init(= )' lacks nop, can't restore toc; recompile with -fPIC /usr/local/bin/powerpc64-freebsd-ld: final link failed: Bad value collect2: error: ld returned 1 exit status *** Error code 1 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-215362-13>