[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1004390: glibc: FTBFS on hppa - incorrect ctid argument in xclone.c



Source: glibc
Version: 2.31-13+deb11u2
Severity: normal

Dear Maintainer,

Build fails here:

hppa-linux-gnu-gcc-10 xchmod.c -c -std=gnu11 -fgnu89-inline  -pipe -O2 -g -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wall -Wwrite-strings -Wundef -Werror -fmerge-all-constants -frounding-math -fno-stack-protector -Wstrict-prototypes -Wold-style-definition -fmath-errno    -fPIC        -isystem /<<PKGBUILDDIR>>/debian/include  -I../include -I/<<PKGBUILDDIR>>/build-tree/hppa-libc/support  -I/<<PKGBUILDDIR>>/build-tree/hppa-libc  -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/hppa-linux-gnu/10/include -isystem /<<PKGBUILDDIR>>/debian/include -D_LIBC_REENTRANT -include /<<PKGBUILDDIR>>/build-tree/hppa-libc/libc-modules.h -DMODULE_NAME=libsupport -include ../include/libc-symbols.h   -DPIC -DLIBC_NONSHARED=1     -DTOP_NAMESPACE=glibc -o /<<PKGBUILDDIR>>/build-tree/hppa-libc/support/xchmod.oS -MD -MP -MF /<<PKGBUILDDIR>>/build-tree/hppa-libc/support/xchmod.oS.dt -MT /<<PKGBUILDDIR>>/build-tree/hppa-libc/support/xchmod.oS
xclone.c: In function ‘xclone’:
xclone.c:41:8: error: ‘ctid’ undeclared (first use in this function)
   41 |       &ctid);
      |        ^~~~
xclone.c:41:8: note: each undeclared identifier is reported only once for each function it appears in

I believe this argument should be NULL.

Regards,
Dave Anglin


-- System Information:
Debian Release: bookworm/sid
  APT prefers buildd-unstable
  APT policy: (500, 'buildd-unstable'), (500, 'unstable')
Architecture: hppa (parisc64)

Kernel: Linux 5.16.2+ (SMP w/4 CPU threads)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Reply to: