Date: Fri, 11 Jan 2019 13:58:21 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 234857] cad/qcad: fails to build on i386 with lld as system linker Message-ID: <bug-234857-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234857 Bug ID: 234857 Summary: cad/qcad: fails to build on i386 with lld as system linker Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: mr@FreeBSD.org Reporter: emaste@freebsd.org Blocks: 214864 Flags: maintainer-feedback?(mr@FreeBSD.org) Assignee: mr@FreeBSD.org http://package18.nyi.freebsd.org/build.html?mastername=3Dheadi386PR214864-d= efault&build=3D2019-01-05_21h00m02s http://package18.nyi.freebsd.org/data/headi386PR214864-default/2019-01-05_2= 1h00m02s/logs/errors/qcad-3.21.3.11.log ld: error: relocation R_386_PC32 cannot be used against symbol ON_GetPointListBoundingBox(int, int, int, int, double const*, ON_BoundingBo= x&, int, ON_Xform const*); recompile with -fPIC >>> defined in /usr/local/lib/libopenNURBS.a(opennurbs_bounding_box.o) >>> referenced by opennurbs_bezier.cpp:30 >>> opennurbs_bezier.o:(ON_BezierCurve::GetTightBoundingBox(O= N_BoundingBox&, int, ON_Xform const*) const) in archive /usr/local/lib/libo= penNURBS.a ld: error: relocation R_386_PC32 cannot be used against symbol ON_4dPointArray::ON_4dPointArray(); recompile with -fPIC >>> defined in /usr/local/lib/libopenNURBS.a(opennurbs_array.o) >>> referenced by opennurbs_bezier.cpp:44 >>> opennurbs_bezier.o:(ON_PolynomialCurve::ON_PolynomialCurv= e()) in archive /usr/local/lib/libopenNURBS.a ld: error: relocation R_386_PC32 cannot be used against symbol ON_Interval::ON_Interval(double, double); recompile with -fPIC >>> defined in /usr/local/lib/libopenNURBS.a(opennurbs_point.o) >>> referenced by opennurbs_bezier.cpp:45 >>> opennurbs_bezier.o:(ON_PolynomialCurve::ON_PolynomialCurv= e()) in archive /usr/local/lib/libopenNURBS.a ... It may be as simple as adding LDFLAGS_i386=3D-Wl,-z,notext to the port's Ma= kefile or adding -fPIC to CFLAGS for the associated objects. (I haven't yet been a= ble to build it locally to try.) Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214864 [Bug 214864] [exp-run] test build with lld as /usr/bin/ld --=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-234857-7788>