Summary: | sys-libs/libunwind-1.1 CFLAGS="-maltivec -mcpu=G5 -mtune=G5" - .../work/libunwind-1.1/tests/ppc64-test-altivec.c:54: undefined reference to `_Uppc64_init_local' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jeroen Roovers (RETIRED) <jer> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ppc64 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | PPC64 | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=461958 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | sys-libs:libunwind-1.1:20150620-050434.log |
Description
Jeroen Roovers (RETIRED)
2015-06-20 05:25:29 UTC
ppc64-test-altivec.o: In function `vec_stack': /var/tmp/portage/sys-libs/libunwind-1.1/work/libunwind-1.1/tests/ppc64-test-altivec.c:54: undefined reference to `_Uppc64_init_local' /var/tmp/portage/sys-libs/libunwind-1.1/work/libunwind-1.1/tests/ppc64-test-altivec.c:62: undefined reference to `_Uppc64_get_reg' /var/tmp/portage/sys-libs/libunwind-1.1/work/libunwind-1.1/tests/ppc64-test-altivec.c:67: undefined reference to `_Uppc64_get_reg' /var/tmp/portage/sys-libs/libunwind-1.1/work/libunwind-1.1/tests/ppc64-test-altivec.c:72: undefined reference to `_Uppc64_get_fpreg' /var/tmp/portage/sys-libs/libunwind-1.1/work/libunwind-1.1/tests/ppc64-test-altivec.c:82: undefined reference to `_Uppc64_regname' /var/tmp/portage/sys-libs/libunwind-1.1/work/libunwind-1.1/tests/ppc64-test-altivec.c:94: undefined reference to `_Uppc64_get_proc_name' /var/tmp/portage/sys-libs/libunwind-1.1/work/libunwind-1.1/tests/ppc64-test-altivec.c:109: undefined reference to `_Uppc64_step' /var/tmp/portage/sys-libs/libunwind-1.1/work/libunwind-1.1/tests/ppc64-test-altivec.c:112: undefined reference to `_Uppc64_get_reg' collect2: error: ld returned 1 exit status distcc[2730] ERROR: compile (null) on localhost failed Makefile:788: recipe for target 'ppc64-test-altivec' failed make[1]: *** [ppc64-test-altivec] Error 1 Setting CFLAGS="-O2 -Wall" (i.e. dropping -maltivec -mcpu=G5 -mtune=G5) works around this issue. worked around by disabling building in the tests/ subdir since we already restrict running tests now https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd9db0a159cbd2ec5a0fa52b8631ca8f0832c684 |