https://bugs.kde.org/show_bug.cgi?id=469049

Michal <hramr...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hramr...@gmail.com

--- Comment #10 from Michal <hramr...@gmail.com> ---
Created attachment 159912
  --> https://bugs.kde.org/attachment.cgi?id=159912&action=edit
additional patch

It does not really help. memcheck also fails to link, and when that is resolved
callgrind fails to link 

[  145s] ../coregrind/link_tool_exe_linux 0x58000000 gcc  -O2 -Wall
-U_FORTIFY_SOURCE   -funwind-tables -fasynchronous-unwind-tables
-fstack-clash-protection -Werror=return-type  -g   -o callgrind-ppc64be-linux
-flto=auto -m64 -O2 -g -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith
-Wstrict-prototypes -Wmissing-declarations -Wcast-align -Wcast-qual
-Wwrite-strings -Wempty-body -Wformat -Wformat-signedness -Wformat-security
-Wignored-qualifiers -Wmissing-parameter-type -Wlogical-op -Wenum-conversion
-Wimplicit-fallthrough=2 -Wold-style-declaration -finline-functions
-fno-stack-protector -fno-strict-aliasing -fno-builtin   -I../cachegrind
-static -nodefaultlibs -nostartfiles -u _start  -m64
callgrind_ppc64be_linux-bb.o callgrind_ppc64be_linux-bbcc.o
callgrind_ppc64be_linux-callstack.o callgrind_ppc64be_linux-clo.o
callgrind_ppc64be_linux-context.o callgrind_ppc64be_linux-costs.o
callgrind_ppc64be_linux-debug.o callgrind_ppc64be_linux-dump.o
callgrind_ppc64be_linux-events.o callgrind_ppc64be_linux-fn.o
callgrind_ppc64be_linux-jumps.o callgrind_ppc64be_linux-main.o
callgrind_ppc64be_linux-sim.o callgrind_ppc64be_linux-threads.o
../coregrind/libcoregrind-ppc64be-linux.a ../VEX/libvex-ppc64be-linux.a -lgcc
../coregrind/libgcc-sup-ppc64be-linux.a 
[  145s]
/usr/lib64/gcc/powerpc64-suse-linux/13/../../../../powerpc64-suse-linux/bin/ld:
/tmp/ccaULq5i.ltrans1.ltrans.o: in function `vgCallgrind_instrument':
[  145s]
/home/abuild/rpmbuild/BUILD/valgrind-3.21.0/callgrind/../coregrind/m_machine.c:2393:
undefined reference to `vgCallgrind_setup_bbcc'
[  145s]
/usr/lib64/gcc/powerpc64-suse-linux/13/../../../../powerpc64-suse-linux/bin/ld:
/tmp/ccaULq5i.ltrans1.ltrans.o:/home/abuild/rpmbuild/BUILD/valgrind-3.21.0/callgrind/../coregrind/m_machine.c:2393:
undefined reference to `vgCallgrind_setup_bbcc'
[  145s] collect2: error: ld returned 1 exit status
[  145s] make[3]: *** [Makefile:1119: callgrind-ppc64be-linux] Error 1
[  145s] make[3]: Leaving directory
'/home/abuild/rpmbuild/BUILD/valgrind-3.21.0/callgrind'
[  145s] make[3]: *** Waiting for unfinished jobs....
[  156s] make[3]: Entering directory
'/home/abuild/rpmbuild/BUILD/valgrind-3.21.0/callgrind'
[  156s] ../coregrind/link_tool_exe_linux 0x58000000 gcc  -O2 -Wall
-U_FORTIFY_SOURCE   -funwind-tables -fasynchronous-unwind-tables
-fstack-clash-protection -Werror=return-type  -g   -o callgrind-ppc32-linux
-flto=auto -m32 -O2 -g -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith
-Wstrict-prototypes -Wmissing-declarations -Wcast-align -Wcast-qual
-Wwrite-strings -Wempty-body -Wformat -Wformat-signedness -Wformat-security
-Wignored-qualifiers -Wmissing-parameter-type -Wlogical-op -Wenum-conversion
-Wimplicit-fallthrough=2 -Wold-style-declaration -finline-functions
-fno-stack-protector -fno-strict-aliasing -fno-builtin   -I../cachegrind
-static -nodefaultlibs -nostartfiles -u _start   -m32
callgrind_ppc32_linux-bb.o callgrind_ppc32_linux-bbcc.o
callgrind_ppc32_linux-callstack.o callgrind_ppc32_linux-clo.o
callgrind_ppc32_linux-context.o callgrind_ppc32_linux-costs.o
callgrind_ppc32_linux-debug.o callgrind_ppc32_linux-dump.o
callgrind_ppc32_linux-events.o callgrind_ppc32_linux-fn.o
callgrind_ppc32_linux-jumps.o callgrind_ppc32_linux-main.o
callgrind_ppc32_linux-sim.o callgrind_ppc32_linux-threads.o
../coregrind/libcoregrind-ppc32-linux.a ../VEX/libvex-ppc32-linux.a -lgcc
../coregrind/libgcc-sup-ppc32-linux.a 
[  156s] make[3]: Leaving directory
'/home/abuild/rpmbuild/BUILD/valgrind-3.21.0/callgrind'
[  156s] make[2]: *** [Makefile:1637: all-recursive] Error 1
[  156s] make[1]: *** [Makefile:914: all-recursive] Error 1
[  156s] make: *** [Makefile:777: all] Error 2
[  156s] error: Bad exit status from /var/tmp/rpm-tmp.jTkwVz (%build)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to