Issue 46898 in oss-fuzz: elfutils:fuzz-libelf: Timeout in fuzz-libelf

2022-05-06 Thread ClusterFuzz-External via monorail via Elfutils-devel
Updates: Labels: ClusterFuzz-Verified Status: Verified Comment #1 on issue 46898 by ClusterFuzz-External: elfutils:fuzz-libelf: Timeout in fuzz-libelf https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=46898#c1 ClusterFuzz testcase 6521986165112832 is verified as fixed in htt

_FORTIFY_SOURCE=3 fail for gcc 12/glibc 2.35

2022-05-06 Thread Petr Ovtchenkov
Hi, _FORTIFY_SOURCE=3 fail to compile with gcc 12/glibc 2.35. Used: (GCC) 12.0.1 20220504 (prerelease) glibc ec5b79aac768 (release/2.35/master) In file included from /x86_64-unknown-linux-gnu/usr/include/features.h:490, from .../x86_64-unknown-linux-gnu/usr/include/asse

[PATCH 2/2] drop _FORTIFY_SOURCE for host build

2022-05-06 Thread Petr Ovtchenkov
Check for _FORTIFY_SOURCE level was made for target, not for build host. This level may not satisfy to libc on host. Fortification for build tools looks insignificant, so just drop -D_FORTIFY_SOURCE=... definition for host compiler. --- lib-host/Makefile.am | 1 + libcpu/Makefile.am | 1 + 2 fil

[PATCH 1/2] support cross compilation

2022-05-06 Thread Petr Ovtchenkov
Possible problem with out-of-tree build expected --- Makefile.am | 2 +- configure.ac | 6 ++ lib-host/Makefile.am | 47 libcpu/Makefile.am | 11 +++ 4 files changed, 65 insertions(+), 1 deletion(-) create mode 100644 l

[PATCH 0/2] cross-build support, updated

2022-05-06 Thread Petr Ovtchenkov
Cross-build support updated for 59158656f3b: - build libeu.a for build host arch (in lib-host); - build i386_gendis for build host arch; - use i386_gendis for generating; - avoid _FORTIFY_SOURCE for helper programs on build host, this may not correspond to target _FORTIFY_SOURCE level.