[opensuse-ppc] undefined reference to `__stack_chk_guard'
Hello! I've been buiding my simple C app for all Factory arch's for some time. Now I've maid fputc_unclocked→fread_unclocked code migrations. So ppc64 target became failed with "undefined reference to `__stack_chk_guard'" error message. I use cmake and clang to build my app. Any tips please? https://build.opensuse.org/package/live_build_log/home:DarkSS/HuffmanArchive... https://github.com/DAP-DarkneSS/HuffmanArchiver/commit/402e10574eee1e478583a... PS Please CC my mail too, no answer from opensuse-ppc+subscribe@opensuse.org, sorry. -- Best regards, Dmitriy DA(P).DarkneSS Perlow @ Linux x64 -- To unsubscribe, e-mail: opensuse-ppc+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-ppc+owner@opensuse.org
On Wed, Apr 15, 2015 at 03:42:17AM +0300, Dmitriy Perlow wrote:
Hello!
I've been buiding my simple C app for all Factory arch's for some time. Now I've maid fputc_unclocked→fread_unclocked code migrations. So ppc64 target became failed with "undefined reference to `__stack_chk_guard'" error message. I use cmake and clang to build my app.
Any tips please?
https://build.opensuse.org/package/live_build_log/home:DarkSS/HuffmanArchive... https://github.com/DAP-DarkneSS/HuffmanArchiver/commit/402e10574eee1e478583a...
PS Please CC my mail too, no answer from opensuse-ppc+subscribe@opensuse.org, sorry.
But it looks good currently in home:DarkSS/HuffmanArchiver ? This error could be due to mixing up static vs dynamic linking, or potentially due to -flto which needs to be passed to both compiler _and_ linker (LDFLAGS). Ciao, Marcsu -- To unsubscribe, e-mail: opensuse-ppc+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-ppc+owner@opensuse.org
Dmitriy Perlow <dap@open.by> Wed, 15 Apr 2015 03:42:17 +0300:
Hello!
I've been buiding my simple C app for all Factory arch's for some time. Now I've maid fputc_unclocked→fread_unclocked code migrations. So ppc64 target became failed with "undefined reference to `__stack_chk_guard'" error message. I use cmake and clang to build my app.
Any tips please?
https://build.opensuse.org/package/live_build_log/home:DarkSS/HuffmanArchive... https://github.com/DAP-DarkneSS/HuffmanArchiver/commit/402e10574eee1e478583a...
Thanks to k0da: https://bugzilla.opensuse.org/show_bug.cgi?id=927268 -- Best regards, Dmitriy DA(P).DarkneSS Perlow @ Linux x64 -- To unsubscribe, e-mail: opensuse-ppc+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-ppc+owner@opensuse.org
participants (2)
-
Dmitriy Perlow
-
Marcus Meissner