Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 747598 - dev-lisp/gcl-2.6.12 fails to compile: checking for isfinite.. checking for finite().. configure: error: no
Summary: dev-lisp/gcl-2.6.12 fails to compile: checking for isfinite.. checking for fi...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Common Lisp Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: missing-depend
  Show dependency tree
 
Reported: 2020-10-10 13:39 UTC by Agostino Sarubbo
Modified: 2023-02-06 13:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,13.45 KB, text/plain)
2020-10-10 13:39 UTC, Agostino Sarubbo
Details
1-config.log (1-config.log,97.97 KB, text/plain)
2020-10-10 13:39 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-10-10 13:39:46 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-lisp/gcl-2.6.12 fails to compile.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This machine uses a gold linker (ld.gold).
If you think that this issue is strictly related to ld.gold please block bug 269315.
Comment 1 Agostino Sarubbo gentoo-dev 2020-10-10 13:39:48 UTC
Created attachment 664540 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-10-10 13:39:50 UTC
Created attachment 664543 [details]
1-config.log

1-config.log
Comment 3 Agostino Sarubbo gentoo-dev 2020-10-10 13:39:51 UTC
Possible context of error(s):

checking for buggy maximum sscanf length... cat: conftest1: No such file or directory
checking for isfinite... checking for finite()... configure: error: no
Comment 4 Andrey Grozin gentoo-dev 2023-02-06 13:05:34 UTC
It seems the real error is earlier:

configure:8513: x86_64-pc-linux-gnu-gcc -o conftest -pipe -march=native -frecord-gcc-switches -fgnu89-inline   -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=gold -Wl,-T gcl.script  conftest.c  >&5
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: gcl.script:49:22: syntax error, unexpected '('
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: fatal error: unable to parse script file gcl.script
collect2: error: ld returned 1 exit status
configure:8513: $? = 1
configure: program exited with status 1

And it seems that it's indeed some incompatibility of gold with the normal ld.