[ruby-core:118857] [Ruby master Bug#20677] error: mach-o section specifier requires a segment whose length is between 1 and 16 characters
From:
"kjtsanaktsidis (KJ Tsanaktsidis) via ruby-core" <ruby-core@...>
Date:
2024-08-15 01:14:52 UTC
List:
ruby-core #118857
Issue #20677 has been updated by kjtsanaktsidis (KJ Tsanaktsidis).
Ah. I might have to add some feature detection to the configure script for this when deciding if BTI/PAC is available.
Can you tell me, does it work if you compile with `ASFLAGS=-fno-integrated-as`?
----------------------------------------
Bug #20677: error: mach-o section specifier requires a segment whose length is between 1 and 16 characters
https://bugs.ruby-lang.org/issues/20677#change-109425
* Author: ryandesign (Ryan Carsten Schmidt)
* Status: Open
* Assignee: kjtsanaktsidis (KJ Tsanaktsidis)
* Backport: 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN
----------------------------------------
ruby (the development version as of 2024-08-11) does not build on macOS 11 or earlier with Apple Clang 1300 or earlier:
```
coroutine/amd64/Context.S:74:14: error: mach-o section specifier requires a segment whose length is between 1 and 16 characters
.pushsection .note.gnu.property, "a"
^
coroutine/amd64/Context.S:86:12: error: .popsection without corresponding .pushsection
.popsection
^
make: *** [coroutine/amd64/Context.o] Error 1
```
Here is the bug I filed with MacPorts about this: https://trac.macports.org/ticket/70537
It does build on newer systems with Apple Clang 1316 or later and on older systems when using a newer llvm.org clang compiler but it would be better if a newer compiler were not required.
--
https://bugs.ruby-lang.org/
______________________________________________
ruby-core mailing list -- [email protected]
To unsubscribe send an email to [email protected]
ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/