#12791: GCC 5.3.0 libssp problem -- broken stack protector
-----------------------------------+------------------------------
Reporter: kallisti5 | Owner: nobody
Type: bug | Status: new
Priority: blocker | Milestone: R1/beta1
Component: System/runtime_loader | Version: R1/Development
Keywords: gcc libssp | Blocked By:
Blocking: | Has a Patch: 0
Platform: All |
-----------------------------------+------------------------------
Potentially related to #6661
Attempting to compile Ruby results in "cannot determine size of long long"
A little digging through the logs shows:
{{{
gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-
protector conftest.c
}}}
executing said 'conftest' results in:
{{{
runtime_loader: Cannot open file libssp.so.0: No such file or directory
}}}
A quick test.c with a minimal main shows that the -fstack-protector flag
triggers the error. Any binary compiled with -fstack-protector ends up
missing libssp.so.0
As this is a issue with our compiler that will likely break quite a few
ports in a "hard to fix later" way, i'm flagging this as a blocker.
--
Ticket URL: <https://dev.haiku-os.org/ticket/12791>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.