Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 640322 - dev-lisp/gcl-2.6.10 - main.c: In function 'main': main.c:451:32: error: storage size of 'estack' isn't known
Summary: dev-lisp/gcl-2.6.10 - main.c: In function 'main': main.c:451:32: error: stora...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 1 vote (vote)
Assignee: Common Lisp Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 612382
  Show dependency tree
 
Reported: 2017-12-08 19:34 UTC by Vincent-Xavier JUMEL
Modified: 2019-09-14 13:16 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,41.62 KB, text/plain)
2017-12-08 19:35 UTC, Vincent-Xavier JUMEL
Details
build.log (build.log,87.65 KB, text/plain)
2017-12-08 19:44 UTC, Vincent-Xavier JUMEL
Details
build.log.gz (build.log.gz,95.79 KB, application/gzip)
2017-12-08 19:45 UTC, Vincent-Xavier JUMEL
Details
emerge --info (emerge.info,22.21 KB, text/plain)
2017-12-08 19:45 UTC, Vincent-Xavier JUMEL
Details
emerge-info.txt (emerge-info.txt,16.98 KB, text/plain)
2018-04-15 08:18 UTC, Toralf Förster
Details
dev-lisp:gcl-2.6.10:20180414-225321.log (dev-lisp:gcl-2.6.10:20180414-225321.log,38.17 KB, text/plain)
2018-04-15 08:19 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,353.08 KB, text/plain)
2018-04-15 08:19 UTC, Toralf Förster
Details
environment (environment,92.73 KB, text/plain)
2018-04-15 08:19 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,16.11 KB, application/x-bzip)
2018-04-15 08:19 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,10.80 KB, application/x-bzip)
2018-04-15 08:19 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,28.10 KB, application/x-bzip)
2018-04-15 08:19 UTC, Toralf Förster
Details
Change struct sigaltstack to stack_t in main.c (gcl-2.6.10-sigaltstack.patch,427 bytes, patch)
2019-09-14 12:56 UTC, Cyprien Nicolas (fulax)
Details | Diff
gcl-2.6.10 ebuild update (gcl-2.6.10.ebuild.diff,778 bytes, patch)
2019-09-14 12:58 UTC, Cyprien Nicolas (fulax)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent-Xavier JUMEL 2017-12-08 19:34:32 UTC
All in tree version of gcl fails with gcc-7.2.0 and profile 17.0
Comment 1 Vincent-Xavier JUMEL 2017-12-08 19:35:02 UTC
Created attachment 508974 [details]
build.log
Comment 2 Vincent-Xavier JUMEL 2017-12-08 19:44:50 UTC
Created attachment 508976 [details]
build.log
Comment 3 Vincent-Xavier JUMEL 2017-12-08 19:45:23 UTC
Created attachment 508978 [details]
build.log.gz
Comment 4 Vincent-Xavier JUMEL 2017-12-08 19:45:40 UTC
Created attachment 508980 [details]
emerge --info
Comment 5 Toralf Förster gentoo-dev 2018-04-15 08:18:56 UTC
appeared recently at the tinderbox image 17.0-desktop-gnome_libressl_20180405-174043
Comment 6 Toralf Förster gentoo-dev 2018-04-15 08:18:59 UTC
Created attachment 527420 [details]
emerge-info.txt
Comment 7 Toralf Förster gentoo-dev 2018-04-15 08:19:03 UTC
Created attachment 527422 [details]
dev-lisp:gcl-2.6.10:20180414-225321.log
Comment 8 Toralf Förster gentoo-dev 2018-04-15 08:19:07 UTC
Created attachment 527424 [details]
emerge-history.txt
Comment 9 Toralf Förster gentoo-dev 2018-04-15 08:19:10 UTC
Created attachment 527426 [details]
environment
Comment 10 Toralf Förster gentoo-dev 2018-04-15 08:19:13 UTC
Created attachment 527428 [details]
etc.portage.tbz2
Comment 11 Toralf Förster gentoo-dev 2018-04-15 08:19:16 UTC
Created attachment 527430 [details]
logs.tbz2
Comment 12 Toralf Förster gentoo-dev 2018-04-15 08:19:20 UTC
Created attachment 527432 [details]
temp.tbz2
Comment 13 Cyprien Nicolas (fulax) 2019-09-14 12:53:39 UTC
This seems related to glibc 2.25.90 which has removed the `struct sigaltstack` type. According to `sigaltstack(2)` the type annotation to use is `stack_t`.

I have a patch to solve the type error, but then we encounter a linking error due to function inlining, reported in bug #632014

The inlining issue has been fixed in gcl-2.6.12 ebuild by adding 

  append-cflags $(test-flags-CC -fgnu89-inline)

during the configure phase.

With both the stack_t patch and the CC flags patch, we then encounter the same issue as gcl-2.6.12 described in bug #622120.
Comment 14 Cyprien Nicolas (fulax) 2019-09-14 12:56:41 UTC
Created attachment 589800 [details, diff]
Change struct sigaltstack to stack_t in main.c
Comment 15 Cyprien Nicolas (fulax) 2019-09-14 12:58:40 UTC
Created attachment 589802 [details, diff]
gcl-2.6.10 ebuild update