[Bug other/123841] [16 regression] Failed bootstrap (Error: invalid operands (.text and .text.unlikely sections) for `-') since r16-7073

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jan 27 22:25:47 GMT 2026


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123841

--- Comment #14 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Rainer Orth <ro@gcc.gnu.org>:

https://gcc.gnu.org/g:20bc4561ecdebfcc818f1053da847fa3213aa8a3

commit r16-7081-g20bc4561ecdebfcc818f1053da847fa3213aa8a3
Author: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Date:   Tue Jan 27 23:25:12 2026 +0100

    build: Fix Linux/x86 bootstrap  without --with-gnu-as/--with-as [PR123841]

    My recent patch r16-7073 broke Linux/x86 bootstrap without
    --with-gnu-as/with-as by only setting gcc_cv_as_flags in acinclude.m4
    with gas_flag=yes.  Instead it should allow for any value.

    Bootstrapped without regressions on x86_64-pc-linux-gnu,
    i386-pc-solaris2.11 --with-gnu-as --with-as, and and
    x86_64-apple-darwin21.6.0 (both in state 2 now with gcc/auto-host.h
    unchanged).

    2026-01-27  Jakub Jelinek  <jakub@redhat.com>

            gcc:
            PR other/123841
            * acinclude.m4 (gcc_GAS_FLAGS) <i?86-*-* | x86_64-*-*>: Set
            gcc_cv_as_flags irrespective of $gas_flag.
            * configure: Regenerate.


More information about the Gcc-bugs mailing list