[Bug general/31287] New: 0.190: test suite build fails with gcc 14.x

2024-01-24 Thread kloczko.tomasz at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31287

Bug ID: 31287
   Summary: 0.190: test suite build fails with gcc 14.x
   Product: elfutils
   Version: unspecified
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: general
  Assignee: unassigned at sourceware dot org
  Reporter: kloczko.tomasz at gmail dot com
CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

Looks like 0.190 test suite is not gcc 14.x ready

/usr/bin/gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -DLOCALEDIR='"/usr/share/locale"'
-I. -I..  -I. -I. -I../lib -I.. -I../libasm -I../libdw -I../libdwfl
-I../libdwelf -I../libebl -I../libelf -I../lib -I..  -std=gnu99 -Wall -Wshadow
-Wformat=2 -Wold-style-definition -Wstrict-prototypes -Wtrampolines
-Wlogical-op -Wduplicated-cond -Wnull-dereference -Wimplicit-fallthrough=5
-Wuse-after-free=3 -Werror -Wunused -Wextra -Wstack-usage=262144   -m64
-mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection
-fcf-protection -O2 -g -grecord-gcc-switches -pipe
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections
-fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS
-Wall -Werror=format-security -Wformat -Wno-error=stack-usage= -c -o
elfstrmerge.o elfstrmerge.c
elfstrmerge.c: In function ‘main’:
elfstrmerge.c:450:32: error: ‘calloc’ sizes specified with ‘sizeof’ in the
earlier argument and not in the later argument [-Werror=calloc-transposed-args]
  450 |   newscnbufs = calloc (sizeof (void *), newshnums);
  |^~~~
elfstrmerge.c:450:32: note: earlier argument should specify number of elements,
later size of each element
cc1: all warnings being treated as errors

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug general/24497] New: 0.176: test suite is failing

2019-04-28 Thread kloczko.tomasz at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24497

Bug ID: 24497
   Summary: 0.176: test suite is failing
   Product: elfutils
   Version: unspecified
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: general
  Assignee: unassigned at sourceware dot org
  Reporter: kloczko.tomasz at gmail dot com
CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

Created attachment 11753
  --> https://sourceware.org/bugzilla/attachment.cgi?id=11753&action=edit
test-suite.log

Latest gcc and binutils from Fedora rawhide:

$ rpm -q gcc binutils
gcc-9.0.1-0.14.fc31.x86_64
binutils-2.32-11.fc31.x86_64

Test suite is failing in:

FAIL: run-strip-strmerge.sh

Full test log in attachment.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug general/24498] New: 0.176: isn't LTO ready

2019-04-28 Thread kloczko.tomasz at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24498

Bug ID: 24498
   Summary: 0.176: isn't LTO ready
   Product: elfutils
   Version: unspecified
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: general
  Assignee: unassigned at sourceware dot org
  Reporter: kloczko.tomasz at gmail dot com
CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

[tkloczko@domek elfutils-0.176]$ make -k
make --no-print-directory all-recursive
Making all in config
make[2]: Nothing to be done for 'all'.
Making all in m4
make[2]: Nothing to be done for 'all'.
Making all in lib
make[2]: Nothing to be done for 'all'.
Making all in libelf
make[2]: Nothing to be done for 'all'.
Making all in libebl
make[2]: Nothing to be done for 'all'.
Making all in libdwelf
make[2]: Nothing to be done for 'all'.
Making all in libdwfl
make[2]: Nothing to be done for 'all'.
Making all in libdw
make  all-am
gcc -std=gnu99 -Wall -Wshadow -Wformat=2 -Wold-style-definition
-Wstrict-prototypes -Wtrampolines -Wlogical-op -Wduplicated-cond
-Wnull-dereference -Wimplicit-fallthrough=5 -Werror -Wunused -Wextra
-Wstack-usage=262144-O2 -g -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions
-fstack-protector-strong -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto 
-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -fuse-linker-plugin -o
libdw.so -shared -Wl,-z,defs -Wl,-z,relro -o libdw.so \
-Wl,--soname,libdw.so.1 \
-Wl,--enable-new-dtags,-rpath,/usr/lib64/elfutils \
-Wl,--version-script,libdw.map,--no-undefined \
-Wl,--whole-archive libdw_pic.a ../libdwelf/libdwelf_pic.a
../libdwfl/libdwfl_pic.a ../libebl/libebl.a -Wl,--no-whole-archive \
../lib/libeu.a ../libelf/libelf.so -ldl -lz  -llzma -lbz2 
/usr/bin/ld: libdw.so: no symbol version section for versioned symbol
`dwarf_decl_column@ELFUTILS_0.143'
/usr/bin/ld: final link failed: nonrepresentable section on output
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1372: libdw.so] Error 1
make[3]: Target 'all-am' not remade because of errors.
make[2]: *** [Makefile:614: all] Error 2
Making all in libcpu
make[2]: Nothing to be done for 'all'.
Making all in libasm
make[2]: *** No rule to make target '../libdw/libdw.so', needed by 'libasm.so'.
make[2]: Target 'all' not remade because of errors.
Making all in backends
make[2]: *** No rule to make target 'libebl_sh.so', needed by 'all-am'.
make[2]: *** No rule to make target 'libebl_ia64.so', needed by 'all-am'.
make[2]: *** No rule to make target 'libebl_alpha.so', needed by 'all-am'.
make[2]: *** No rule to make target 'libebl_arm.so', needed by 'all-am'.
make[2]: *** No rule to make target 'libebl_aarch64.so', needed by 'all-am'.
make[2]: *** No rule to make target 'libebl_sparc.so', needed by 'all-am'.
make[2]: *** No rule to make target 'libebl_ppc.so', needed by 'all-am'.
make[2]: *** No rule to make target 'libebl_ppc64.so', needed by 'all-am'.
make[2]: *** No rule to make target 'libebl_s390.so', needed by 'all-am'.
make[2]: *** No rule to make target 'libebl_tilegx.so', needed by 'all-am'.
make[2]: *** No rule to make target 'libebl_m68k.so', needed by 'all-am'.
make[2]: *** No rule to make target 'libebl_riscv.so', needed by 'all-am'.
make[2]: Target 'all' not remade because of errors.
Making all in src
make[2]: *** No rule to make target '../libdw/libdw.so', needed by 'readelf'.
gcc -std=gnu99 -Wall -Wshadow -Wformat=2 -Wold-style-definition
-Wstrict-prototypes -Wtrampolines -Wlogical-op -Wduplicated-cond
-Wnull-dereference -Wimplicit-fallthrough=5 -Werror -Wunused -Wextra
-Wstack-usage=262144   -O2 -g -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions
-fstack-protector-strong -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto
-Wl,-rpath-link,../libelf:../libdw -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -fuse-linker-plugin -o size
size.o ../libelf/libelf.so ../lib/libeu.a  
size.c: In function ‘handle_elf’:
size.c:628:1: error: stack usage might be unbounded [-W

[Bug general/24498] 0.176: isn't LTO ready

2019-04-28 Thread kloczko.tomasz at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24498

--- Comment #2 from kloczek  ---
(In reply to Mark Wielaard from comment #1)
> I am note sure what/how to resolve that.
> 
> It seems it will need a GCC fix:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48200

I have no account in gcc bugzilla so I cannot even ask or report that issue.
Looks like they are restricting now access to gcc bugzilla :/

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug general/24497] 0.176: test suite is failing

2019-09-15 Thread kloczko.tomasz at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24497

kloczek  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED

--- Comment #2 from kloczek  ---
Closing.
Seems 1.77 test suite is now no longer failing.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug general/24498] 0.176: isn't LTO ready

2019-09-15 Thread kloczko.tomasz at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24498

--- Comment #4 from kloczek  ---
Just checked and 1.77 looks like still is affected.


+ cd elfutils-0.177
+ /usr/bin/make install
DESTDIR=/home/tkloczko/rpmbuild/BUILDROOT/elfutils-0.177-2.fc32.x86_64
'INSTALL=/usr/bin/install -p'
Making install in config
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p
'/home/tkloczko/rpmbuild/BUILDROOT/elfutils-0.177-2.fc32.x86_64/usr/lib64/pkgconfig'
 /usr/bin/install -p -m 644 libelf.pc libdw.pc
'/home/tkloczko/rpmbuild/BUILDROOT/elfutils-0.177-2.fc32.x86_64/usr/lib64/pkgconfig'
Making install in m4
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
Making install in lib
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
Making install in libelf
 /usr/bin/mkdir -p
'/home/tkloczko/rpmbuild/BUILDROOT/elfutils-0.177-2.fc32.x86_64/usr/lib64'
 /usr/bin/install -p -m 644  libelf.a
'/home/tkloczko/rpmbuild/BUILDROOT/elfutils-0.177-2.fc32.x86_64/usr/lib64'
 ( cd
'/home/tkloczko/rpmbuild/BUILDROOT/elfutils-0.177-2.fc32.x86_64/usr/lib64' &&
gcc-ranlib libelf.a )
 /usr/bin/mkdir -p
'/home/tkloczko/rpmbuild/BUILDROOT/elfutils-0.177-2.fc32.x86_64/usr/include'
 /usr/bin/install -p -m 644 libelf.h gelf.h nlist.h
'/home/tkloczko/rpmbuild/BUILDROOT/elfutils-0.177-2.fc32.x86_64/usr/include'
 /usr/bin/mkdir -p
'/home/tkloczko/rpmbuild/BUILDROOT/elfutils-0.177-2.fc32.x86_64/usr/include/elfutils'
 /usr/bin/install -p -m 644 elf-knowledge.h
'/home/tkloczko/rpmbuild/BUILDROOT/elfutils-0.177-2.fc32.x86_64/usr/include/elfutils'
/bin/sh /home/tkloczko/rpmbuild/BUILD/elfutils-0.177/config/install-sh -d
/home/tkloczko/rpmbuild/BUILDROOT/elfutils-0.177-2.fc32.x86_64/usr/lib64
/usr/bin/install -p libelf.so
/home/tkloczko/rpmbuild/BUILDROOT/elfutils-0.177-2.fc32.x86_64/usr/lib64/libelf-0.177.so
ln -fs libelf-0.177.so
/home/tkloczko/rpmbuild/BUILDROOT/elfutils-0.177-2.fc32.x86_64/usr/lib64/libelf.so.1
ln -fs libelf.so.1
/home/tkloczko/rpmbuild/BUILDROOT/elfutils-0.177-2.fc32.x86_64/usr/lib64/libelf.so
Making install in libebl
 /usr/bin/mkdir -p
'/home/tkloczko/rpmbuild/BUILDROOT/elfutils-0.177-2.fc32.x86_64/usr/lib64'
 /usr/bin/install -p -m 644  libebl.a
'/home/tkloczko/rpmbuild/BUILDROOT/elfutils-0.177-2.fc32.x86_64/usr/lib64'
 ( cd
'/home/tkloczko/rpmbuild/BUILDROOT/elfutils-0.177-2.fc32.x86_64/usr/lib64' &&
gcc-ranlib libebl.a )
 /usr/bin/mkdir -p
'/home/tkloczko/rpmbuild/BUILDROOT/elfutils-0.177-2.fc32.x86_64/usr/include/elfutils'
 /usr/bin/install -p -m 644 libebl.h
'/home/tkloczko/rpmbuild/BUILDROOT/elfutils-0.177-2.fc32.x86_64/usr/include/elfutils'
Making install in libdwelf
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p
'/home/tkloczko/rpmbuild/BUILDROOT/elfutils-0.177-2.fc32.x86_64/usr/include/elfutils'
 /usr/bin/install -p -m 644 libdwelf.h
'/home/tkloczko/rpmbuild/BUILDROOT/elfutils-0.177-2.fc32.x86_64/usr/include/elfutils'
Making install in libdwfl
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p
'/home/tkloczko/rpmbuild/BUILDROOT/elfutils-0.177-2.fc32.x86_64/usr/include/elfutils'
 /usr/bin/install -p -m 644 libdwfl.h
'/home/tkloczko/rpmbuild/BUILDROOT/elfutils-0.177-2.fc32.x86_64/usr/include/elfutils'
Making install in libdw
gcc -std=gnu99 -Wall -Wshadow -Wformat=2 -Wold-style-definition
-Wstrict-prototypes -Wtrampolines -Wlogical-op -Wduplicated-cond
-Wnull-dereference -Wimplicit-fallthrough=5 -Werror -Wunused -Wextra
-Wstack-usage=262144-O2 -g -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto 
-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -fuse-linker-plugin -o
libdw.so -shared -Wl,-z,defs -Wl,-z,relro -o libdw.so \
-Wl,--soname,libdw.so.1 \
-Wl,--enable-new-dtags,-rpath,/usr/lib64/elfutils \
-Wl,--version-script,libdw.map,--no-undefined \
-Wl,--whole-archive libdw_pic.a ../libdwelf/libdwelf_pic.a
../libdwfl/libdwfl_pic.a ../libebl/libebl.a -Wl,--no-whole-archive \
../lib/libeu.a ../libelf/libelf.so -ldl -lz  -llzma -lbz2 
/usr/bin/ld: libdw.so: no symbol version section for versioned symbol
`dwarf_decl_column@ELFUTILS_0.143'
/usr/bin/ld: final link failed: nonrepresentable section on output
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:1373: libdw.so] Error 1
make: *** [Makefile:486: install-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.3jnV94 (%install)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug general/30192] New: 0.188: test suite is failing

2023-03-02 Thread kloczko.tomasz at gmail dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=30192

Bug ID: 30192
   Summary: 0.188: test suite is failing
   Product: elfutils
   Version: unspecified
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: general
  Assignee: unassigned at sourceware dot org
  Reporter: kloczko.tomasz at gmail dot com
CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

Looks like sometb=ing is wrong with test suite. It fais for me in in 3 units

+ cd elfutils-0.188
+ /usr/bin/make -O -j48 V=1 VERBOSE=1 check
Making check in config
make[1]: Nothing to be done for 'check'.
Making check in lib
make[1]: Nothing to be done for 'check'.
Making check in libelf
make[1]: Nothing to be done for 'check'.
Making check in libcpu
make[1]: Nothing to be done for 'check'.
Making check in backends
make[1]: Nothing to be done for 'check'.
Making check in libebl
make[1]: Nothing to be done for 'check'.
Making check in libdwelf
make[1]: Nothing to be done for 'check'.
Making check in libdwfl
make[1]: Nothing to be done for 'check'.
Making check in libdw
/usr/bin/make  check-am
make[2]: Nothing to be done for 'check-am'.
Making check in libasm
make[1]: Nothing to be done for 'check'.
Making check in debuginfod
make[1]: Nothing to be done for 'check'.
Making check in src
make[1]: Nothing to be done for 'check'.
Making check in po
make[1]: Nothing to be done for 'check'.
Making check in doc
make[1]: Nothing to be done for 'check'.
Making check in tests
/usr/bin/make  arextract arsymtest newfile saridx scnnames sectiondump
showptable update1 update2 update3 update4 test-nlist show-die-info get-files
next-files get-lines next-lines get-pubnames get-aranges allfcts line2addr
addrscopes funcscopes show-abbrev hash newscn ecp dwflmodtest find-prologues
funcretval allregs rdwrmmap dwfl-bug-addr-overflow arls dwfl-bug-fd-leak
dwfl-addr-sect dwfl-bug-report early-offscn dwfl-bug-getmodules dwarf-getmacros
dwarf-ranges addrcfi dwarfcfi test-flag-nobits dwarf-getstring rerequest_tag
alldts typeiter typeiter2 low_high_pc test-elf_cntl_gelf_getshdr dwflsyms
dwfllines dwfl-report-elf-align dwfl-report-segment-contiguous
dwfl-report-offline-memory varlocs backtrace backtrace-child backtrace-data
backtrace-dwarf debuglink debugaltlink buildid deleted deleted-lib.so
aggregate_size peel_type vdsosyms getsrc_die strptr newdata elfstrtab
dwfl-proc-attach elfshphehdr elfstrmerge dwelfgnucompressed elfgetchdr
elfgetzdata elfputzdata zstrptr emptyfile vendorelf fillfile
dwarf_default_lower_bound dwarf-die-addr-die get-units-invalid get-units-split
attr-integrate-skel all-dwarf-ranges unit-info next_cfi elfcopy addsections
xlate_notes elfrdwrnop dwelf_elf_e_machine_string getphdrnum leb128
read_unaligned msg_tst system-elf-libelf-test nvidia_extended_linemap_libdw
asm-tst1 asm-tst2 asm-tst3 asm-tst4 asm-tst5 asm-tst6 asm-tst7 asm-tst8
asm-tst9 backtrace-child-biarch debuginfod_build_id_find
/usr/bin/gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -DLOCALEDIR='"/usr/share/locale"'
-I. -I..  -I. -I. -I../lib -I.. -I../libasm -I../libdw -I../libdwfl
-I../libdwelf -I../libebl -I../libelf -I../lib -I..  -std=gnu99 -Wall -Wshadow
-Wformat=2 -Wold-style-definition -Wstrict-prototypes -Wtrampolines
-Wlogical-op -Wduplicated-cond -Wnull-dereference -Wimplicit-fallthrough=5
-Werror -Wunused -Wextra -Wstack-usage=262144   -O2 -g -grecord-gcc-switches
-pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3
-Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Wformat
-Wno-error=stack-usage= -c -o hash.o hash.c

[..]

/usr/bin/gcc -std=gnu99 -Wall -Wshadow -Wformat=2 -Wold-style-definition
-Wstrict-prototypes -Wtrampolines -Wlogical-op -Wduplicated-cond
-Wnull-dereference -Wimplicit-fallthrough=5 -Werror -Wunused -Wextra
-Wstack-usage=262144   -O2 -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3
-Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Wformat
-Wno-error=stack-usage= -Wl,-rpath-link,../libasm:../libdw:../libelf 
-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-parti

[Bug general/24498] 0.176: isn't LTO ready

2020-03-30 Thread kloczko.tomasz at gmail dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=24498

--- Comment #6 from kloczek  ---
Just gave chance new 0.179 and latest rawhide gcc and looks like now set of
warnings treated as werrors is a bit different.

[tkloczko@barrel elfutils-0.179]$ make -k
make --no-print-directory all-recursive
Making all in config
make[2]: Nothing to be done for 'all'.
Making all in m4
make[2]: Nothing to be done for 'all'.
Making all in lib
make[2]: Nothing to be done for 'all'.
Making all in libelf
make[2]: Nothing to be done for 'all'.
Making all in libcpu
make[2]: Nothing to be done for 'all'.
Making all in backends
make[2]: Nothing to be done for 'all'.
Making all in libebl
make[2]: Nothing to be done for 'all'.
Making all in libdwelf
make[2]: Nothing to be done for 'all'.
Making all in libdwfl
make[2]: Nothing to be done for 'all'.
Making all in libdw
make  all-am
gcc -std=gnu99 -Wall -Wshadow -Wformat=2 -Wold-style-definition
-Wstrict-prototypes -Wtrampolines -Wlogical-op -Wduplicated-cond
-Wnull-dereference -Wimplicit-fallthrough=5 -Werror -Wunused -Wextra
-Wstack-usage=262144-O2 -g -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-flto=auto -flto-partition=none -Wformat  -Wl,-z,relro -Wl,--as-needed 
-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto
-flto-partition=none -fuse-linker-plugin -o libdw.so -shared -Wl,-z,defs
-Wl,-z,relro -o libdw.so \
-Wl,--soname,libdw.so.1,--enable-new-dtags \
-Wl,--version-script,libdw.map,--no-undefined \
-Wl,--whole-archive ../libebl/libebl_pic.a
../backends/libebl_backends_pic.a ../libcpu/libcpu_pic.a libdw_pic.a
../libdwelf/libdwelf_pic.a ../libdwfl/libdwfl_pic.a -Wl,--no-whole-archive \
../lib/libeu.a ../libelf/libelf.so -ldl -lz  -llzma -lbz2  -pthread
find-debuginfo.c: In function ‘dwfl_standard_find_debuginfo’:
debuginfod-client.c:85:8: error: ‘bits’ may be used uninitialized in this
function [-Werror=maybe-uninitialized]
find-debuginfo.c:360:24: note: ‘bits’ was declared here
lto1: all warnings being treated as errors
lto-wrapper: fatal error: gcc returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1405: libdw.so] Error 1
make[3]: Target 'all-am' not remade because of errors.
make[2]: *** [Makefile:649: all] Error 2
Making all in libasm
make[2]: *** No rule to make target '../libdw/libdw.so', needed by 'libasm.so'.
make[2]: Target 'all' not remade because of errors.
Making all in src
make[2]: *** No rule to make target '../libdw/libdw.so', needed by 'readelf'.
gcc -std=gnu99 -Wall -Wshadow -Wformat=2 -Wold-style-definition
-Wstrict-prototypes -Wtrampolines -Wlogical-op -Wduplicated-cond
-Wnull-dereference -Wimplicit-fallthrough=5 -Werror -Wunused -Wextra
-Wstack-usage=262144   -O2 -g -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-flto=auto -flto-partition=none -Wformat -Wl,-rpath-link,../libelf:../libdw
-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none
-fuse-linker-plugin -o size size.o ../libelf/libelf.so ../lib/libeu.a
size.c: In function ‘handle_elf’:
size.c:634:1: error: stack usage might be unbounded [-Werror=stack-usage=]
  634 | handle_elf (Elf *elf, const char *prefix, const char *fname)
  | ^
size.c: In function ‘handle_ar’:
size.c:341:1: error: stack usage might be unbounded [-Werror=stack-usage=]
  341 | handle_ar (int fd, Elf *elf, const char *prefix, const char *fname)
  | ^
lto1: all warnings being treated as errors
lto-wrapper: fatal error: gcc returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:670: size] Error 1
make[2]: *** No rule to make target '../libasm/libasm.so', needed by 'objdump'.
gcc -std=gnu99 -Wall -Wshadow -Wformat=2 -Wold-style-definition
-Wstrict-prototypes -Wtrampolines -Wlogical-op -Wduplicated-cond
-Wnull-dereference -Wimplicit-fallthrough=5 -Werror -Wunused -Wextra
-Wstack-usage=262144   -O2 -g -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-flto=auto -flto-partition=none -Wformat -Wl,-rpath-link,../libelf:../libdw
-Wl,-z

[Bug general/24498] 0.176: isn't LTO ready

2020-04-15 Thread kloczko.tomasz at gmail dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=24498

--- Comment #10 from kloczek  ---
> I would add a configure option --enable-lto that will append -flto to 
> {C,LD}FLAGS.

Please don't do that.

LTO can be driven using only env variable.

% CFLAGS="" LDFLAGS="" ./configure

Please use KISS principle and do not implement something which can be already
done other way *without* touching existing code.

PS. Changing {C,LD}FLAGS is not only part of using LTO. You need to pass NM,
RANLIB and AR env variables.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug general/24498] 0.176: isn't LTO ready

2020-04-15 Thread kloczko.tomasz at gmail dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=24498

--- Comment #14 from kloczek  ---
> Sorry, but what are the clto_cflags and lto_ldflags precisely? And we now 
> (also) have some c++ code for the debuginfod server, which I assume needs 
> some CXXFLAGS too?


Here is example from my own build environment.
Below macro is used by %meso, %configure, %cmake and few other.
Only changing that macro it is possible to control LTO and other things 100%
transparently without touching any rpm spec file, or build framework tooling.

$ rpm -E %set_build_flags

export CFLAGS="${CFLAGS:--O2 -g -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-flto=auto -flto-partition=none}";
export CXXFLAGS="${CXXFLAGS:--O2 -g -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-flto=auto -flto-partition=none}";
export FFLAGS="${FFLAGS:--O2 -g -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-I/usr/lib64/gfortran/modules -flto=auto -flto-partition=none}";
export FCFLAGS="${FCFLAGS:--O2 -g -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-I/usr/lib64/gfortran/modules -flto=auto -flto-partition=none}";
export LDFLAGS="${LDFLAGS:--Wl,-z,relro -Wl,--as-needed  -Wl,-z,now
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none
-fuse-linker-plugin}";
export AR="/usr/bin/gcc-ar" RANLIB="/usr/bin/gcc-ranlib"
NM="/usr/bin/gcc-nm";
export CC="gcc" CXX="g++"

I can change as well from GCC to CLang without changes in any build framework
or rpm spec file.

So again: things like LTO, PGO and any even any future optimizations should be
NEVER EVER implemented in build frameworks because all currently available
frameworks are using above env variables.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug general/24498] 0.176: isn't LTO ready

2020-05-06 Thread kloczko.tomasz at gmail dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=24498

--- Comment #20 from kloczek  ---
Just tretested using latest binutils and gcc and looksl like it compiles and
links correctly.

Despite that test suite is not possing:

/usr/bin/make  check-TESTS
PASS: newfile
PASS: update1
FAIL: test-nlist
PASS: update2
PASS: newscn
PASS: hash
PASS: update4
PASS: update3
PASS: run-get-aranges.sh
PASS: run-show-abbrev.sh
PASS: run-ecp-test.sh
PASS: run-ecp-test2.sh
PASS: run-get-pubnames.sh
PASS: run-unstrip-M.sh
PASS: run-get-lines.sh
PASS: run-ranlib-test.sh
PASS: run-alldts.sh
PASS: run-ranlib-test2.sh
PASS: run-ar.sh
PASS: run-show-die-info.sh
PASS: run-allfcts.sh
PASS: run-ranlib-test3.sh
PASS: run-strip-groups.sh
PASS: run-unstrip-test2.sh
PASS: run-next-lines.sh
PASS: run-unstrip-test.sh
PASS: run-unstrip-test3.sh
PASS: run-elfstrmerge-test.sh
PASS: run-get-files.sh
PASS: run-ranlib-test4.sh
PASS: run-next-files.sh
PASS: run-line2addr.sh
PASS: run-unstrip-test4.sh
PASS: run-funcscopes.sh
PASS: run-addrscopes.sh
PASS: run-readelf-const-values.sh
PASS: run-strip-test3.sh
PASS: run-readelf-info-plus.sh
FAIL: run-elflint-self.sh
PASS: run-readelf-test1.sh
PASS: run-strip-test11.sh
PASS: run-strings-test.sh
PASS: run-readelf-test3.sh
PASS: run-strip-test2.sh
PASS: run-strip-test12.sh
PASS: run-strip-nobitsalign.sh
PASS: run-readelf-test4.sh
FAIL: run-strip-strmerge.sh
PASS: run-strip-test9.sh
PASS: run-readelf-macro.sh
PASS: run-strip-test.sh
PASS: run-readelf-compressed.sh
PASS: run-strip-nothing.sh
PASS: run-readelf-test2.sh
PASS: run-readelf-twofiles.sh
PASS: dwfl-bug-addr-overflow
PASS: dwfl-bug-report
PASS: run-strip-test10.sh
PASS: run-readelf-aranges.sh
PASS: dwfl-report-segment-contiguous
PASS: run-strip-test4.sh
PASS: run-strip-test7.sh
PASS: run-strip-test5.sh
PASS: run-strip-test6.sh
PASS: run-strip-test8.sh
PASS: run-strip-g.sh
PASS: run-early-offscn.sh
PASS: run-debuglink.sh
PASS: run-dwfl-bug-offline-rel.sh
PASS: run-test-flag-nobits.sh
PASS: run-debugaltlink.sh
PASS: run-elflint-test.sh
PASS: run-bug1-test.sh
FAIL: run-varlocs-self.sh
PASS: run-buildid.sh
PASS: run-dwarf-getstring.sh
PASS: run-dwfl-addr-sect.sh
PASS: run-elf_cntl_gelf_getshdr.sh
PASS: run-dwarfcfi.sh
PASS: run-readelf-d.sh
FAIL: run-exprlocs-self.sh
PASS: run-rerequest_tag.sh
PASS: run-disasm-x86.sh
PASS: run-disasm-x86-64.sh
PASS: run-readelf-vmcoreinfo.sh
PASS: run-readelf-gdb_index.sh
PASS: run-find-prologues.sh
PASS: run-typeiter.sh
PASS: run-dwfl-report-elf-align.sh
PASS: run-macro-test.sh
PASS: run-readelf-variant.sh
PASS: run-test-archive64.sh
PASS: run-addr2line-i-demangle-test.sh
PASS: run-dwarf-getmacros.sh
PASS: run-addrcfi.sh
PASS: run-annobingroup.sh
PASS: run-readelf-line.sh
PASS: run-exprlocs.sh
PASS: run-funcretval.sh
PASS: run-unstrip-n.sh
PASS: run-readelf-z.sh
PASS: run-dwarf-ranges.sh
PASS: run-readelf-ranges.sh
PASS: run-backtrace-dwarf.sh
PASS: run-readelf-n.sh
PASS: run-addr2line-alt-debugpath.sh
PASS: run-readelf-loc.sh
PASS: run-backtrace-native.sh
PASS: run-backtrace-data.sh
PASS: run-backtrace-native-biarch.sh
PASS: run-addr2line-i-lex-test.sh
PASS: run-backtrace-demangle.sh
PASS: run-readelf-zp.sh
PASS: run-backtrace-core-x86_64.sh
PASS: run-backtrace-fp-core-x86_64.sh
PASS: run-backtrace-fp-core-aarch64.sh
PASS: vdsosyms
PASS: run-backtrace-fp-core-ppc64le.sh
PASS: run-stack-i-test.sh
PASS: run-dwfllines.sh
PASS: run-backtrace-core-x32.sh
PASS: run-backtrace-fp-core-i386.sh
PASS: run-readelf-types.sh
PASS: run-backtrace-core-i386.sh
PASS: run-backtrace-core-ppc.sh
PASS: run-backtrace-core-aarch64.sh
PASS: run-backtrace-core-s390.sh
PASS: run-readelf-addr.sh
PASS: run-low_high_pc.sh
PASS: newdata
PASS: elfstrtab
PASS: run-backtrace-core-sparc.sh
PASS: elfshphehdr
PASS: run-backtrace-core-s390x.sh
PASS: dwfl-proc-attach
PASS: run-native-test.sh
PASS: run-readelf-str.sh
PASS: run-readelf-mixed-corenote.sh
PASS: run-stack-d-test.sh
PASS: run-linkmap-cut.sh
PASS: run-addr2line-test.sh
PASS: run-readelf-zx.sh
PASS: emptyfile
PASS: vendorelf
PASS: run-strptr.sh
SKIP: run-lfs-symbols.sh
PASS: fillfile
PASS: dwarf_default_lower_bound
PASS: run-stack-demangled-test.sh
PASS: run-peel-type.sh
PASS: run-allregs.sh
PASS: run-zstrptr.sh
PASS: run-aggregate-size.sh
PASS: run-allfcts-multi.sh
PASS: run-getsrc-die.sh
PASS: run-addr2line-i-test.sh
PASS: run-addrname-test.sh
PASS: run-reloc-bpf.sh
PASS: run-readelf-A.sh
PASS: run-varlocs.sh
PASS: run-elfputzdata.sh
PASS: msg_tst
PASS: run-readelf-dwz-multi.sh
PASS: run-all-dwarf-ranges.sh
PASS: run-readelf-discr.sh
PASS: run-dwelfgnucompressed.sh
PASS: system-elf-libelf-test
PASS: run-attr-integrate-skel.sh
PASS: asm-tst1
PASS: asm-tst2
PASS: run-strip-version.sh
PASS: run-disasm-riscv64.sh
PASS: asm-tst3
PASS: dwfl-bug-fd-leak
PASS: asm-tst7
PASS: run-dwelf_elf_e_machine_string.sh
PASS: asm-tst8
PASS: asm-tst9
PASS: run-elfgetzdata.sh
PASS: run-getphdrnum.sh
PASS: run-xlate-note.sh
PASS: run-deleted.sh
PASS: run-next-cfi-self.sh
PASS: run-next-cfi.sh
PASS: run-pt_gnu_prop-te

[Bug general/24498] 0.176: isn't LTO ready

2020-05-06 Thread kloczko.tomasz at gmail dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=24498

--- Comment #21 from kloczek  ---
Just tretested using latest binutils and gcc and looksl like it compiles and
links correctly.

Despite that test suite is not possing:

/usr/bin/make  check-TESTS
PASS: newfile
PASS: update1
FAIL: test-nlist
PASS: update2
PASS: newscn
PASS: hash
PASS: update4
PASS: update3
PASS: run-get-aranges.sh
PASS: run-show-abbrev.sh
PASS: run-ecp-test.sh
PASS: run-ecp-test2.sh
PASS: run-get-pubnames.sh
PASS: run-unstrip-M.sh
PASS: run-get-lines.sh
PASS: run-ranlib-test.sh
PASS: run-alldts.sh
PASS: run-ranlib-test2.sh
PASS: run-ar.sh
PASS: run-show-die-info.sh
PASS: run-allfcts.sh
PASS: run-ranlib-test3.sh
PASS: run-strip-groups.sh
PASS: run-unstrip-test2.sh
PASS: run-next-lines.sh
PASS: run-unstrip-test.sh
PASS: run-unstrip-test3.sh
PASS: run-elfstrmerge-test.sh
PASS: run-get-files.sh
PASS: run-ranlib-test4.sh
PASS: run-next-files.sh
PASS: run-line2addr.sh
PASS: run-unstrip-test4.sh
PASS: run-funcscopes.sh
PASS: run-addrscopes.sh
PASS: run-readelf-const-values.sh
PASS: run-strip-test3.sh
PASS: run-readelf-info-plus.sh
FAIL: run-elflint-self.sh
PASS: run-readelf-test1.sh
PASS: run-strip-test11.sh
PASS: run-strings-test.sh
PASS: run-readelf-test3.sh
PASS: run-strip-test2.sh
PASS: run-strip-test12.sh
PASS: run-strip-nobitsalign.sh
PASS: run-readelf-test4.sh
FAIL: run-strip-strmerge.sh
PASS: run-strip-test9.sh
PASS: run-readelf-macro.sh
PASS: run-strip-test.sh
PASS: run-readelf-compressed.sh
PASS: run-strip-nothing.sh
PASS: run-readelf-test2.sh
PASS: run-readelf-twofiles.sh
PASS: dwfl-bug-addr-overflow
PASS: dwfl-bug-report
PASS: run-strip-test10.sh
PASS: run-readelf-aranges.sh
PASS: dwfl-report-segment-contiguous
PASS: run-strip-test4.sh
PASS: run-strip-test7.sh
PASS: run-strip-test5.sh
PASS: run-strip-test6.sh
PASS: run-strip-test8.sh
PASS: run-strip-g.sh
PASS: run-early-offscn.sh
PASS: run-debuglink.sh
PASS: run-dwfl-bug-offline-rel.sh
PASS: run-test-flag-nobits.sh
PASS: run-debugaltlink.sh
PASS: run-elflint-test.sh
PASS: run-bug1-test.sh
FAIL: run-varlocs-self.sh
PASS: run-buildid.sh
PASS: run-dwarf-getstring.sh
PASS: run-dwfl-addr-sect.sh
PASS: run-elf_cntl_gelf_getshdr.sh
PASS: run-dwarfcfi.sh
PASS: run-readelf-d.sh
FAIL: run-exprlocs-self.sh
PASS: run-rerequest_tag.sh
PASS: run-disasm-x86.sh
PASS: run-disasm-x86-64.sh
PASS: run-readelf-vmcoreinfo.sh
PASS: run-readelf-gdb_index.sh
PASS: run-find-prologues.sh
PASS: run-typeiter.sh
PASS: run-dwfl-report-elf-align.sh
PASS: run-macro-test.sh
PASS: run-readelf-variant.sh
PASS: run-test-archive64.sh
PASS: run-addr2line-i-demangle-test.sh
PASS: run-dwarf-getmacros.sh
PASS: run-addrcfi.sh
PASS: run-annobingroup.sh
PASS: run-readelf-line.sh
PASS: run-exprlocs.sh
PASS: run-funcretval.sh
PASS: run-unstrip-n.sh
PASS: run-readelf-z.sh
PASS: run-dwarf-ranges.sh
PASS: run-readelf-ranges.sh
PASS: run-backtrace-dwarf.sh
PASS: run-readelf-n.sh
PASS: run-addr2line-alt-debugpath.sh
PASS: run-readelf-loc.sh
PASS: run-backtrace-native.sh
PASS: run-backtrace-data.sh
PASS: run-backtrace-native-biarch.sh
PASS: run-addr2line-i-lex-test.sh
PASS: run-backtrace-demangle.sh
PASS: run-readelf-zp.sh
PASS: run-backtrace-core-x86_64.sh
PASS: run-backtrace-fp-core-x86_64.sh
PASS: run-backtrace-fp-core-aarch64.sh
PASS: vdsosyms
PASS: run-backtrace-fp-core-ppc64le.sh
PASS: run-stack-i-test.sh
PASS: run-dwfllines.sh
PASS: run-backtrace-core-x32.sh
PASS: run-backtrace-fp-core-i386.sh
PASS: run-readelf-types.sh
PASS: run-backtrace-core-i386.sh
PASS: run-backtrace-core-ppc.sh
PASS: run-backtrace-core-aarch64.sh
PASS: run-backtrace-core-s390.sh
PASS: run-readelf-addr.sh
PASS: run-low_high_pc.sh
PASS: newdata
PASS: elfstrtab
PASS: run-backtrace-core-sparc.sh
PASS: elfshphehdr
PASS: run-backtrace-core-s390x.sh
PASS: dwfl-proc-attach
PASS: run-native-test.sh
PASS: run-readelf-str.sh
PASS: run-readelf-mixed-corenote.sh
PASS: run-stack-d-test.sh
PASS: run-linkmap-cut.sh
PASS: run-addr2line-test.sh
PASS: run-readelf-zx.sh
PASS: emptyfile
PASS: vendorelf
PASS: run-strptr.sh
SKIP: run-lfs-symbols.sh
PASS: fillfile
PASS: dwarf_default_lower_bound
PASS: run-stack-demangled-test.sh
PASS: run-peel-type.sh
PASS: run-allregs.sh
PASS: run-zstrptr.sh
PASS: run-aggregate-size.sh
PASS: run-allfcts-multi.sh
PASS: run-getsrc-die.sh
PASS: run-addr2line-i-test.sh
PASS: run-addrname-test.sh
PASS: run-reloc-bpf.sh
PASS: run-readelf-A.sh
PASS: run-varlocs.sh
PASS: run-elfputzdata.sh
PASS: msg_tst
PASS: run-readelf-dwz-multi.sh
PASS: run-all-dwarf-ranges.sh
PASS: run-readelf-discr.sh
PASS: run-dwelfgnucompressed.sh
PASS: system-elf-libelf-test
PASS: run-attr-integrate-skel.sh
PASS: asm-tst1
PASS: asm-tst2
PASS: run-strip-version.sh
PASS: run-disasm-riscv64.sh
PASS: asm-tst3
PASS: dwfl-bug-fd-leak
PASS: asm-tst7
PASS: run-dwelf_elf_e_machine_string.sh
PASS: asm-tst8
PASS: asm-tst9
PASS: run-elfgetzdata.sh
PASS: run-getphdrnum.sh
PASS: run-xlate-note.sh
PASS: run-deleted.sh
PASS: run-next-cfi-self.sh
PASS: run-next-cfi.sh
PASS: run-pt_gnu_prop-te

[Bug general/24498] 0.179: isn't LTO ready

2020-05-06 Thread kloczko.tomasz at gmail dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=24498

--- Comment #23 from kloczek  ---
Just retested elfutils with more patches from git and looks like now test suite
is passing successfully:

[tkloczko@barrel SPECS]$ rpmbuild -ba elfutils.spec --with lto --with check
warning: Downloading
https://sourceware.org/elfutils/ftp/0.179/elfutils-0.179.tar.bz2 to
/home/tkloczko/rpmbuild/SOURCES/elfutils-0.179.tar.bz2
warning: Downloading
https://sourceware.org/git/?p=elfutils.git;a=patch;h=39f28eaf#/elfutils-libdwfl-Initialize-bits-to-NULL-in-dwfl_standard_fin.patch
to
/home/tkloczko/rpmbuild/SOURCES/elfutils-libdwfl-Initialize-bits-to-NULL-in-dwfl_standard_fin.patch
warning: Downloading
https://sourceware.org/git/?p=elfutils.git;a=patch;h=25d40a62#/elfutils-libcpu-Replace-assert-with-goto-invalid_op-for-bad-p.patch
to
/home/tkloczko/rpmbuild/SOURCES/elfutils-libcpu-Replace-assert-with-goto-invalid_op-for-bad-p.patch
warning: Downloading
https://sourceware.org/git/?p=elfutils.git;a=patch;h=e2fc0b73#/elfutils-elflint-Allow-SHF_EXCLUDE-as-generic-section-flag-wh.patch
to
/home/tkloczko/rpmbuild/SOURCES/elfutils-elflint-Allow-SHF_EXCLUDE-as-generic-section-flag-wh.patch
warning: Downloading
https://sourceware.org/git/?p=elfutils.git;a=patch;h=d6185d33#/elfutils-libdw-readelf-Handle-GCC-LTO-.gnu.debuglto_-prefix.patch
to
/home/tkloczko/rpmbuild/SOURCES/elfutils-libdw-readelf-Handle-GCC-LTO-.gnu.debuglto_-prefix.patch
warning: Downloading
https://sourceware.org/git/?p=elfutils.git;a=patch;h=51cfbaab#/elfutils-tests-Build-test-nlist-with-minimal-CFLAGS-to-guaran.patch
to
/home/tkloczko/rpmbuild/SOURCES/elfutils-tests-Build-test-nlist-with-minimal-CFLAGS-to-guaran.patch
warning: Downloading
https://sourceware.org/git/?p=elfutils.git;a=patch;h=554352de#/elfutils-tests-Run-run-varlocs-self.sh-for-object-files-with-.patch
to
/home/tkloczko/rpmbuild/SOURCES/elfutils-tests-Run-run-varlocs-self.sh-for-object-files-with-.patch
warning: Downloading
https://sourceware.org/git/?p=elfutils.git;a=patch;h=a5d73b3e#/elfutils-libelf-Fix-double-free-in-__libelf_compress-on-error.patch
to
/home/tkloczko/rpmbuild/SOURCES/elfutils-libelf-Fix-double-free-in-__libelf_compress-on-error.patch
warning: Downloading
https://sourceware.org/git/?p=elfutils.git;a=patch;h=8c5bd878#/elfutils-libasm-Fix-double-fclose-in-asm_end.patch
to
/home/tkloczko/rpmbuild/SOURCES/elfutils-libasm-Fix-double-fclose-in-asm_end.patch
warning: Downloading
https://sourceware.org/git/?p=elfutils.git;a=patch;h=5436c752#/elfutils-libdw-Call-Dwarf-oom_handler-when-malloc-fails-in-__.patch
to
/home/tkloczko/rpmbuild/SOURCES/elfutils-libdw-Call-Dwarf-oom_handler-when-malloc-fails-in-__.patch
warning: Downloading
https://sourceware.org/git/?p=elfutils.git;a=patch;h=a894c63d#/elfutils-libdwfl-Fix-double-free-on-failure-path-in-gzip.c.patch
to
/home/tkloczko/rpmbuild/SOURCES/elfutils-libdwfl-Fix-double-free-on-failure-path-in-gzip.c.patch
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jQ9OUD
+ umask 022
+ cd /home/tkloczko/rpmbuild/BUILD
+ cd /home/tkloczko/rpmbuild/BUILD
+ rm -rf elfutils-0.179
+ /usr/bin/bzip2 -dc /home/tkloczko/rpmbuild/SOURCES/elfutils-0.179.tar.bz2
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd elfutils-0.179
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/bin/cat
/home/tkloczko/rpmbuild/SOURCES/elfutils-debug-client-alt-link.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat
/home/tkloczko/rpmbuild/SOURCES/elfutils-libdwfl-Initialize-bits-to-NULL-in-dwfl_standard_fin.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat
/home/tkloczko/rpmbuild/SOURCES/elfutils-libcpu-Replace-assert-with-goto-invalid_op-for-bad-p.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat
/home/tkloczko/rpmbuild/SOURCES/elfutils-elflint-Allow-SHF_EXCLUDE-as-generic-section-flag-wh.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat
/home/tkloczko/rpmbuild/SOURCES/elfutils-libdw-readelf-Handle-GCC-LTO-.gnu.debuglto_-prefix.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat
/home/tkloczko/rpmbuild/SOURCES/elfutils-tests-Build-test-nlist-with-minimal-CFLAGS-to-guaran.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat
/home/tkloczko/rpmbuild/SOURCES/elfutils-tests-Run-run-varlocs-self.sh-for-object-files-with-.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat
/home/tkloczko/rpmbuild/SOURCES/elfutils-libelf-Fix-double-free-in-__libelf_compress-on-error.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat
/home/tkloczko/rpmbuild/SOURCES/elfutils-libasm-Fix-double-fclose-in-asm_end.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat
/home/tkloczko/rpmbuild/SOURCES/elfutils-libdw-Call-Dwarf-oom_handler-when-malloc-fails-in-__.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat
/home/tkloczko/rpmbuild/SOURCES/elfutils-libdwf

[Bug general/26195] New: 0.180 + master: build fails

2020-07-02 Thread kloczko.tomasz at gmail dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=26195

Bug ID: 26195
   Summary: 0.180 + master: build fails
   Product: elfutils
   Version: unspecified
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: general
  Assignee: unassigned at sourceware dot org
  Reporter: kloczko.tomasz at gmail dot com
CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

g++ -D_GNU_SOURCE -DHAVE_CONFIG_H -DLOCALEDIR='"/usr/share/locale"' -I. -I.. 
-I. -I. -I../lib -I.. -I. -I./../libelf -I./../libebl -I./../libdw
-I./../libdwelf  -std=c++11 -Wall -Wshadow -Wtrampolines -Wlogical-op
-Wduplicated-cond -Wnull-dereference -Wimplicit-fallthrough=5 -Werror -Wunused
-Wextra -Wstack-usage=262144   -O2 -g -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-flto=auto -flto-partition=none -c -o debuginfod.o debuginfod.cxx
debuginfod.cxx: In function ‘int main(int, char**)’:
debuginfod.cxx:3157:38: error: invalid conversion from ‘int (*)(void*,
MHD_Connection*, const char*, const char*, const char*, const char*, size_t*,
void**)’ {aka ‘int (*)(void*, MHD_Connection*, const char*, const char*, const
char*, const char*, long unsigned int*, void**)’} to
‘MHD_AccessHandlerCallback’ {aka ‘MHD_Result (*)(void*, MHD_Connection*, const
char*, const char*, const char*, const char*, long unsigned int*, void**)’}
[-fpermissive]
 3157 |  handler_cb, NULL, /* handler
callback */
  |  ^~
  |  |
  |  int (*)(void*, MHD_Connection*,
const char*, const char*, const char*, const char*, size_t*, void**) {aka int
(*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*,
long unsigned int*, void**)}
In file included from debuginfod.cxx:94:
/usr/include/microhttpd.h:2428:45: note:   initializing argument 5 of
‘MHD_Daemon* MHD_start_daemon(unsigned int, uint16_t, MHD_AcceptPolicyCallback,
void*, MHD_AccessHandlerCallback, void*, ...)’
 2428 |   MHD_AccessHandlerCallback dh, void *dh_cls,
  |   ~~^~
debuginfod.cxx:3169:38: error: invalid conversion from ‘int (*)(void*,
MHD_Connection*, const char*, const char*, const char*, const char*, size_t*,
void**)’ {aka ‘int (*)(void*, MHD_Connection*, const char*, const char*, const
char*, const char*, long unsigned int*, void**)’} to
‘MHD_AccessHandlerCallback’ {aka ‘MHD_Result (*)(void*, MHD_Connection*, const
char*, const char*, const char*, const char*, long unsigned int*, void**)’}
[-fpermissive]
 3169 |  handler_cb, NULL, /* handler
callback */
  |  ^~
  |  |
  |  int (*)(void*, MHD_Connection*,
const char*, const char*, const char*, const char*, size_t*, void**) {aka int
(*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*,
long unsigned int*, void**)}
In file included from debuginfod.cxx:94:
/usr/include/microhttpd.h:2428:45: note:   initializing argument 5 of
‘MHD_Daemon* MHD_start_daemon(unsigned int, uint16_t, MHD_AcceptPolicyCallback,
void*, MHD_AccessHandlerCallback, void*, ...)’
 2428 |   MHD_AccessHandlerCallback dh, void *dh_cls,
  |   ~~^~
make[2]: *** [Makefile:606: debuginfod.o] Error 1
make[1]: *** [Makefile:498: all-recursive] Error 1
make: *** [Makefile:414: all] Error 2

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug general/26195] 0.180 + master: build fails

2020-07-02 Thread kloczko.tomasz at gmail dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=26195

--- Comment #3 from kloczek  ---
Tested. That patch works :)

Thx.

[tkloczko@barrel SPECS]$ rpmbuild -ba elfutils.spec
warning: Downloading
https://sourceware.org/git/?p=elfutils.git;a=patch;h=3eaa4421#/elfutils-tests-Add-GCOV-flags-when-necessary.patch
to
/home/tkloczko/rpmbuild/SOURCES/elfutils-tests-Add-GCOV-flags-when-necessary.patch
warning: Downloading
https://sourceware.org/git/?p=elfutils.git;a=patch;h=9698a399#/elfutils-elfutils-configure.ac-use-READELF-not-readelf.patch
to
/home/tkloczko/rpmbuild/SOURCES/elfutils-elfutils-configure.ac-use-READELF-not-readelf.patch
warning: Downloading
https://sourceware.org/git/?p=elfutils.git;a=patch;h=0d70fc0c#/elfutils-backends-Make-the-reloc_nametable-zero-element-an-on.patch
to
/home/tkloczko/rpmbuild/SOURCES/elfutils-backends-Make-the-reloc_nametable-zero-element-an-on.patch
warning: Downloading
https://sourceware.org/git/?p=elfutils.git;a=patch;h=8f206771#/elfutils-libdw-Add-missing-FALLTHROUGH-in-execute_cfi.patch
to
/home/tkloczko/rpmbuild/SOURCES/elfutils-libdw-Add-missing-FALLTHROUGH-in-execute_cfi.patch
warning: Downloading
https://sourceware.org/git/?p=elfutils.git;a=patch;h=3ba91e83#/elfutils-elflint-Explicitly-check-and-ignore-elf_compress-err.patch
to
/home/tkloczko/rpmbuild/SOURCES/elfutils-elflint-Explicitly-check-and-ignore-elf_compress-err.patch
warning: Downloading
https://sourceware.org/git/?p=elfutils.git;a=patch;h=6e369368#/elfutils-libdwfl-When-we-find-a-compressed-image-use-that-don.patch
to
/home/tkloczko/rpmbuild/SOURCES/elfutils-libdwfl-When-we-find-a-compressed-image-use-that-don.patch
warning: Downloading
https://sourceware.org/git/?p=elfutils.git;a=patch;h=af008675#/elfutils-libdwfl-Flag-an-error-if-CIE-return_address_register.patch
to
/home/tkloczko/rpmbuild/SOURCES/elfutils-libdwfl-Flag-an-error-if-CIE-return_address_register.patch
warning: Downloading
https://sourceware.org/git/?p=elfutils.git;a=patch;h=8a8c75c9#/elfutils-ar-ranlib-Call-fchown-before-fchmod-explicitly-check.patch
to
/home/tkloczko/rpmbuild/SOURCES/elfutils-ar-ranlib-Call-fchown-before-fchmod-explicitly-check.patch
warning: Downloading
https://sourceware.org/git/?p=elfutils.git;a=patch;h=a7c5e300#/elfutils-debuginfod-Handle-not-being-able-to-fopen-interval_p.patch
to
/home/tkloczko/rpmbuild/SOURCES/elfutils-debuginfod-Handle-not-being-able-to-fopen-interval_p.patch
warning: Downloading
https://sourceware.org/git/?p=elfutils.git;a=patch;h=6b677bf8#/elfutils-debuginfod-Make-sure-suffix-can-place-zero-terminato.patch
to
/home/tkloczko/rpmbuild/SOURCES/elfutils-debuginfod-Make-sure-suffix-can-place-zero-terminato.patch
warning: Downloading
https://sourceware.org/git/?p=elfutils.git;a=patch;h=90808ed5#/elfutils-debuginfod-Fix-build_id-hexadecimal-length-check.patch
to
/home/tkloczko/rpmbuild/SOURCES/elfutils-debuginfod-Fix-build_id-hexadecimal-length-check.patch
warning: Downloading
https://sourceware.org/git/?p=elfutils.git;a=patch;h=d45cc8a0#/elfutils-debuginfod-Make-sure-handle_data-can-be-allocated-an.patch
to
/home/tkloczko/rpmbuild/SOURCES/elfutils-debuginfod-Make-sure-handle_data-can-be-allocated-an.patch
warning: Downloading
https://sourceware.org/git/?p=elfutils.git;a=patch;h=eff30a6d#/elfutils-libdwfl-read_address-should-use-increasing-address-i.patch
to
/home/tkloczko/rpmbuild/SOURCES/elfutils-libdwfl-read_address-should-use-increasing-address-i.patch
warning: Downloading
https://sourceware.org/bugzilla/attachment.cgi?id=12678#/elfutils-adapt-debuginfod-to-API-change-in-libmicrohttpd-0.9.71.patch
to
/home/tkloczko/rpmbuild/SOURCES/elfutils-adapt-debuginfod-to-API-change-in-libmicrohttpd-0.9.71.patch
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.PjdmB6
+ umask 022
+ cd /home/tkloczko/rpmbuild/BUILD
+ cd /home/tkloczko/rpmbuild/BUILD
+ rm -rf elfutils-0.180
+ /usr/bin/bzip2 -dc /home/tkloczko/rpmbuild/SOURCES/elfutils-0.180.tar.bz2
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd elfutils-0.180
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/bin/cat
/home/tkloczko/rpmbuild/SOURCES/elfutils-tests-Add-GCOV-flags-when-necessary.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat
/home/tkloczko/rpmbuild/SOURCES/elfutils-elfutils-configure.ac-use-READELF-not-readelf.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/elfutils-shebangs.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat
/home/tkloczko/rpmbuild/SOURCES/elfutils-backends-Make-the-reloc_nametable-zero-element-an-on.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat
/home/tkloczko/rpmbuild/SOURCES/elfutils-libdw-Add-missing-FALLTHROUGH-in-execute_cfi.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat
/home/tkloczko/rpmbuild/SOURCES/elfutils-elflint-Explicitly-check-and-ignore-elf_compress-err.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat
/home/tkloc

[Bug general/26195] 0.180 + master: build fails

2020-07-02 Thread kloczko.tomasz at gmail dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=26195

--- Comment #4 from kloczek  ---
s/fixed patch/fixed path/ of course :P

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug general/27366] New: 0.183: test suite is failing on linking dwfl-proc-attach

2021-02-07 Thread kloczko.tomasz at gmail dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=27366

Bug ID: 27366
   Summary: 0.183: test suite is failing on linking
dwfl-proc-attach
   Product: elfutils
   Version: unspecified
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: general
  Assignee: unassigned at sourceware dot org
  Reporter: kloczko.tomasz at gmail dot com
CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

[tkloczko@barrel tests]$ make dwfl-proc-attach
gcc -std=gnu99 -Wall -Wshadow -Wformat=2 -Wold-style-definition
-Wstrict-prototypes -Wtrampolines -Wlogical-op -Wduplicated-cond
-Wnull-dereference -Wimplicit-fallthrough=5 -Werror -Wunused -Wextra
-Wstack-usage=262144   -O2 -g -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-flto=auto -flto-partition=none -fdata-sections -ffunction-sections -Wformat
-Wno-error=stack-usage= -pthread -Wl,-rpath-link,../libasm:../libdw:../libelf 
-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none
-fuse-linker-plugin -Wl,--gc-sections -o dwfl-proc-attach dwfl-proc-attach.o
../libdw/libdw.so
/usr/bin/ld: dwfl-proc-attach.o (symbol from plugin): undefined reference to
symbol 'dlopen@@GLIBC_2.2.5'
/usr/bin/ld: /usr/lib64/libdl.so.2: error adding symbols: DSO missing from
command line
collect2: error: ld returned 1 exit status
make: *** [Makefile:1940: dwfl-proc-attach] Error 1

On first look it looks like missing -ldl on linking.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug general/27366] 0.183: test suite is failing on linking dwfl-proc-attach

2021-02-07 Thread kloczko.tomasz at gmail dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=27366

--- Comment #1 from kloczek  ---
No I was wrong.
But is still fails using glibc, gcc and binutils from rawride.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug general/28263] New: 0.185: test suite fails with sigsegv

2021-08-25 Thread kloczko.tomasz at gmail dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=28263

Bug ID: 28263
   Summary: 0.185: test suite fails with sigsegv
   Product: elfutils
   Version: unspecified
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: general
  Assignee: unassigned at sourceware dot org
  Reporter: kloczko.tomasz at gmail dot com
CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

elfutils compiled with LTO.

==
   elfutils 0.185: tests/test-suite.log
==

# TOTAL: 227
# PASS:  222
# SKIP:  1
# XFAIL: 0
# FAIL:  4
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: run-backtrace-native.sh
=

backtrace: backtrace.c:111: callback_verify: Assertion `symname && strcmp
(symname, "raise") == 0' failed.
./test-subr.sh: line 84: 2583792 Aborted (core dumped)
LD_LIBRARY_PATH="${built_library_path}${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"
$VALGRIND_CMD "$@"
backtrace-child: no main
FAIL run-backtrace-native.sh (exit status: 1)

FAIL: run-backtrace-native-biarch.sh


backtrace: backtrace.c:111: callback_verify: Assertion `symname && strcmp
(symname, "raise") == 0' failed.
./test-subr.sh: line 84: 2583882 Aborted (core dumped)
LD_LIBRARY_PATH="${built_library_path}${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"
$VALGRIND_CMD "$@"
backtrace-child-biarch: no main
FAIL run-backtrace-native-biarch.sh (exit status: 1)

FAIL: run-backtrace-native-core.sh
==

/usr/bin/coredumpctl
   PID: 2583912 (backtrace-child)
   UID: 1000 (tkloczko)
   GID: 1000 (tkloczko)
Signal: 6 (ABRT)
 Timestamp: Wed 2021-08-25 09:15:04 BST (1s ago)
  Command Line:
/home/tkloczko/rpmbuild/BUILD/elfutils-0.185/tests/backtrace-child --gencore
Executable:
/home/tkloczko/rpmbuild/BUILD/elfutils-0.185/tests/backtrace-child
 Control Group: /user.slice/user-1000.slice/session-2594.scope
  Unit: session-2594.scope
 Slice: user-1000.slice
   Session: 2594
 Owner UID: 1000 (tkloczko)
   Boot ID: dacb7fefc2824304bb9d4576770821a4
Machine ID: d033f66b249a4ec09acfa81ac205554f
  Hostname: barrel
   Storage:
/var/lib/systemd/coredump/core.backtrace-child.1000.dacb7fefc2824304bb9d4576770821a4.2583912.162987930400.zst
   Message: Process 2583912 (backtrace-child) of user 1000 dumped core.

Stack trace of thread 2583929:
#0  0x7f986c886783 pthread_kill@GLIBC_2.2.5 (libc.so.6 +
0x8f783)
#1  0x7f986c8396b6 raise (libc.so.6 + 0x426b6)
#2  0x56208bd93521 n/a
(/home/tkloczko/rpmbuild/BUILD/elfutils-0.185/tests/backtrace-child + 0x1521)
backtrace: backtrace.c:111: callback_verify: Assertion `symname && strcmp
(symname, "raise") == 0' failed.
./test-subr.sh: line 84: 2587340 Aborted (core dumped)
LD_LIBRARY_PATH="${built_library_path}${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"
$VALGRIND_CMD "$@"
backtrace-child-core.2583912: no main
rmdir: failed to remove 'test-2583798': Directory not empty
FAIL run-backtrace-native-core.sh (exit status: 1)

FAIL: run-backtrace-native-core-biarch.sh
=

/usr/bin/coredumpctl
   PID: 2587430 (backtrace-child)
   UID: 1000 (tkloczko)
   GID: 1000 (tkloczko)
Signal: 6 (ABRT)
 Timestamp: Wed 2021-08-25 09:15:05 BST (2s ago)
  Command Line:
/home/tkloczko/rpmbuild/BUILD/elfutils-0.185/tests/backtrace-child-biarch
--gencore
Executable:
/home/tkloczko/rpmbuild/BUILD/elfutils-0.185/tests/backtrace-child-biarch
 Control Group: /user.slice/user-1000.slice/session-2594.scope
  Unit: session-2594.scope
 Slice: user-1000.slice
   Session: 2594
 Owner UID: 1000 (tkloczko)
   Boot ID: dacb7fefc2824304bb9d4576770821a4
Machine ID: d033f66b249a4ec09acfa81ac205554f
  Hostname: barrel
   Storage:
/var/lib/systemd/coredump/core.backtrace-child.1000.dacb7fefc2824304bb9d4576770821a4.2587430.162987930500.zst
   Message: Process 2587430 (backtrace-child) of user 1000 dumped core.

Stack trace of thread 2587431:
#0  0x7f19ac3ca783 pthread_kill@GLIBC_2.2.5 (libc.so.6 +
0x8f783)
#1  0x7f19ac37d6b6 raise (libc.so.6 + 0x426b6)
#2  0x55a8a232d521 n/a
(/home/tkloczko/rpmbuild/BUILD/elfutils-0.185/tests/backtrace-child-biarch +
0x1521)
backtrace: backtrace.c:111: callback_verify: Assertion `symname && strcmp
(symname, "raise") == 0' failed.
./test-subr.sh: line 84: 2587720 Aborted (core dumped)
LD_LIBRARY_PATH="${buil

[Bug general/28263] 0.185: test suite fails with sigsegv

2021-08-25 Thread kloczko.tomasz at gmail dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=28263

--- Comment #1 from kloczek  ---
Correction. I'm building elfutils with disabled LTO.

gcc version 11.2.1 20210728 (Red Hat 11.2.1-1) (GCC)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug general/27366] 0.183: test suite is failing on linking dwfl-proc-attach (with lto)

2021-11-11 Thread kloczko.tomasz at gmail dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=27366

--- Comment #5 from kloczek  ---
Will back to you shortly with test made on top of latest 0.186.
One sec ..

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug general/28263] 0.185: test suite fails with sigsegv

2021-11-11 Thread kloczko.tomasz at gmail dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=28263

kloczek  changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED

--- Comment #3 from kloczek  ---
With latest gcc looks like it is OK now.

Closing.

/usr/bin/make  check-TESTS
PASS: newfile
PASS: test-nlist
PASS: update1
PASS: update2
PASS: update4
PASS: update3
PASS: run-ar.sh
PASS: run-arsymtest.sh
PASS: run-get-pubnames.sh
PASS: run-get-lines.sh
PASS: run-get-aranges.sh
PASS: hash
PASS: run-show-abbrev.sh
PASS: newscn
PASS: run-next-lines.sh
PASS: run-get-files.sh
PASS: run-next-files.sh
PASS: run-line2addr.sh
PASS: run-allfcts.sh
PASS: run-strip-test3.sh
PASS: run-strip-test.sh
PASS: run-strip-test2.sh
PASS: run-strip-test4.sh
PASS: run-strip-test5.sh
PASS: run-strip-test6.sh
PASS: run-strip-test7.sh
PASS: run-strip-test9.sh
PASS: run-show-die-info.sh
PASS: run-strip-test8.sh
PASS: run-strip-test11.sh
PASS: run-strip-test10.sh
PASS: run-strip-test12.sh
PASS: run-strip-groups.sh
PASS: run-unstrip-test.sh
PASS: run-unstrip-test2.sh
PASS: run-strip-nobitsalign.sh
PASS: run-unstrip-test3.sh
PASS: run-unstrip-M.sh
PASS: run-strip-nothing.sh
PASS: run-ecp-test.sh
PASS: run-ecp-test2.sh
PASS: run-elfstrmerge-test.sh
PASS: run-alldts.sh
PASS: run-strip-g.sh
PASS: run-annobingroup.sh
PASS: run-ranlib-test.sh
PASS: run-ranlib-test2.sh
PASS: run-ranlib-test3.sh
PASS: run-strip-strmerge.sh
PASS: run-ranlib-test4.sh
PASS: run-funcscopes.sh
PASS: run-addrscopes.sh
PASS: run-unstrip-test4.sh
PASS: run-strings-test.sh
PASS: run-elflint-test.sh
PASS: run-dwarfcfi.sh
PASS: run-nm-syms.sh
PASS: run-find-prologues.sh
PASS: run-readelf-info-plus.sh
PASS: run-readelf-const-values.sh
PASS: run-readelf-compressed.sh
PASS: run-addrcfi.sh
PASS: run-readelf-test1.sh
PASS: run-allregs.sh
PASS: run-readelf-test2.sh
PASS: run-varlocs-self.sh
PASS: run-readelf-test3.sh
PASS: run-readelf-test4.sh
PASS: run-readelf-macro.sh
PASS: run-readelf-twofiles.sh
PASS: run-readelf-aranges.sh
PASS: run-arextract.sh
PASS: run-readelf-frames.sh
PASS: run-readelf-ranges.sh
PASS: run-readelf-line.sh
PASS: run-readelf-loc.sh
PASS: run-strip-remove-keep.sh
PASS: run-readelf-z.sh
PASS: run-bug1-test.sh
PASS: run-retain.sh
PASS: dwfl-bug-addr-overflow
PASS: run-debuglink.sh
PASS: run-debugaltlink.sh
PASS: run-buildid.sh
PASS: run-readelf-n.sh
PASS: dwfl-bug-report
PASS: run-exprlocs-self.sh
PASS: dwfl-report-segment-contiguous
PASS: run-dwfl-bug-offline-rel.sh
PASS: run-dwfl-addr-sect.sh
PASS: run-early-offscn.sh
PASS: run-elflint-self.sh
PASS: run-dwarf-getmacros.sh
PASS: run-test-flag-nobits.sh
PASS: run-dwarf-ranges.sh
PASS: run-dwarf-getstring.sh
PASS: run-disasm-x86.sh
PASS: run-rerequest_tag.sh
PASS: run-readelf-d.sh
PASS: run-addrname-test.sh
PASS: run-typeiter.sh
PASS: run-disasm-x86-64.sh
PASS: run-readelf-gdb_index.sh
PASS: run-elf_cntl_gelf_getshdr.sh
PASS: run-macro-test.sh
PASS: run-test-archive64.sh
PASS: run-readelf-vmcoreinfo.sh
PASS: run-unstrip-n.sh
PASS: run-readelf-variant.sh
PASS: run-readelf-fat-lto.sh
PASS: run-dwfl-report-elf-align.sh
PASS: run-prelink-addr-test.sh
PASS: run-low_high_pc.sh
PASS: run-addr2line-i-demangle-test.sh
PASS: run-readelf-mixed-corenote.sh
PASS: run-addr2line-i-lex-test.sh
PASS: run-dwfllines.sh
PASS: run-addr2line-alt-debugpath.sh
PASS: run-addr2line-test.sh
PASS: run-exprlocs.sh
PASS: run-funcretval.sh
PASS: run-backtrace-native.sh
PASS: run-backtrace-data.sh
PASS: run-addr2line-i-test.sh
PASS: run-backtrace-dwarf.sh
PASS: run-backtrace-native-biarch.sh
PASS: run-varlocs-vars.sh
PASS: run-varlocs.sh
PASS: run-backtrace-core-x86_64.sh
PASS: run-backtrace-fp-core-x86_64.sh
PASS: run-backtrace-fp-core-aarch64.sh
PASS: run-backtrace-fp-core-ppc64le.sh
PASS: run-backtrace-core-x32.sh
PASS: run-backtrace-core-i386.sh
PASS: run-backtrace-fp-core-i386.sh
PASS: run-backtrace-core-ppc.sh
PASS: run-native-test.sh
PASS: run-nm-self.sh
PASS: run-backtrace-demangle.sh
PASS: run-backtrace-core-s390x.sh
PASS: run-backtrace-core-s390.sh
PASS: run-backtrace-core-aarch64.sh
PASS: run-stack-d-test.sh
PASS: run-backtrace-core-sparc.sh
PASS: run-stack-i-test.sh
PASS: run-readelf-zp.sh
PASS: run-readelf-zx.sh
PASS: run-stack-demangled-test.sh
PASS: run-readelf-addr.sh
PASS: run-readelf-multi-noline.sh
PASS: run-readelf-types.sh
PASS: run-readelf-str.sh
PASS: run-linkmap-cut.sh
PASS: run-peel-type.sh
PASS: run-readelf-dwz-multi.sh
PASS: vdsosyms
PASS: run-aggregate-size.sh
PASS: run-allfcts-multi.sh
PASS: run-strptr.sh
PASS: dwfl-proc-attach
PASS: newdata
PASS: elfstrtab
PASS: elfshphehdr
PASS: run-readelf-A.sh
PASS: run-getsrc-die.sh
SKIP: run-lfs-symbols.sh
PASS: run-zstrptr.sh
PASS: run-dwelfgnucompressed.sh
PASS: run-elfgetzdata.sh
PASS: run-elfputzdata.sh
PASS: emptyfile
PASS: run-elfgetchdr.sh
PASS: vendorelf
PASS: fillfile
PASS: dwarf_default_lower_bound
PASS: run-readelf-zdebug.sh
PASS: run-readelf-zdebug-rel.sh
PASS: run-at

[Bug general/28263] 0.185: test suite fails with sigsegv

2021-11-11 Thread kloczko.tomasz at gmail dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=28263

--- Comment #4 from kloczek  ---
With latest gcc looks like it is OK now.

Closing.

/usr/bin/make  check-TESTS
PASS: newfile
PASS: test-nlist
PASS: update1
PASS: update2
PASS: update4
PASS: update3
PASS: run-ar.sh
PASS: run-arsymtest.sh
PASS: run-get-pubnames.sh
PASS: run-get-lines.sh
PASS: run-get-aranges.sh
PASS: hash
PASS: run-show-abbrev.sh
PASS: newscn
PASS: run-next-lines.sh
PASS: run-get-files.sh
PASS: run-next-files.sh
PASS: run-line2addr.sh
PASS: run-allfcts.sh
PASS: run-strip-test3.sh
PASS: run-strip-test.sh
PASS: run-strip-test2.sh
PASS: run-strip-test4.sh
PASS: run-strip-test5.sh
PASS: run-strip-test6.sh
PASS: run-strip-test7.sh
PASS: run-strip-test9.sh
PASS: run-show-die-info.sh
PASS: run-strip-test8.sh
PASS: run-strip-test11.sh
PASS: run-strip-test10.sh
PASS: run-strip-test12.sh
PASS: run-strip-groups.sh
PASS: run-unstrip-test.sh
PASS: run-unstrip-test2.sh
PASS: run-strip-nobitsalign.sh
PASS: run-unstrip-test3.sh
PASS: run-unstrip-M.sh
PASS: run-strip-nothing.sh
PASS: run-ecp-test.sh
PASS: run-ecp-test2.sh
PASS: run-elfstrmerge-test.sh
PASS: run-alldts.sh
PASS: run-strip-g.sh
PASS: run-annobingroup.sh
PASS: run-ranlib-test.sh
PASS: run-ranlib-test2.sh
PASS: run-ranlib-test3.sh
PASS: run-strip-strmerge.sh
PASS: run-ranlib-test4.sh
PASS: run-funcscopes.sh
PASS: run-addrscopes.sh
PASS: run-unstrip-test4.sh
PASS: run-strings-test.sh
PASS: run-elflint-test.sh
PASS: run-dwarfcfi.sh
PASS: run-nm-syms.sh
PASS: run-find-prologues.sh
PASS: run-readelf-info-plus.sh
PASS: run-readelf-const-values.sh
PASS: run-readelf-compressed.sh
PASS: run-addrcfi.sh
PASS: run-readelf-test1.sh
PASS: run-allregs.sh
PASS: run-readelf-test2.sh
PASS: run-varlocs-self.sh
PASS: run-readelf-test3.sh
PASS: run-readelf-test4.sh
PASS: run-readelf-macro.sh
PASS: run-readelf-twofiles.sh
PASS: run-readelf-aranges.sh
PASS: run-arextract.sh
PASS: run-readelf-frames.sh
PASS: run-readelf-ranges.sh
PASS: run-readelf-line.sh
PASS: run-readelf-loc.sh
PASS: run-strip-remove-keep.sh
PASS: run-readelf-z.sh
PASS: run-bug1-test.sh
PASS: run-retain.sh
PASS: dwfl-bug-addr-overflow
PASS: run-debuglink.sh
PASS: run-debugaltlink.sh
PASS: run-buildid.sh
PASS: run-readelf-n.sh
PASS: dwfl-bug-report
PASS: run-exprlocs-self.sh
PASS: dwfl-report-segment-contiguous
PASS: run-dwfl-bug-offline-rel.sh
PASS: run-dwfl-addr-sect.sh
PASS: run-early-offscn.sh
PASS: run-elflint-self.sh
PASS: run-dwarf-getmacros.sh
PASS: run-test-flag-nobits.sh
PASS: run-dwarf-ranges.sh
PASS: run-dwarf-getstring.sh
PASS: run-disasm-x86.sh
PASS: run-rerequest_tag.sh
PASS: run-readelf-d.sh
PASS: run-addrname-test.sh
PASS: run-typeiter.sh
PASS: run-disasm-x86-64.sh
PASS: run-readelf-gdb_index.sh
PASS: run-elf_cntl_gelf_getshdr.sh
PASS: run-macro-test.sh
PASS: run-test-archive64.sh
PASS: run-readelf-vmcoreinfo.sh
PASS: run-unstrip-n.sh
PASS: run-readelf-variant.sh
PASS: run-readelf-fat-lto.sh
PASS: run-dwfl-report-elf-align.sh
PASS: run-prelink-addr-test.sh
PASS: run-low_high_pc.sh
PASS: run-addr2line-i-demangle-test.sh
PASS: run-readelf-mixed-corenote.sh
PASS: run-addr2line-i-lex-test.sh
PASS: run-dwfllines.sh
PASS: run-addr2line-alt-debugpath.sh
PASS: run-addr2line-test.sh
PASS: run-exprlocs.sh
PASS: run-funcretval.sh
PASS: run-backtrace-native.sh
PASS: run-backtrace-data.sh
PASS: run-addr2line-i-test.sh
PASS: run-backtrace-dwarf.sh
PASS: run-backtrace-native-biarch.sh
PASS: run-varlocs-vars.sh
PASS: run-varlocs.sh
PASS: run-backtrace-core-x86_64.sh
PASS: run-backtrace-fp-core-x86_64.sh
PASS: run-backtrace-fp-core-aarch64.sh
PASS: run-backtrace-fp-core-ppc64le.sh
PASS: run-backtrace-core-x32.sh
PASS: run-backtrace-core-i386.sh
PASS: run-backtrace-fp-core-i386.sh
PASS: run-backtrace-core-ppc.sh
PASS: run-native-test.sh
PASS: run-nm-self.sh
PASS: run-backtrace-demangle.sh
PASS: run-backtrace-core-s390x.sh
PASS: run-backtrace-core-s390.sh
PASS: run-backtrace-core-aarch64.sh
PASS: run-stack-d-test.sh
PASS: run-backtrace-core-sparc.sh
PASS: run-stack-i-test.sh
PASS: run-readelf-zp.sh
PASS: run-readelf-zx.sh
PASS: run-stack-demangled-test.sh
PASS: run-readelf-addr.sh
PASS: run-readelf-multi-noline.sh
PASS: run-readelf-types.sh
PASS: run-readelf-str.sh
PASS: run-linkmap-cut.sh
PASS: run-peel-type.sh
PASS: run-readelf-dwz-multi.sh
PASS: vdsosyms
PASS: run-aggregate-size.sh
PASS: run-allfcts-multi.sh
PASS: run-strptr.sh
PASS: dwfl-proc-attach
PASS: newdata
PASS: elfstrtab
PASS: elfshphehdr
PASS: run-readelf-A.sh
PASS: run-getsrc-die.sh
SKIP: run-lfs-symbols.sh
PASS: run-zstrptr.sh
PASS: run-dwelfgnucompressed.sh
PASS: run-elfgetzdata.sh
PASS: run-elfputzdata.sh
PASS: emptyfile
PASS: run-elfgetchdr.sh
PASS: vendorelf
PASS: fillfile
PASS: dwarf_default_lower_bound
PASS: run-readelf-zdebug.sh
PASS: run-readelf-zdebug-rel.sh
PASS: run-attr-integrate-skel.sh
PASS: run-get-units-invalid.sh
PASS: run-all-dwarf-ranges.sh
PASS: run-reloc-bpf.sh
PASS: run-dwarf-die-addr-die.sh
PASS: run-get-units-split.sh
PASS: run-unit-info.sh
PASS: run-backtrace

[Bug general/27366] 0.183: test suite is failing on linking dwfl-proc-attach (with lto)

2021-11-11 Thread kloczko.tomasz at gmail dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=27366

kloczek  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED

--- Comment #6 from kloczek  ---
With latest gcc looks like it is OK now.

Closing.

/usr/bin/make  check-TESTS
PASS: newfile
PASS: test-nlist
PASS: update1
PASS: update2
PASS: update4
PASS: update3
PASS: run-ar.sh
PASS: run-arsymtest.sh
PASS: run-get-pubnames.sh
PASS: run-get-lines.sh
PASS: run-get-aranges.sh
PASS: hash
PASS: run-show-abbrev.sh
PASS: newscn
PASS: run-next-lines.sh
PASS: run-get-files.sh
PASS: run-next-files.sh
PASS: run-line2addr.sh
PASS: run-allfcts.sh
PASS: run-strip-test3.sh
PASS: run-strip-test.sh
PASS: run-strip-test2.sh
PASS: run-strip-test4.sh
PASS: run-strip-test5.sh
PASS: run-strip-test6.sh
PASS: run-strip-test7.sh
PASS: run-strip-test9.sh
PASS: run-show-die-info.sh
PASS: run-strip-test8.sh
PASS: run-strip-test11.sh
PASS: run-strip-test10.sh
PASS: run-strip-test12.sh
PASS: run-strip-groups.sh
PASS: run-unstrip-test.sh
PASS: run-unstrip-test2.sh
PASS: run-strip-nobitsalign.sh
PASS: run-unstrip-test3.sh
PASS: run-unstrip-M.sh
PASS: run-strip-nothing.sh
PASS: run-ecp-test.sh
PASS: run-ecp-test2.sh
PASS: run-elfstrmerge-test.sh
PASS: run-alldts.sh
PASS: run-strip-g.sh
PASS: run-annobingroup.sh
PASS: run-ranlib-test.sh
PASS: run-ranlib-test2.sh
PASS: run-ranlib-test3.sh
PASS: run-strip-strmerge.sh
PASS: run-ranlib-test4.sh
PASS: run-funcscopes.sh
PASS: run-addrscopes.sh
PASS: run-unstrip-test4.sh
PASS: run-strings-test.sh
PASS: run-elflint-test.sh
PASS: run-dwarfcfi.sh
PASS: run-nm-syms.sh
PASS: run-find-prologues.sh
PASS: run-readelf-info-plus.sh
PASS: run-readelf-const-values.sh
PASS: run-readelf-compressed.sh
PASS: run-addrcfi.sh
PASS: run-readelf-test1.sh
PASS: run-allregs.sh
PASS: run-readelf-test2.sh
PASS: run-varlocs-self.sh
PASS: run-readelf-test3.sh
PASS: run-readelf-test4.sh
PASS: run-readelf-macro.sh
PASS: run-readelf-twofiles.sh
PASS: run-readelf-aranges.sh
PASS: run-arextract.sh
PASS: run-readelf-frames.sh
PASS: run-readelf-ranges.sh
PASS: run-readelf-line.sh
PASS: run-readelf-loc.sh
PASS: run-strip-remove-keep.sh
PASS: run-readelf-z.sh
PASS: run-bug1-test.sh
PASS: run-retain.sh
PASS: dwfl-bug-addr-overflow
PASS: run-debuglink.sh
PASS: run-debugaltlink.sh
PASS: run-buildid.sh
PASS: run-readelf-n.sh
PASS: dwfl-bug-report
PASS: run-exprlocs-self.sh
PASS: dwfl-report-segment-contiguous
PASS: run-dwfl-bug-offline-rel.sh
PASS: run-dwfl-addr-sect.sh
PASS: run-early-offscn.sh
PASS: run-elflint-self.sh
PASS: run-dwarf-getmacros.sh
PASS: run-test-flag-nobits.sh
PASS: run-dwarf-ranges.sh
PASS: run-dwarf-getstring.sh
PASS: run-disasm-x86.sh
PASS: run-rerequest_tag.sh
PASS: run-readelf-d.sh
PASS: run-addrname-test.sh
PASS: run-typeiter.sh
PASS: run-disasm-x86-64.sh
PASS: run-readelf-gdb_index.sh
PASS: run-elf_cntl_gelf_getshdr.sh
PASS: run-macro-test.sh
PASS: run-test-archive64.sh
PASS: run-readelf-vmcoreinfo.sh
PASS: run-unstrip-n.sh
PASS: run-readelf-variant.sh
PASS: run-readelf-fat-lto.sh
PASS: run-dwfl-report-elf-align.sh
PASS: run-prelink-addr-test.sh
PASS: run-low_high_pc.sh
PASS: run-addr2line-i-demangle-test.sh
PASS: run-readelf-mixed-corenote.sh
PASS: run-addr2line-i-lex-test.sh
PASS: run-dwfllines.sh
PASS: run-addr2line-alt-debugpath.sh
PASS: run-addr2line-test.sh
PASS: run-exprlocs.sh
PASS: run-funcretval.sh
PASS: run-backtrace-native.sh
PASS: run-backtrace-data.sh
PASS: run-addr2line-i-test.sh
PASS: run-backtrace-dwarf.sh
PASS: run-backtrace-native-biarch.sh
PASS: run-varlocs-vars.sh
PASS: run-varlocs.sh
PASS: run-backtrace-core-x86_64.sh
PASS: run-backtrace-fp-core-x86_64.sh
PASS: run-backtrace-fp-core-aarch64.sh
PASS: run-backtrace-fp-core-ppc64le.sh
PASS: run-backtrace-core-x32.sh
PASS: run-backtrace-core-i386.sh
PASS: run-backtrace-fp-core-i386.sh
PASS: run-backtrace-core-ppc.sh
PASS: run-native-test.sh
PASS: run-nm-self.sh
PASS: run-backtrace-demangle.sh
PASS: run-backtrace-core-s390x.sh
PASS: run-backtrace-core-s390.sh
PASS: run-backtrace-core-aarch64.sh
PASS: run-stack-d-test.sh
PASS: run-backtrace-core-sparc.sh
PASS: run-stack-i-test.sh
PASS: run-readelf-zp.sh
PASS: run-readelf-zx.sh
PASS: run-stack-demangled-test.sh
PASS: run-readelf-addr.sh
PASS: run-readelf-multi-noline.sh
PASS: run-readelf-types.sh
PASS: run-readelf-str.sh
PASS: run-linkmap-cut.sh
PASS: run-peel-type.sh
PASS: run-readelf-dwz-multi.sh
PASS: vdsosyms
PASS: run-aggregate-size.sh
PASS: run-allfcts-multi.sh
PASS: run-strptr.sh
PASS: dwfl-proc-attach
PASS: newdata
PASS: elfstrtab
PASS: elfshphehdr
PASS: run-readelf-A.sh
PASS: run-getsrc-die.sh
SKIP: run-lfs-symbols.sh
PASS: run-zstrptr.sh
PASS: run-dwelfgnucompressed.sh
PASS: run-elfgetzdata.sh
PASS: run-elfputzdata.sh
PASS: emptyfile
PASS: run-elfgetchdr.sh
PASS: vendorelf
PASS: fillfile
PASS: dwarf_default_lower_bound
PASS: run-reade

[Bug general/29103] New: 0.187: test suite is failing

2022-04-29 Thread kloczko.tomasz at gmail dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=29103

Bug ID: 29103
   Summary: 0.187: test suite is failing
   Product: elfutils
   Version: unspecified
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: general
  Assignee: unassigned at sourceware dot org
  Reporter: kloczko.tomasz at gmail dot com
CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

Looks like test suite is failing.

part of the log (full in attachment)

FAIL: run-debuginfod-dlopen.sh
FAIL: run-debuginfod-archive-groom.sh
FAIL: run-debuginfod-negative-cache.sh
PASS: run-debuginfod-fd-prefetch-caches.sh
FAIL: run-debuginfod-extraction.sh
FAIL: run-debuginfod-archive-rename.sh
PASS: run-debuginfod-x-forwarded-for.sh
PASS: run-compress-test.sh
PASS: run-strip-test-many.sh
PASS: run-elfclassify.sh
FAIL: run-debuginfod-malformed.sh
FAIL: run-debuginfod-writable.sh
FAIL: run-debuginfod-tmp-home.sh
PASS: run-debuginfod-no-urls.sh
PASS: run-debuginfod-percent-escape.sh
FAIL: run-debuginfod-archive-test.sh
PASS: run-debuginfod-sizetime.sh
PASS: run-debuginfod-extraction-passive.sh
PASS: run-readelf-self.sh
FAIL: run-debuginfod-artifact-running.sh
PASS: run-debuginfod-response-headers.sh
PASS: run-debuginfod-regex.sh
PASS: run-debuginfod-federation-link.sh
SKIP: run-backtrace-native-core-biarch.sh
PASS: run-copymany-sections.sh
SKIP: run-backtrace-native-core.sh
PASS: run-debuginfod-federation-metrics.sh
PASS: run-debuginfod-federation-sqlite.sh
PASS: run-strip-reloc.sh
PASS: run-debuginfod-webapi-concurrency.sh
PASS: run-large-elf-file.sh
==
   elfutils 0.187: tests/test-suite.log
==

# TOTAL: 256
# PASS:  243
# SKIP:  3
# XFAIL: 0
# FAIL:  10
# XPASS: 0
# ERROR: 0

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug general/29103] 0.187: test suite is failing

2022-04-29 Thread kloczko.tomasz at gmail dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=29103

--- Comment #2 from kloczek  ---
OK one sec.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug general/29103] 0.187: test suite is failing

2022-04-29 Thread kloczko.tomasz at gmail dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=29103

--- Comment #3 from kloczek  ---
Created attachment 14085
  --> https://sourceware.org/bugzilla/attachment.cgi?id=14085&action=edit
Full build log

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug general/29103] 0.187: test suite is failing

2022-04-29 Thread kloczko.tomasz at gmail dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=29103

--- Comment #5 from kloczek  ---
Yep I'm using procps 4.0.0.
OK I've temporary disabled test suite execution in my builds as looks lik eit
it is not elfutils issue.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug general/29103] 0.187: test suite is failing

2022-04-29 Thread kloczko.tomasz at gmail dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=29103

kloczek  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED

--- Comment #7 from kloczek  ---
Just tested with elfutils with procps-ng with provided fix by maintainer and
test suite is OK.
Thank you for pointing on that ps issue :)

Closing.

-- 
You are receiving this mail because:
You are on the CC list for the bug.