Bug 3291 - undefined reference for Sparc64 in Glibc 2.5
Summary: undefined reference for Sparc64 in Glibc 2.5
Status: RESOLVED FIXED
Alias: None
Product: glibc
Classification: Unclassified
Component: nptl (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Ulrich Drepper
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-30 21:07 UTC by Jim Gifford
Modified: 2016-08-22 13:46 UTC (History)
1 user (show)

See Also:
Host: sparc64-unknown-linux-gnu
Target: sparc64-unknown-linux-gnu
Build: x86_64-cross-linux-gnu
Last reconfirmed:
fweimer: security-


Attachments
Allow glibc to build on Sparc64 (1.14 KB, patch)
2006-09-30 22:53 UTC, Jim Gifford
Details | Diff
glibc-bz3291.patch (330 bytes, patch)
2006-10-02 18:15 UTC, Jakub Jelinek
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.