Summary: | sci-astronomy/wcslib-7.4 fails to compile: checking for dummy main to link with Fortran 77 libraries.. unknown | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Gentoo Astronomy project <sci-astronomy> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | davidroman96, toralf |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
1-config.log |
Description
Agostino Sarubbo
![]() Created attachment 762536 [details]
build.log
build log and emerge --info
Created attachment 762537 [details]
1-config.log
1-config.log
Seems that the problem comes from the order of the library paths. The order is the next: -L/lib64 -L/usr/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1 -L/usr/lib64 -L/usr/x86_64-pc-linux-gnu/lib bfd it finds the 32 bit version of the libraries and prints a warning (eg: "skipping incompatible /usr/lib/libm.a when searching for -lm"), but lld directly prints an error. Moving /usr/lib64 before /usr/lib solves this issue, although I don't know how to accomplish that with econf. *** Bug 874735 has been marked as a duplicate of this bug. *** |