Bug 3291

Summary: undefined reference for Sparc64 in Glibc 2.5
Product: glibc Reporter: Jim Gifford <giffordj>
Component: nptlAssignee: Ulrich Drepper <drepper.fsp>
Status: RESOLVED FIXED    
Severity: normal CC: glibc-bugs
Priority: P2 Flags: fweimer: security-
Version: unspecified   
Target Milestone: ---   
Host: sparc64-unknown-linux-gnu Target: sparc64-unknown-linux-gnu
Build: x86_64-cross-linux-gnu Last reconfirmed:
Attachments: Allow glibc to build on Sparc64
glibc-bz3291.patch

Description Jim Gifford 2006-09-30 21:07:54 UTC
/mnt/sparc-multilib/build/glibc-cross-64bit/libc.so
/mnt/sparc-multilib/build/glibc-cross-64bit/libc_nonshared.a
/mnt/sparc-multilib/build/glibc-cross-64bit/elf/ld.so
/mnt/sparc-multilib/build/glibc-cross-64bit/nptl/libpthread_pic.a(ptw-pause.os):
In function `__pause_nocancel':
../sysdeps/posix/pause.c:53: undefined reference to `__sigprocmask'
/mnt/sparc-multilib/build/glibc-cross-64bit/nptl/libpthread_pic.a(ptw-pause.os):
In function `__libc_pause':
../sysdeps/posix/pause.c:33: undefined reference to `__sigprocmask'
collect2: ld returned 1 exit status
make[2]: *** [/mnt/sparc-multilib/build/glibc-cross-64bit/nptl/libpthread.so]
Error 1
make[2]: Leaving directory `/mnt/sparc-multilib/build/glibc-2.5/nptl'
make[1]: *** [nptl/others] Error 2
Comment 1 Jim Gifford 2006-09-30 22:52:38 UTC
Fixed with patch located at
http://svn.cross-lfs.org/svn/repos/patches/glibc/glibc-2.5-sparc_fixes-1.patch
Comment 2 Jim Gifford 2006-09-30 22:53:47 UTC
Created attachment 1340 [details]
Allow glibc to build on Sparc64
Comment 3 Jakub Jelinek 2006-10-02 18:15:32 UTC
Created attachment 1345 [details]
glibc-bz3291.patch

Can you try the attached patch instead?
Comment 4 Ulrich Drepper 2006-10-02 18:41:52 UTC
I've applied a different patch.