[Bug 927268] New: clang link fails with undefined reference to `__stack_chk_guard'
http://bugzilla.opensuse.org/show_bug.cgi?id=927268 Bug ID: 927268 Summary: clang link fails with undefined reference to `__stack_chk_guard' Classification: openSUSE Product: openSUSE Factory Version: 201503* Hardware: PowerPC-64 OS: SUSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Development Assignee: bnc-team-screening@forge.provo.novell.com Reporter: dap@open.by QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 631137 --> http://bugzilla.opensuse.org/attachment.cgi?id=631137&action=edit Full build log. Upstream report: https://llvm.org/bugs/show_bug.cgi?id=22248 My build log error: [ 35s] CMakeFiles/huffar.dir/compress.c.o:(.toc+0x0): undefined reference to `__stack_chk_guard' [ 35s] CMakeFiles/huffar.dir/extract.c.o:(.toc+0x0): undefined reference to `__stack_chk_guard' [ 35s] clang-3.5: error: linker command failed with exit code 1 (use -v to see invocation) [ 35s] CMakeFiles/huffar.dir/build.make:163: recipe for target 'huffar' failed [ 35s] make[2]: *** [huffar] Error 1 Check attachment for full log. #opensuse-ppc@irc.freenode.net: k0da: dark_ss, it seems you've hit an LLVM bug. It adds extra symbol. k0da: dark_ss, you can open an opensuse bug though for that issue. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=927268 Dinar Valeev <dvaleev@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dvaleev@suse.com, | |mjwolf@us.ibm.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=927268 Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenther@suse.com Assignee|bnc-team-screening@forge.pr |idonmez@suse.com |ovo.novell.com | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=927268 Ismail Donmez <idonmez@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |idonmez@suse.com Assignee|idonmez@suse.com |k0da@opensuse.org --- Comment #1 from Ismail Donmez <idonmez@suse.com> --- Reassign. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=927268 http://bugzilla.opensuse.org/show_bug.cgi?id=927268#c4 Bruno Friedmann <bruno@ioda-net.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bruno@ioda-net.ch --- Comment #4 from Bruno Friedmann <bruno@ioda-net.ch> --- I've to use the same trick for building sfcgal in Application:Geo ``` # bypass bug 927268 for PowerPC if clang is used above in place of gcc tmpflags="%{optflags}" %ifarch ppc64 ppc64le %if 0%{suse_version} <= 1320 tmpflags=${tmpflags/-fstack-protector} %endif %endif %cmake \ -DCMAKE_USER_MAKE_RULES_OVERRIDE=OFF \ -DCMAKE_CXX_FLAGS="${tmpflags} -Doverride=" \ -DCMAKE_CXX_COMPILER="%{_bindir}/clang++" \ -DCMAKE_C_COMPILER="%{_bindir}/clang" \ ... ``` -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=927268 http://bugzilla.opensuse.org/show_bug.cgi?id=927268#c5 Aaron Puchert <aaronpuchert@alice-dsl.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |aaronpuchert@alice-dsl.net Resolution|--- |FIXED --- Comment #5 from Aaron Puchert <aaronpuchert@alice-dsl.net> --- The upstream report mentioned in the description has been fixed. -- You are receiving this mail because: You are on the CC list for the bug.
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com