https://sourceware.org/bugzilla/show_bug.cgi?id=33723

--- Comment #8 from Yanko Kaneti <yaneti at declera dot com> ---
The first of many similar while building bcc with the same static libbpf

gcc -O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall
-Wno-complain-wrong-lang -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  -fasynchronous-unwind-tables
-fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
/builddir/build/BUILD/bcc-0.35.0-build/bcc-0.35.0/libbpf-tools/.output/bashreadline.o
/builddir/build/BUILD/bcc-0.35.0-build/bcc-0.35.0/libbpf-tools/.output/trace_helpers.o
/builddir/build/BUILD/bcc-0.35.0-build/bcc-0.35.0/libbpf-tools/.output/syscall_helpers.o
/builddir/build/BUILD/bcc-0.35.0-build/bcc-0.35.0/libbpf-tools/.output/errno_helpers.o
/builddir/build/BUILD/bcc-0.35.0-build/bcc-0.35.0/libbpf-tools/.output/map_helpers.o
/builddir/build/BUILD/bcc-0.35.0-build/bcc-0.35.0/libbpf-tools/.output/uprobe_helpers.o
/builddir/build/BUILD/bcc-0.35.0-build/bcc-0.35.0/libbpf-tools/.output/btf_helpers.o
/builddir/build/BUILD/bcc-0.35.0-build/bcc-0.35.0/libbpf-tools/.output/compat.o
/usr/lib64/libbpf.a -Wl,-z,relro -Wl,--as-needed   -Wl,-z,now
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1
-specs=/usr/lib/rpm/redhat/redhat-package-notes   -lelf -lz -o bashreadline
/usr/bin/ld: /usr/lib64/libbpf.a(btf.o): access beyond end of merged section
(603)
/usr/bin/ld: /usr/lib64/libbpf.a(btf.o): access beyond end of merged section
(594)
/usr/bin/ld: /usr/lib64/libbpf.a(btf.o): access beyond end of merged section
(582)
/usr/bin/ld: /usr/lib64/libbpf.a(libbpf.o): access beyond end of merged section
(750)
/usr/bin/ld: /usr/lib64/libbpf.a(libbpf_probes.o): access beyond end of merged
section (397)
/usr/bin/ld: /usr/lib64/libbpf.a(ringbuf.o): access beyond end of merged
section (431)
/usr/bin/ld: /usr/lib64/libbpf.a(strset.o): access beyond end of merged section
(245)
/usr/bin/ld: /usr/lib64/libbpf.a(usdt.o): access beyond end of merged section
(490)
/usr/bin/ld: /usr/lib64/libbpf.a(usdt.o): access beyond end of merged section
(504)
/usr/bin/ld: /usr/lib64/libbpf.a(zip.o): access beyond end of merged section
(314)
/usr/bin/ld: /usr/lib64/libbpf.a(elf.o): access beyond end of merged section
(329)
/usr/bin/ld: /usr/lib64/libbpf.a(btf_relocate.o): access beyond end of merged
section (240)

I guess if needed I could instrument the bcc build with save-temps.

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

Reply via email to