Summary: | benchmarks/hpl /lib/libgcc_s.so.1: version GCC_4.6.0 required by /usr/local/lib/gcc49/libgfortran.so.3 not found | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Otacílio de Araújo Ramos Neto <otacilio.neto> | ||||
Component: | Individual Port(s) | Assignee: | Oliver Lehmann <oliver> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | emaste, gerald, jbeich | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(oliver) |
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220313 | ||||||
Attachments: |
|
Description
Otacílio de Araújo Ramos Neto
2017-03-01 18:55:34 UTC
This is a long-standing problem that clang-compiled code using exceptions isn't compatible with gcc fortran. Unfortunately rtld reports an error when the needed verdef entry does not exist, and exits. It does not report the actual symbols that are missing: For reference I found the following missing symbols from GCC_4.6.0 (from gcc5-provided libgfortran.so.3), which have a compiler-rt implementation: __addtf3@@GCC_4.6.0 __divtf3@@GCC_4.6.0 __floatditf@@GCC_4.6.0 __floatsitf@@GCC_4.6.0 __floatunditf@@GCC_4.6.0 __multf3@@GCC_4.6.0 __subtf3@@GCC_4.6.0 and the following that do not have a compiler-rt implementation: __eqtf2@@GCC_4.6.0 __getf2@@GCC_4.6.0 __gttf2@@GCC_4.6.0 __letf2@@GCC_4.6.0 __lttf2@@GCC_4.6.0 __netf2@@GCC_4.6.0 Once flang matures and supports i386, bug#220313 will solve this problem. Created attachment 202107 [details]
v0
Looks like the port doesn't respect LDFLAGS which carry -Wl,-rpath. Can you try the attached patch?
LINKFLAGS added, updated to 2.3 - works for me -------------------------------------------------------------------------------- ||Ax-b||_oo/(eps*(||A||_oo*||x||_oo+||b||_oo)*N)= 2.29176713e-02 ...... PASSED ================================================================================ Finished 864 tests with the following results: 864 tests completed and passed residual checks, 0 tests completed and failed residual checks, 0 tests skipped because of illegal input values. -------------------------------------------------------------------------------- End of Tests. ================================================================================ |