Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | undefined reference to `__stack_chk_fail' breaks build on some Linux 32-bit systems | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | General | Reporter: | Ariel Constenla-Haile <arielch> | ||||||
Component: | code | Assignee: | AOO issues mailing list <issues> | ||||||
Status: | CLOSED FIXED | QA Contact: | |||||||
Severity: | Normal | ||||||||
Priority: | P5 (lowest) | CC: | damjan | ||||||
Version: | 4.1.2 | Flags: | arielch:
4.1.4_release_blocker+
|
||||||
Target Milestone: | 4.1.4 | ||||||||
Hardware: | All | ||||||||
OS: | Linux 32-bit | ||||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||||
Developer Difficulty: | --- | ||||||||
Attachments: |
|
Description
Ariel Constenla-Haile
2016-09-27 07:16:06 UTC
Created attachment 85697 [details]
trunk log from the buildbot
Created attachment 85698 [details]
branch AOO413 log from the build bot
"arielch" committed SVN revision 1766467 into trunk: i127139 - Work around broken toolchain trunk build was successful https://ci.apache.org/builders/openoffice-linux32-nightly/builds/429 "arielch" committed SVN revision 1766518 into branches/AOO414: i127139 - Work around broken toolchain With more modules ported to gbuild, the build on 32 bit Ubuntu 14.04 now also breaks in (at least) main/embeddedobj and main/uui. It's not clear to me why. I've found 2 workarounds: * adding "-lc" to the linker command (but why isn't libc linked to by default?) * adding "-fuse-ld=gold" to the linker command (but the gold and bfd linkers are meant to be identical, differing only in performance and supported platforms) Also why do most gbuild modules link, and only a few fail :-( ? "damjan" committed SVN revision 1774848 into trunk: #i127139# undefined reference to `__stack_chk_fail' breaks build on some Linu... I've added a workaround to gbuild for now, that should fix this on Linux, for all gbuild modules. It doesn't leave me very happy, so I am leaving this issue open. (In reply to damjan from comment #8) > I've added a workaround to gbuild for now, that should fix this on Linux, > for all gbuild modules. It doesn't leave me very happy, so I am leaving this > issue open. It would be interesting to compare the compiler and linker switches before and after porting to gbuild, as the old dmake does not show this bug, it's only a gbuild thing. Though the real reason is still unknown, this is marked as release blocker, so it has to be resolved as fixed. |