Bug ID 1133288
Summary LTO: valgrind build fails
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Basesystem
Assignee bnc-team-screening@forge.provo.novell.com
Reporter martin.liska@suse.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Fails with LTO due to:

[   41s] ../coregrind/link_tool_exe_linux 0x58000000 gcc  -fmessage-length=0
-grecord-gcc-switches -O2 -Wall   -funwind-tables -fasynchronous-unwind-tables
-fstack-clash-protection -flto=160 -g   -o memcheck-x86-linux -flto
-flto-partition=one -fuse-linker-plugin -m32 -mpreferred-stack-boundary=2 -O2
-finline-functions -g -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith
-Wstrict-prototypes -Wmissing-declarations -Wcast-align -Wcast-qual
-Wwrite-strings -Wempty-body -Wformat -Wformat-security -Wignored-qualifiers
-Wmissing-parameter-type -Wlogical-op -Wold-style-declaration
-fno-stack-protector -fno-strict-aliasing -fno-builtin  -fomit-frame-pointer
-O2 -static -nodefaultlibs -nostartfiles -u _start  -m32
memcheck_x86_linux-mc_leakcheck.o memcheck_x86_linux-mc_malloc_wrappers.o
memcheck_x86_linux-mc_main.o memcheck_x86_linux-mc_main_asm.o
memcheck_x86_linux-mc_translate.o memcheck_x86_linux-mc_machine.o
memcheck_x86_linux-mc_errors.o ../coregrind/libcoregrind-x86-linux.a
../VEX/libvex-x86-linux.a -lgcc 
[   41s] ../coregrind/link_tool_exe_linux 0x58000000 gcc  -fmessage-length=0
-grecord-gcc-switches -O2 -Wall   -funwind-tables -fasynchronous-unwind-tables
-fstack-clash-protection -flto=160 -g   -o memcheck-amd64-linux -flto
-flto-partition=one -fuse-linker-plugin -m64 -O2 -finline-functions -g -Wall
-Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes
-Wmissing-declarations -Wcast-align -Wcast-qual -Wwrite-strings -Wempty-body
-Wformat -Wformat-security -Wignored-qualifiers -Wmissing-parameter-type
-Wlogical-op -Wold-style-declaration -fno-stack-protector -fno-strict-aliasing
-fno-builtin  -fomit-frame-pointer -O2 -static -nodefaultlibs -nostartfiles -u
_start  -m64 memcheck_amd64_linux-mc_leakcheck.o
memcheck_amd64_linux-mc_malloc_wrappers.o memcheck_amd64_linux-mc_main.o
memcheck_amd64_linux-mc_main_asm.o memcheck_amd64_linux-mc_translate.o
memcheck_amd64_linux-mc_machine.o memcheck_amd64_linux-mc_errors.o
../coregrind/libcoregrind-amd64-linux.a ../VEX/libvex-amd64-linux.a -lgcc 
[  134s]
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
warning: cannot find entry symbol _start; defaulting to 0000000058001000
[  134s]
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
/tmp/memcheck-x86-linux.oHOgV8.ltrans0.ltrans.o: in function
`vgMemCheck_helperc_LOADV16le':
[  134s] <artificial>:(.text+0xf): undefined reference to `primary_map'
[  134s]
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
/tmp/memcheck-x86-linux.oHOgV8.ltrans0.ltrans.o: in function
`vgMemCheck_helperc_LOADV8':
[  134s] <artificial>:(.text+0x68): undefined reference to `primary_map'
[  134s]
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
/tmp/memcheck-x86-linux.oHOgV8.ltrans0.ltrans.o: in function
`vgMemCheck_helperc_LOADV64le':
[  134s] <artificial>:(.text+0xc2): undefined reference to `primary_map'
[  134s]
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
/tmp/memcheck-x86-linux.oHOgV8.ltrans0.ltrans.o: in function
`vgMemCheck_helperc_LOADV32le':
[  134s] <artificial>:(.text+0x10f): undefined reference to `primary_map'
[  134s]
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
/tmp/memcheck-x86-linux.oHOgV8.ltrans0.ltrans.o: in function `barf':
[  134s]
/home/abuild/rpmbuild/BUILD/valgrind-3.14.0/memcheck/m_debuginfo/readdwarf3.c:5203:
undefined reference to `VG_MINIMAL_LONGJMP'
[  134s]
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
/tmp/memcheck-x86-linux.oHOgV8.ltrans0.ltrans.o: in function `error':
[  134s]
/home/abuild/rpmbuild/BUILD/valgrind-3.14.0/memcheck/m_gdbserver/utils.c:51:
undefined reference to `VG_MINIMAL_LONGJMP'
[  134s]
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
/tmp/memcheck-x86-linux.oHOgV8.ltrans0.ltrans.o: in function
`gdbserver_terminate':
[  134s]
/home/abuild/rpmbuild/BUILD/valgrind-3.14.0/memcheck/m_gdbserver/server.c:1175:
undefined reference to `VG_MINIMAL_SETJMP'
[  134s]
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
/tmp/memcheck-x86-linux.oHOgV8.ltrans0.ltrans.o: in function
`vgModuleLocal_new_dwarf3_reader':
[  134s]
/home/abuild/rpmbuild/BUILD/valgrind-3.14.0/memcheck/m_debuginfo/readdwarf3.c:5231:
undefined reference to `VG_MINIMAL_SETJMP'
[  134s]
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
/tmp/memcheck-x86-linux.oHOgV8.ltrans0.ltrans.o: in function `server_main':
[  134s]
/home/abuild/rpmbuild/BUILD/valgrind-3.14.0/memcheck/m_gdbserver/server.c:1193:
undefined reference to `VG_MINIMAL_SETJMP'

Probably a top level assembly.


You are receiving this mail because: