public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/104890] New: [12 Regression] fails to build the 32bit libgcc on x86_64-linux-gnu
@ 2022-03-12 10:43 doko at gcc dot gnu.org
  2022-03-12 10:50 ` [Bug target/104890] " doko at gcc dot gnu.org
                   ` (20 more replies)
  0 siblings, 21 replies; 22+ messages in thread
From: doko at gcc dot gnu.org @ 2022-03-12 10:43 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 104890
           Summary: [12 Regression] fails to build the 32bit libgcc on
                    x86_64-linux-gnu
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: doko at gcc dot gnu.org
  Target Milestone: ---

trunk 20220312 fails to build the 32bit libgcc on x86_64-linux-gnu:

/home/packages/gcc/12/gcc-12-12-20220312/build/./gcc/xgcc
-B/home/packages/gcc/12/gcc-12-12-20220312/build/./gcc/ -B/usr/x86_6
4-linux-gnu/bin/ -B/usr/x86_64-linux-gnu/lib/ -isystem
/usr/x86_64-linux-gnu/include -isystem /usr/x86_64-linux-gnu/sys-includ
e -isystem /home/packages/gcc/12/gcc-12-12-20220312/build/sys-include  
-fchecking=1 -g -O2 -m32 -O2  -g -O2 -DIN_GCC    -W -W
all -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem ./inc
lude  -fpic -mlong-double-80 -DUSE_ELF_SYMVER -fcf-protection -mshstk -g
-DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector  
-fpic -mlong-double-80 -DUSE_ELF_SYMVER -fcf-protection -mshstk -I. -I.
-I../../.././gcc -I../../../../src/libgcc -I../../../.
./src/libgcc/. -I../../../../src/libgcc/../gcc
-I../../../../src/libgcc/../include -I../../../../src/libgcc/config/libbid -DEN
ABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS  -DUSE_TLS  -o unwind-dw2.o -MT
unwind-dw2.o -MD -MP -MF unwind-dw2.dep -fexceptions -c 
../../../../src/libgcc/unwind-dw2.c -fvisibility=hidden -DHIDE_EXPORTS
In file included from
/home/packages/gcc/12/gcc-12-12-20220312/build/gcc/include/x86gprintrin.h:45,
                 from
../../../../src/libgcc/config/i386/shadow-stack-unwind.h:25,
                 from ./md-unwind-support.h:27,
                 from ../../../../src/libgcc/unwind-dw2.c:412:
/home/packages/gcc/12/gcc-12-12-20220312/build/gcc/include/cetintrin.h: In
function '_Unwind_RaiseException':
/home/packages/gcc/12/gcc-12-12-20220312/build/gcc/include/cetintrin.h:47:1:
error: inlining failed in call to 'always_inline' '_get_ssp': target specific
option mismatch
   47 | _get_ssp (void)
      | ^~~~~~~~
../../../../src/libgcc/config/i386/shadow-stack-unwind.h:32:26: note: called
from here
   32 |       _Unwind_Word ssp = _get_ssp ();           \
      |                          ^~~~~~~~~~~
../../../../src/libgcc/unwind-dw2.c:1654:7: note: in expansion of macro
'_Unwind_Frames_Extra'
 1654 |       _Unwind_Frames_Extra (FRAMES);                                   
\
      |       ^~~~~~~~~~~~~~~~~~~~
../../../../src/libgcc/unwind.inc:140:3: note: in expansion of macro
'uw_install_context'
  140 |   uw_install_context (&this_context, &cur_context, frames);
      |   ^~~~~~~~~~~~~~~~~~
/home/packages/gcc/12/gcc-12-12-20220312/build/gcc/include/cetintrin.h:55:1:
error: inlining failed in call to 'always_inline' '_inc_ssp': target specific
option mismatch
   55 | _inc_ssp (unsigned int __B)
      | ^~~~~~~~
../../../../src/libgcc/config/i386/shadow-stack-unwind.h:38:15: note: called
from here
   38 |               _inc_ssp (255);                   \
      |               ^~~~~~~~~~~~~~
../../../../src/libgcc/unwind-dw2.c:1654:7: note: in expansion of macro
'_Unwind_Frames_Extra'
 1654 |       _Unwind_Frames_Extra (FRAMES);                                   
\
      |       ^~~~~~~~~~~~~~~~~~~~
../../../../src/libgcc/unwind.inc:140:3: note: in expansion of macro
'uw_install_context'
  140 |   uw_install_context (&this_context, &cur_context, frames);
      |   ^~~~~~~~~~~~~~~~~~
/home/packages/gcc/12/gcc-12-12-20220312/build/gcc/include/cetintrin.h:55:1:
error: inlining failed in call to 'always_inline' '_inc_ssp': target specific
option mismatch
   55 | _inc_ssp (unsigned int __B)
      | ^~~~~~~~
../../../../src/libgcc/config/i386/shadow-stack-unwind.h:41:11: note: called
from here
   41 |           _inc_ssp (tmp);                       \
      |           ^~~~~~~~~~~~~~
../../../../src/libgcc/unwind-dw2.c:1654:7: note: in expansion of macro
'_Unwind_Frames_Extra'
 1654 |       _Unwind_Frames_Extra (FRAMES);                                   
\
      |       ^~~~~~~~~~~~~~~~~~~~

../../../../src/libgcc/unwind.inc:140:3: note: in expansion of macro
'uw_install_context'
  140 |   uw_install_context (&this_context, &cur_context, frames);
      |   ^~~~~~~~~~~~~~~~~~
make[7]: *** [../../../../src/libgcc/shared-object.mk:14: unwind-dw2.o] Error 1
make[7]: Leaving directory
'/home/packages/gcc/12/gcc-12-12-20220312/build/x86_64-linux-gnu/32/libgcc'

GCC is configured with:

Configured with: -v
         --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2
         --prefix=/usr
         --with-gcc-major-version-only
         --program-suffix=-12
         --program-prefix=x86_64-linux-gnu-
         --enable-shared
         --enable-linker-build-id
         --libexecdir=/usr/lib
         --without-included-gettext
         --enable-threads=posix
         --libdir=/usr/lib
         --enable-nls
         --enable-clocale=gnu
         --enable-libstdcxx-debug
         --enable-libstdcxx-time=yes
         --with-default-libstdcxx-abi=new
         --enable-gnu-unique-object
         --disable-vtable-verify
         --enable-plugin
         --enable-default-pie
         --with-system-zlib
         --enable-libphobos-checking=release
         --with-target-system-zlib=auto
         --enable-objc-gc=auto
         --enable-multiarch
         --disable-werror
         --enable-cet
         --with-arch-32=i686
         --with-abi=m64
         --with-multilib-list=m32,m64,mx32
         --enable-multilib
         --with-tune=generic
        
--enable-offload-targets=nvptx-none=/home/packages/gcc/12/gcc-12-12-20220312/debian/tmp-nvptx/usr,amdgcn-amdhsa=/home/packages/gcc/12/gcc-12-12-20220312/debian/tmp-gcn/usr
         --enable-offload-defaulted
         --without-cuda-driver
         --enable-checking=release
         --build=x86_64-linux-gnu
         --host=x86_64-linux-gnu
         --target=x86_64-linux-gnu

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2022-03-22 16:34 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-12 10:43 [Bug target/104890] New: [12 Regression] fails to build the 32bit libgcc on x86_64-linux-gnu doko at gcc dot gnu.org
2022-03-12 10:50 ` [Bug target/104890] " doko at gcc dot gnu.org
2022-03-12 15:37 ` [Bug target/104890] [12 Regression] fails to build the 32bit libgcc on x86_64-linux-gnu (--enable-default-pie) hjl.tools at gmail dot com
2022-03-13  4:39 ` doko at gcc dot gnu.org
2022-03-13  4:39 ` doko at gcc dot gnu.org
2022-03-13  5:07 ` doko at gcc dot gnu.org
2022-03-13 15:53 ` [Bug target/104890] [12 Regression] fails to build the 32bit libgcc on x86_64-linux-gnu (--enable-cet) hjl.tools at gmail dot com
2022-03-13 16:17 ` [Bug target/104890] [12 Regression] fails to build the 32bit libgcc on x86_64-linux-gnu (--enable-cet --with-arch-32=i686) hjl.tools at gmail dot com
2022-03-13 16:17 ` hjl.tools at gmail dot com
2022-03-13 16:20 ` jakub at gcc dot gnu.org
2022-03-13 16:26 ` hjl.tools at gmail dot com
2022-03-13 18:09 ` hjl.tools at gmail dot com
2022-03-14  2:08 ` doko at gcc dot gnu.org
2022-03-14  8:35 ` rguenth at gcc dot gnu.org
2022-03-14 20:45 ` hjl.tools at gmail dot com
2022-03-15  9:24 ` cvs-commit at gcc dot gnu.org
2022-03-16 13:31 ` cvs-commit at gcc dot gnu.org
2022-03-16 13:32 ` hjl.tools at gmail dot com
2022-03-21  4:27 ` [Bug target/104890] [11 Regression] <x86gprintrin.h> doesn't work with __attribute__((target ("general-regs-only"))) and -march=i686 hjl.tools at gmail dot com
2022-03-21  4:31 ` hjl.tools at gmail dot com
2022-03-22 16:31 ` cvs-commit at gcc dot gnu.org
2022-03-22 16:34 ` hjl.tools at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).