Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 816765 - dev-lang/ocaml-4.12.1 - signals_nat.c: error: variably modified sig_alt_stack at file scope
Summary: dev-lang/ocaml-4.12.1 - signals_nat.c: error: variably modified sig_alt_stack...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Team for the ML programming language family
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: glibc-2.34
  Show dependency tree
 
Reported: 2021-10-07 07:33 UTC by Toralf Förster
Modified: 2021-10-09 05:56 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.20 KB, text/plain)
2021-10-07 07:33 UTC, Toralf Förster
Details
dev-lang:ocaml-4.12.1:20211007-071738.log (dev-lang:ocaml-4.12.1:20211007-071738.log,523.96 KB, text/plain)
2021-10-07 07:33 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,181.57 KB, text/plain)
2021-10-07 07:33 UTC, Toralf Förster
Details
environment (environment,70.83 KB, text/plain)
2021-10-07 07:33 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,13.27 KB, application/x-bzip)
2021-10-07 07:33 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,13.34 KB, application/x-bzip)
2021-10-07 07:33 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,35.19 KB, application/x-bzip)
2021-10-07 07:33 UTC, Toralf Förster
Details
ocaml-4.12.1_glibc-2.34_support.patch (glib-2.34.patch,3.28 KB, patch)
2021-10-07 07:50 UTC, Perfect Gentleman
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-10-07 07:33:32 UTC
x86_64-pc-linux-gnu-gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall -Wdeclaration-after-statement -fno-common -fexcess-precision=standard -fno-tree-vrp -ffunction-sections -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -g -pipe -march=native -fno-diagnostics-color -O2 -falign-functions=32:25:16 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE   -DCAMLDLLIMPORT= -DNATIVE_CODE -DTARGET_amd64 -DMODEL_default -DSYS_linux   -o signals_nat.n.o signals_nat.c
signals_nat.c:184:13: error: variably modified ‘sig_alt_stack’ at file scope
  184 | static char sig_alt_stack[SIGSTKSZ];
      |             ^~~~~~~~~~~~~
make[2]: *** [Makefile:367: signals_nat.n.o] Error 1
make[2]: *** Waiting for unfinished jobs....

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-j4-20211005-171240

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
clang version 13.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.7
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.55.0 *
The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:
  [1]   php7.3
  [2]   php7.4
  [3]   php8.0 *

  HEAD of ::gentoo
commit a1ff4c6799d415d1d95294edf350b34434956c76
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Oct 7 07:06:31 2021 +0000

    2021-10-07 07:06:30 UTC

emerge -qpvO dev-lang/ocaml
[ebuild  N    ] dev-lang/ocaml-4.12.1  USE="ocamlopt -emacs -flambda -latex -xemacs"
Comment 1 Toralf Förster gentoo-dev 2021-10-07 07:33:33 UTC
Created attachment 743664 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-10-07 07:33:35 UTC
Created attachment 743667 [details]
dev-lang:ocaml-4.12.1:20211007-071738.log
Comment 3 Toralf Förster gentoo-dev 2021-10-07 07:33:37 UTC
Created attachment 743670 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-10-07 07:33:38 UTC
Created attachment 743673 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-10-07 07:33:39 UTC
Created attachment 743676 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-10-07 07:33:40 UTC
Created attachment 743679 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-10-07 07:33:41 UTC
Created attachment 743682 [details]
temp.tar.bz2
Comment 8 Perfect Gentleman 2021-10-07 07:50:48 UTC
Created attachment 743688 [details, diff]
ocaml-4.12.1_glibc-2.34_support.patch
Comment 9 Larry the Git Cow gentoo-dev 2021-10-09 05:56:05 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=474a14bc9ede109fb7a8033667f42b6f63720962

commit 474a14bc9ede109fb7a8033667f42b6f63720962
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-10-09 05:54:21 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-09 05:55:51 +0000

    dev-lang/ocaml: fix build with glibc 2.34
    
    Closes: https://bugs.gentoo.org/816765
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-lang/ocaml/files/ocaml-4.12.0-glibc-2.34.patch | 91 ++++++++++++++++++++++
 dev-lang/ocaml/ocaml-4.12.0-r2.ebuild              |  4 +
 dev-lang/ocaml/ocaml-4.12.1.ebuild                 |  4 +
 3 files changed, 99 insertions(+)