[Bug 231049] math/tetgen: Change C++ switch during build

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Oct 3 07:30:23 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231049

--- Comment #2 from takefu at airport.fm ---
(In reply to Yuri Victorovich from comment #1)

math/freefem++ failed at build Time.
Below that log.

> g++7 -shared -fPIC -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc7 -Wl,-rpath=/usr/local/lib/gcc7 -isystem /usr/local/include -DNDEBUG -O3 -DBAMG_LONG_LONG -DNCHECKPTR -fPIC -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc7 -Wl,-rpath=/usr/local/lib/gcc7 -isystem /usr/local/include -DNDEBUG -O3 -DBAMG_LONG_LONG -DNCHECKPTR -fPIC -isystem /usr/local/include 'tetgen.o' -o tetgen.so '-ltet'
> /usr/local/bin/ld: /usr/local/lib/libtet.a(tetgen.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
> /usr/local/bin/ld: /usr/local/lib/libtet.a(predicates.o): relocation R_X86_64_32S against `.rodata.cst16' can not be used when making a shared object; recompile with -fPIC
> /usr/local/bin/ld: final link failed: Nonrepresentable section on output
> collect2: error: ld returned 1 exit status
> gmake[4]: *** [Makefile:1994: tetgen.so] Error 1
> gmake[4]: *** Waiting for unfinished jobs....

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list