Bug 231049 - math/tetgen: Resolving problems when quoting from other libraries
Summary: math/tetgen: Resolving problems when quoting from other libraries
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-31 06:17 UTC by takefu
Modified: 2019-08-28 08:54 UTC (History)
2 users (show)

See Also:


Attachments
tetgen-1.5.0.20131104_1.patch (2.35 KB, patch)
2018-08-31 06:17 UTC, takefu
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description takefu 2018-08-31 06:17:04 UTC
Created attachment 196737 [details]
tetgen-1.5.0.20131104_1.patch
Comment 1 Yuri Victorovich freebsd_committer 2018-08-31 17:09:21 UTC
Hi Sasha,

You've added -fPIC and patched format. But the port builds fine as of now.
Why did you submit this patch?
Also the subject seems wrong.

Yuri
Comment 2 takefu 2018-10-03 07:30:21 UTC
(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....
Comment 3 Walter Schwarzenfeld freebsd_triage 2019-08-28 08:54:30 UTC
Any news here?