[Bug libc/28960] New: Failure to build on HPPA in swapcontext ({standard input}:15: Error: CFI instruction used without previous .cfi_startproc)

sam at gentoo dot org sourceware-bugzilla@sourceware.org
Sun Mar 13 22:45:10 GMT 2022


https://sourceware.org/bugzilla/show_bug.cgi?id=28960

            Bug ID: 28960
           Summary: Failure to build on HPPA in swapcontext ({standard
                    input}:15: Error: CFI instruction used without
                    previous .cfi_startproc)
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: sam at gentoo dot org
                CC: danglin at gcc dot gnu.org, drepper.fsp at gmail dot com
  Target Milestone: ---

Created attachment 14014
  --> https://sourceware.org/bugzilla/attachment.cgi?id=14014&action=edit
build.log

Using release/2.34/master up to 6c9c2307657529e52c5fa7037618835f2a50b916
(https://sourceware.org/git/?p=glibc.git;a=commit;h=6c9c2307657529e52c5fa7037618835f2a50b916),
I get the following build failure on HPPA:

```
hppa2.0-unknown-linux-gnu-gcc  -pipe -march=2.0 -O2 -Wl,-O1 -Wl,--as-needed
../sysdeps/unix/sysv/linux/hppa/swapcontext.c -c -std=gnu11 -fgnu89-inline 
-pipe -march=2.0 -O2 -Wall -Wwrite-strings -Wundef -fmerge-all-constants
-frounding-math -fno-stack-protector -fno-common -Wstrict-prototypes
-Wold-style-definition -fmath-errno      -ftls-model=initial-exec  
-U_FORTIFY_SOURCE -DGENTOO_USE_CLONE3  -I../include
-I/var/tmp/portage/sys-libs/glibc-2.34-r10/work/build-hppa-hppa2.0-unknown-linux-gnu-nptl/stdlib

-I/var/tmp/portage/sys-libs/glibc-2.34-r10/work/build-hppa-hppa2.0-unknown-linux-gnu-nptl
 -I../sysdeps/unix/sysv/linux/hppa  -I../sysdeps/hppa/nptl 
-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/hppa/hppa1.1  -I../sysdeps/wordsize-32 
-I../sysdeps/ieee754/flt-32  -I../sysdeps/ieee754/dbl-64  -I../sysdeps/hppa/fpu
 -I../sysdeps/hppa  -I../sysdeps/ieee754  -I../sysdeps/generic  -I.. -I../libio
-I. -nostdinc -isystem /usr/lib/gcc/hppa2.0-unknown-linux-gnu/11.2.1/include
-isystem /usr/lib/gcc/hppa2.0-unknown-linux-gnu/11.2.1/include-fixed -isystem
/usr/include -D_LIBC_REENTRANT -include
/var/tmp/portage/sys-libs/glibc-2.34-r10/work/build-hppa-hppa2.0-unknown-linux-gnu-nptl/libc-modules.h
-DMODULE_NAME=libc -include ../include/libc-symbols.h  -DPIC    
-DTOP_NAMESPACE=glibc -o
/var/tmp/portage/sys-libs/glibc-2.34-r10/work/build-hppa-hppa2.0-unknown-linux-gnu-nptl/stdlib/swapcontext.o
-MD -MP -MF
/var/tmp/portage/sys-libs/glibc-2.34-r10/work/build-hppa-hppa2.0-unknown-linux-gnu-nptl/stdlib/swapcontext.o.dt
-MT
/var/tmp/portage/sys-libs/glibc-2.34-r10/work/build-hppa-hppa2.0-unknown-linux-gnu-nptl/stdlib/swapcontext.o
{standard input}: Assembler messages:
{standard input}:15: Error: CFI instruction used without previous
.cfi_startproc
{standard input}:24: Error: CFI instruction used without previous
.cfi_startproc
{standard input}:36: Error: CFI instruction used without previous
.cfi_startproc
make[2]: ***
[/var/tmp/portage/sys-libs/glibc-2.34-r10/work/build-hppa-hppa2.0-unknown-linux-gnu-nptl/sysd-rules:9:
/var/tmp/portage/sys-libs/glibc-2.34-r10/work/build-hppa-hppa2.0-unknown-linux-gnu-nptl/stdlib/swapcontext.o]
Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
'/var/tmp/portage/sys-libs/glibc-2.34-r10/work/glibc-2.34/stdlib'
make[1]: *** [Makefile:479: stdlib/subdir_lib] Error 2
make[1]: Leaving directory
'/var/tmp/portage/sys-libs/glibc-2.34-r10/work/glibc-2.34'
make: *** [Makefile:9: all] Error 2
make: Leaving directory
'/var/tmp/portage/sys-libs/glibc-2.34-r10/work/build-hppa-hppa2.0-unknown-linux-gnu-nptl'
 * ERROR: sys-libs/glibc-2.34-r10::gentoo failed (compile phase):
 *   emake failed
```

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list