All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla@busybox.net
To: buildroot@uclibc.org
Subject: [Buildroot] [Bug 15760] New: bpftool v7.1.0 Building failed
Date: Thu, 07 Sep 2023 06:15:27 +0000	[thread overview]
Message-ID: <bug-15760-163@https.bugs.busybox.net/> (raw)

https://bugs.busybox.net/show_bug.cgi?id=15760

            Bug ID: 15760
           Summary: bpftool v7.1.0 Building failed
           Product: buildroot
           Version: 2023.08
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: critical
          Priority: P5
         Component: Other
          Assignee: unassigned@buildroot.uclibc.org
          Reporter: joerg.hering@macgregor.com
                CC: buildroot@uclibc.org
  Target Milestone: ---

Created attachment 9637
  --> https://bugs.busybox.net/attachment.cgi?id=9637&action=edit
the config file for building target

the attached congiguration compile successfully under 2023.05.2 and 2023.02.4
but under 2023-08 no more. toolchain issue ?


PATH="/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/bin:/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/sbin:/home/jhering/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
PATH="/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/bin:/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/sbin:/home/jhering/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
AR="/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/bin/aarch64-none-linux-gnu-gcc-ar"
AS="/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/bin/aarch64-none-linux-gnu-as"
LD="/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/bin/aarch64-none-linux-gnu-ld"
NM="/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/bin/aarch64-none-linux-gnu-gcc-nm"
CC="/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/bin/aarch64-none-linux-gnu-gcc"
GCC="/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/bin/aarch64-none-linux-gnu-gcc"
CPP="/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/bin/aarch64-none-linux-gnu-cpp"
CXX="/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/bin/aarch64-none-linux-gnu-g++"
FC="/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/bin/aarch64-none-linux-gnu-gfortran"
F77="/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/bin/aarch64-none-linux-gnu-gfortran"
RANLIB="/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/bin/aarch64-none-linux-gnu-gcc-ranlib"
READELF="/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/bin/aarch64-none-linux-gnu-readelf"
STRIP="/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/bin/aarch64-none-linux-gnu-strip"
OBJCOPY="/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/bin/aarch64-none-linux-gnu-objcopy"
OBJDUMP="/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/bin/aarch64-none-linux-gnu-objdump"
AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as"
CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc"
CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld"
CPPFLAGS_FOR_BUILD="-I/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/include"
CFLAGS_FOR_BUILD="-O2
-I/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/include"
CXXFLAGS_FOR_BUILD="-O2
-I/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/include"
LDFLAGS_FOR_BUILD="-L/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/lib
-Wl,-rpath,/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/lib"
FCFLAGS_FOR_BUILD=""
DEFAULT_ASSEMBLER="/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/bin/aarch64-none-linux-gnu-as"
DEFAULT_LINKER="/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/bin/aarch64-none-linux-gnu-ld"
CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -O2
-g0 -D_FORTIFY_SOURCE=1" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64  -O2 -g0 -D_FORTIFY_SOURCE=1" LDFLAGS="" FCFLAGS=" -O2
-g0" FFLAGS=" -O2 -g0"
PKG_CONFIG="/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/bin/pkg-config"
STAGING_DIR="/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/aarch64-buildroot-linux-gnu/sysroot"
INTLTOOL_PERL=/usr/bin/perl /usr/bin/make -j25 -C
/home/Public/BuildRoot/Machine/mdp-ls1046s61/build/bpftool-v7.1.0/src
/bin/sh: 1: llvm-config: not found
...                        libbfd: [ on  ]
...               clang-bpf-co-re: [ OFF ]
...                          llvm: [ OFF ]
...                        libcap: [ on  ]
  LINK     bpftool
/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/opt/ext-toolchain/bin/../lib/gcc/aarch64-none-linux-gnu/12.2.1/../../../../aarch64-none-linux-gnu/bin/ld:
warning: libsframe.so.0, needed by
/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/aarch64-buildroot-linux-gnu/sysroot/lib/../lib64/libbfd.so,
not found (try using -rpath or -rpath-link)
/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/opt/ext-toolchain/bin/../lib/gcc/aarch64-none-linux-gnu/12.2.1/../../../../aarch64-none-linux-gnu/bin/ld:
/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/aarch64-buildroot-linux-gnu/sysroot/lib/../lib64/libbfd.so:
undefined reference to `sframe_decoder_get_fixed_fp_offset'
/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/opt/ext-toolchain/bin/../lib/gcc/aarch64-none-linux-gnu/12.2.1/../../../../aarch64-none-linux-gnu/bin/ld:
/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/aarch64-buildroot-linux-gnu/sysroot/lib/../lib64/libbfd.so:
undefined reference to `sframe_encoder_add_funcdesc'
/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/opt/ext-toolchain/bin/../lib/gcc/aarch64-none-linux-gnu/12.2.1/../../../../aarch64-none-linux-gnu/bin/ld:
/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/aarch64-buildroot-linux-gnu/sysroot/lib/../lib64/libbfd.so:
undefined reference to `sframe_decoder_get_fixed_ra_offset'
/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/opt/ext-toolchain/bin/../lib/gcc/aarch64-none-linux-gnu/12.2.1/../../../../aarch64-none-linux-gnu/bin/ld:
/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/aarch64-buildroot-linux-gnu/sysroot/lib/../lib64/libbfd.so:
undefined reference to `sframe_decode'
/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/opt/ext-toolchain/bin/../lib/gcc/aarch64-none-linux-gnu/12.2.1/../../../../aarch64-none-linux-gnu/bin/ld:
/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/aarch64-buildroot-linux-gnu/sysroot/lib/../lib64/libbfd.so:
undefined reference to `sframe_encoder_write'
/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/opt/ext-toolchain/bin/../lib/gcc/aarch64-none-linux-gnu/12.2.1/../../../../aarch64-none-linux-gnu/bin/ld:
/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/aarch64-buildroot-linux-gnu/sysroot/lib/../lib64/libbfd.so:
undefined reference to `sframe_decoder_get_num_fidx'
/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/opt/ext-toolchain/bin/../lib/gcc/aarch64-none-linux-gnu/12.2.1/../../../../aarch64-none-linux-gnu/bin/ld:
/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/aarch64-buildroot-linux-gnu/sysroot/lib/../lib64/libbfd.so:
undefined reference to `sframe_decoder_get_fre'
/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/opt/ext-toolchain/bin/../lib/gcc/aarch64-none-linux-gnu/12.2.1/../../../../aarch64-none-linux-gnu/bin/ld:
/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/aarch64-buildroot-linux-gnu/sysroot/lib/../lib64/libbfd.so:
undefined reference to `sframe_encoder_get_num_fidx'
/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/opt/ext-toolchain/bin/../lib/gcc/aarch64-none-linux-gnu/12.2.1/../../../../aarch64-none-linux-gnu/bin/ld:
/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/aarch64-buildroot-linux-gnu/sysroot/lib/../lib64/libbfd.so:
undefined reference to `sframe_decoder_get_funcdesc'
/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/opt/ext-toolchain/bin/../lib/gcc/aarch64-none-linux-gnu/12.2.1/../../../../aarch64-none-linux-gnu/bin/ld:
/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/aarch64-buildroot-linux-gnu/sysroot/lib/../lib64/libbfd.so:
undefined reference to `sframe_decoder_get_abi_arch'
/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/opt/ext-toolchain/bin/../lib/gcc/aarch64-none-linux-gnu/12.2.1/../../../../aarch64-none-linux-gnu/bin/ld:
/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/aarch64-buildroot-linux-gnu/sysroot/lib/../lib64/libbfd.so:
undefined reference to `sframe_encode'
/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/opt/ext-toolchain/bin/../lib/gcc/aarch64-none-linux-gnu/12.2.1/../../../../aarch64-none-linux-gnu/bin/ld:
/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/aarch64-buildroot-linux-gnu/sysroot/lib/../lib64/libbfd.so:
undefined reference to `sframe_encoder_add_fre'
/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/opt/ext-toolchain/bin/../lib/gcc/aarch64-none-linux-gnu/12.2.1/../../../../aarch64-none-linux-gnu/bin/ld:
/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/aarch64-buildroot-linux-gnu/sysroot/lib/../lib64/libbfd.so:
undefined reference to `sframe_decoder_free'
/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/opt/ext-toolchain/bin/../lib/gcc/aarch64-none-linux-gnu/12.2.1/../../../../aarch64-none-linux-gnu/bin/ld:
/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/aarch64-buildroot-linux-gnu/sysroot/lib/../lib64/libbfd.so:
undefined reference to `sframe_encoder_get_abi_arch'
/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/opt/ext-toolchain/bin/../lib/gcc/aarch64-none-linux-gnu/12.2.1/../../../../aarch64-none-linux-gnu/bin/ld:
/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/aarch64-buildroot-linux-gnu/sysroot/lib/../lib64/libbfd.so:
undefined reference to `sframe_decoder_get_hdr_size'
/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/opt/ext-toolchain/bin/../lib/gcc/aarch64-none-linux-gnu/12.2.1/../../../../aarch64-none-linux-gnu/bin/ld:
/home/Public/BuildRoot/Machine/mdp-ls1046s61/host/aarch64-buildroot-linux-gnu/sysroot/lib/../lib64/libbfd.so:
undefined reference to `sframe_encoder_free'
collect2: Fehler: ld gab 1 als Ende-Status zurück
make[2]: *** [Makefile:233: bpftool] Fehler 1
make[1]: *** [package/pkg-generic.mk:293:
/home/Public/BuildRoot/Machine/mdp-ls1046s61/build/bpftool-v7.1.0/.stamp_built]
Fehler 2
make: *** [Makefile:82: _all] Fehler 2
make: Verzeichnis „/home/Public/BuildRoot/buildroot-2023.08“ wird verlassen

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

             reply	other threads:[~2023-09-07  6:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-07  6:15 bugzilla [this message]
2024-06-15 15:12 ` [Buildroot] [Bug 15760] bpftool v7.1.0 Building failed bugzilla

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-15760-163@https.bugs.busybox.net/ \
    --to=bugzilla@busybox.net \
    --cc=buildroot@uclibc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.