https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119277
            Bug ID: 119277
           Summary: Building an arm-none-eabi GNAT cross-compiler on
                    latest master fails
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsolt_vadasz at protonmail dot com
                CC: dkm at gcc dot gnu.org
  Target Milestone: ---

Created attachment 60747
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60747&action=edit
Relevant build log

Trying to build a cross-compiler targeting arm-none-eabi using the following
commands:

$ /mnt/smb/projects/contrib/gcc/configure --target=arm-none-eabi
--prefix=/home/zsolti/.local --enable-languages=ada --disable-libada
--disable-nls --disable-shared --without-headers
$ make -j12 all-gcc
$ make -j12 all-target-libgcc
$ make -C gcc cross-gnattools ada.all.cross

fails in the last command in the cross-gnattools target, as shown in the
attached log.

The exact same build process succeeded with gcc-14.2.0.
Bisecting yielded d143b9fa817759ddc041365d988dacdadafddc22 as the first bad
commit.

My system GCC version is

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure
--enable-languages=ada,c,c++,d,fortran,go,lto,m2,objc,obj-c++,rust
--enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib
--mandir=/usr/share/man --infodir=/usr/share/info
--with-bugurl=https://gitea.artixlinux.org/packages/gcc/issues
--with-build-config=bootstrap-lto --with-linker-hash-style=gnu
--with-system-zlib --enable-__cxa_atexit --enable-cet=auto
--enable-checking=release --enable-clocale=gnu --enable-default-pie
--enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object
--enable-libstdcxx-backtrace --enable-link-serialization=1
--enable-linker-build-id --enable-lto --enable-multilib --enable-plugin
--enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch
--disable-werror
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 14.2.1 20250207 (GCC)

Reply via email to