Building with -fno-omit-frame-pointer fails on i386 and s390x

Bug #1898049 reported by Balint Reczey
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
glibc (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

s390x:

...
s390x-linux-gnu-gcc-9 ../sysdeps/s390/multiarch/utf8-utf32-z9.c -c -std=gnu11 -fgnu89-inline -pipe -O2 -g -O1 -Wall -Wwrite-strings -Wundef -Werror -fmerge-all-constants -frounding-math -fstack-protector-strong -Wstrict-prototypes -Wold-style-definition -fmath-errno -mlong-double-128 -fno-omit-frame-pointer -fPIC -U_FORTIFY_SOURCE -isystem /<<PKGBUILDDIR>>/debian/include -I../include -I/<<PKGBUILDDIR>>/build-tree/s390x-prof/iconvdata -I/<<PKGBUILDDIR>>/build-tree/s390x-prof -I../sysdeps/unix/sysv/linux/s390/s390-64 -I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/unix/sysv/linux/s390/fpu -I../sysdeps/s390/fpu -I../sysdeps/unix/sysv/linux/s390 -I../sysdeps/s390/nptl -I../sysdeps/ieee754/ldbl-64-128 -I../sysdeps/ieee754/ldbl-opt -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux -I../sysdeps/nptl -I../sysdeps/pthread -I../sysdeps/gnu -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/s390/s390-64 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/dbl-64/wordsize-64 -I../sysdeps/s390/multiarch -I../sysdeps/s390 -I../sysdeps/ieee754/ldbl-128 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/s390x-linux-gnu/9/include -isystem /<<PKGBUILDDIR>>/debian/include -D_LIBC_REENTRANT -include /<<PKGBUILDDIR>>/build-tree/s390x-prof/libc-modules.h -DMODULE_NAME=iconvdata -include ../include/libc-symbols.h -DPIC -DSHARED -DTOP_NAMESPACE=glibc -o /<<PKGBUILDDIR>>/build-tree/s390x-prof/iconvdata/utf8-utf32-z9.os -MD -MP -MF /<<PKGBUILDDIR>>/build-tree/s390x-prof/iconvdata/utf8-utf32-z9.os.dt -MT /<<PKGBUILDDIR>>/build-tree/s390x-prof/iconvdata/utf8-utf32-z9.os
In file included from ../sysdeps/s390/utf8-utf16-z9.c:333,
                 from ../sysdeps/s390/multiarch/utf8-utf16-z9.c:20:
../iconv/loop.c: In function ‘__from_utf8_loop_vx’:
../iconv/loop.c:345:1: error: %r11 cannot be used in asm here
  345 | }
      | ^
In file included from ../sysdeps/s390/utf8-utf32-z9.c:474,
                 from ../sysdeps/s390/multiarch/utf8-utf32-z9.c:20:
../iconv/loop.c: In function ‘__from_utf8_loop_etf3eh’:
../iconv/loop.c:345:1: error: %r11 cannot be used in asm here
  345 | }
      | ^
In file included from ../sysdeps/s390/utf16-utf32-z9.c:507,
                 from ../sysdeps/s390/multiarch/utf16-utf32-z9.c:20:
../iconv/loop.c: In function ‘__from_utf16_loop_vx_cu’:
../iconv/loop.c:345:1: error: %r11 cannot be used in asm here
  345 | }
      | ^
...

i386:
...
In file included from ../sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c:22:
../nptl/pthread_mutex_timedlock.c: In function ‘__pthread_mutex_clocklock_common’:
../nptl/pthread_mutex_timedlock.c:599:1: error: bp cannot be used in asm here
  599 | }
      | ^
...

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in glibc (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.