public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug time/31625] New: glibc 2.39 fails to build on sh4-linux-gnu with 64bit time_t, __sigtimedwait64' already defined
@ 2024-04-10 11:19 doko at debian dot org
  2024-04-10 11:21 ` [Bug time/31625] " doko at debian dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: doko at debian dot org @ 2024-04-10 11:19 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 31625
           Summary: glibc 2.39 fails to build on sh4-linux-gnu with 64bit
                    time_t, __sigtimedwait64' already defined
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: time
          Assignee: unassigned at sourceware dot org
          Reporter: doko at debian dot org
  Target Milestone: ---

I'm seeing this building a cross glibc 2.39 for sh4-linux-gnu using binutils
2.42 and GCC 13.2 branch.

The build fails with

sh4-linux-gnu-gcc ../sysdeps/unix/sysv/linux/sigtimedwait.c -c -std=gnu11
-fgnu89-inline  -pipe -O2 -g -fdebug-prefix-map=/home/pack
ages/cross/base/u/cross-toolchain-base-ports/glibc-2.39=. -mieee
-fno-delete-null-pointer-checks -Wall -Wwrite-strings -Wundef -fmer
ge-all-constants -frounding-math -fstack-protector-strong -fno-common
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wstrict-prototypes -Wol
d-style-definition -fmath-errno  -mieee  -fno-pie   -fexceptions
-fasynchronous-unwind-tables  -ftls-model=initial-exec   -isystem /
home/packages/cross/base/u/cross-toolchain-base-ports/glibc-2.39/debian/include
 -I../include -I/home/packages/cross/base/u/cross-to
olchain-base-ports/glibc-2.39/build-tree/sh4-libc/signal 
-I/home/packages/cross/base/u/cross-toolchain-base-ports/glibc-2.39/build-
tree/sh4-libc  -I../sysdeps/unix/sysv/linux/sh/le/sh4/fpu 
-I../sysdeps/unix/sysv/linux/sh/le/sh4  -I../sysdeps/unix/sysv/linux/sh/s
h4  -I../sysdeps/unix/sysv/linux/sh/le  -I../sysdeps/unix/sysv/linux/sh 
-I../sysdeps/sh/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/s
ysv  -I../sysdeps/unix/sh  -I../sysdeps/unix  -I../sysdeps/posix 
-I../sysdeps/sh/le/sh4/fpu  -I../sysdeps/sh/sh4/fpu  -I../sysdeps/
sh/le/sh4  -I../sysdeps/sh/sh4  -I../sysdeps/sh/le  -I../sysdeps/sh 
-I../sysdeps/wordsize-32  -I../sysdeps/ieee754/flt-32  -I../sys
deps/ieee754/dbl-64  -I../sysdeps/ieee754  -I../sysdeps/generic  -I..
-I../libio -I. -nostdinc -isystem /home/packages/cross/base/u/
cross-toolchain-base-ports/debian/tmp.sh4/usr/bin/../lib/gcc-cross/sh4-linux-gnu/13/include
-isystem /home/packages/cross/base/u/cro
ss-toolchain-base-ports/debian/tmp.sh4/usr/bin/../lib/gcc-cross/sh4-linux-gnu/13/include-fixed
-isystem /home/packages/cross/base/u/
cross-toolchain-base-ports/glibc-2.39/debian/include -D_LIBC_REENTRANT -include
/home/packages/cross/base/u/cross-toolchain-base-por
ts/glibc-2.39/build-tree/sh4-libc/libc-modules.h -DMODULE_NAME=libc -include
../include/libc-symbols.h       -DTOP_NAMESPACE=glibc -
o
/home/packages/cross/base/u/cross-toolchain-base-ports/glibc-2.39/build-tree/sh4-libc/signal/sigtimedwait.o
-MD -MP -MF /home/pack
ages/cross/base/u/cross-toolchain-base-ports/glibc-2.39/build-tree/sh4-libc/signal/sigtimedwait.o.dt
-MT /home/packages/cross/base/u
/cross-toolchain-base-ports/glibc-2.39/build-tree/sh4-libc/signal/sigtimedwait.o
{standard input}: Assembler messages:
{standard input}:846: Error: symbol `__sigtimedwait64' is already defined
make[4]: ***
[/home/packages/cross/base/u/cross-toolchain-base-ports/glibc-2.39/build-tree/sh4-libc/sysd-rules:213:
/home/packages/cross/base/u/cross-toolchain-base-ports/glibc-2.39/build-tree/sh4-libc/signal/sigtimedwait.o]
Error 1

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

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

end of thread, other threads:[~2024-04-10 12:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-10 11:19 [Bug time/31625] New: glibc 2.39 fails to build on sh4-linux-gnu with 64bit time_t, __sigtimedwait64' already defined doko at debian dot org
2024-04-10 11:21 ` [Bug time/31625] " doko at debian dot org
2024-04-10 11:25 ` simon.chopin at canonical dot com
2024-04-10 11:57 ` adhemerval.zanella at linaro dot org
2024-04-10 12:07 ` doko at debian dot org
2024-04-10 12:14 ` adhemerval.zanella at linaro dot org
2024-04-10 12:15 ` doko at debian dot org

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).