Ticket #138 (closed defect: fixed)

Opened 10 years ago

Last modified 8 years ago

Glibc Broken on Sparc64

Reported by: jciccone Owned by: jciccone
Priority: blocker Milestone: CLFS Standard 1.1.0
Component: BOOK Version: CLFS Standard 1.1.0
Keywords: sparc glibc 2.7 multilib Cc:

Description

Build Error

sparc64-unknown-linux-gnu-gcc -m32 -mcpu=ultrasparc -mtune=ultrasparc pthread_cond_signal.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -g -Wstrict-prototypes -mlong-double-128     -I../include -I/srv/data/clfs/clfs-sparc64/sources/glibc-build/nptl -I/srv/data/clfs/clfs-sparc64/sources/glibc-build -I../sysdeps/sparc/sparc32/elf -I../sysdeps/unix/sysv/linux/sparc/sparc32/fpu -I../sysdeps/sparc/sparc32/fpu -I../nptl/sysdeps/unix/sysv/linux/sparc/sparc32 -I../sysdeps/unix/sysv/linux/sparc/sparc32 -I../sysdeps/ieee754/ldbl-64-128 -I../sysdeps/ieee754/ldbl-opt -I../nptl/sysdeps/unix/sysv/linux/sparc -I../sysdeps/unix/sysv/linux/sparc -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/sparc -I../nptl/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../nptl/sysdeps/sparc/sparc32 -I../sysdeps/sparc/sparc32 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-128 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/sparc/sparc32/soft-fp -I../sysdeps/sparc/fpu -I../nptl/sysdeps/sparc -I../sysdeps/sparc -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl  -I.. -I../libio -I. -nostdinc -isystem /srv/data/clfs/clfs-sparc64/cross-tools/bin/../lib/gcc/sparc64-unknown-linux-gnu/4.2.2/include -isystem /tools/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h   -DNOT_IN_libc=1 -DIS_IN_libpthread=1    -o /srv/data/clfs/clfs-sparc64/sources/glibc-build/nptl/pthread_cond_signal.o -MD -MP -MF /srv/data/clfs/clfs-sparc64/sources/glibc-build/nptl/pthread_cond_signal.o.dt -MT /srv/data/clfs/clfs-sparc64/sources/glibc-build/nptl/pthread_cond_signal.o
pthread_cond_signal.c:51:19: error: macro "lll_futex_wake_unlock" passed 5 arguments, but takes just 4
pthread_cond_signal.c: In function '__pthread_cond_signal':
pthread_cond_signal.c:49: error: 'lll_futex_wake_unlock' undeclared (first use in this function)
pthread_cond_signal.c:49: error: (Each undeclared identifier is reported only once
pthread_cond_signal.c:49: error: for each function it appears in.)
make[2]: *** [/srv/data/clfs/clfs-sparc64/sources/glibc-build/nptl/pthread_cond_signal.o] Error 1
make[2]: Leaving directory `/srv/data/clfs/clfs-sparc64/sources/glibc-2.7/nptl'
make[1]: *** [nptl/subdir_lib] Error 2
make[1]: Leaving directory `/srv/data/clfs/clfs-sparc64/sources/glibc-2.7'
make: *** [all] Error 2

Change History

comment:1 Changed 10 years ago by jciccone

This error was fixed in r3886 by changing the default CLFS_TARGET32 to sparcv9-unknown-linux-gnu. Keeping this ticket open until the build is complete.

comment:2 Changed 10 years ago by jciccone

  • Status changed from new to closed
  • Resolution set to fixed

Build seems to be going along fine. Any other errors will be opened in their own tickets.

Note: See TracTickets for help on using tickets.