public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/4597] New: undef reference to .Lpseudo_end in sync_file_range.S when __NR_sync_file_range is undef
@ 2007-06-07 7:39 balducci at units dot it
2007-06-07 9:41 ` [Bug libc/4597] " jakub at redhat dot com
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: balducci at units dot it @ 2007-06-07 7:39 UTC (permalink / raw)
To: glibc-bugs
glibc-2.6
When __NR_sync_file_range is undef (e,g, old kernel headers), sync_file_range.S
originates an `undefined reference to .Lpseudo_end' link error in libc_pic.os.
This fixes things for me:
*** sync_file_range.S.ORIG Thu Jun 7 06:17:47 2007
--- sync_file_range.S Thu Jun 7 06:17:47 2007
***************
*** 63,72 ****
cmpl $-4095, %eax
jae SYSCALL_ERROR_LABEL
- L(pseudo_end):
- ret
#else
movl $-ENOSYS, %eax
jmp SYSCALL_ERROR_LABEL
#endif
PSEUDO_END (sync_file_range)
--- 63,72 ----
cmpl $-4095, %eax
jae SYSCALL_ERROR_LABEL
#else
movl $-ENOSYS, %eax
jmp SYSCALL_ERROR_LABEL
#endif
+ L(pseudo_end):
+ ret
PSEUDO_END (sync_file_range)
ciao
gabriele
--
Summary: undef reference to .Lpseudo_end in sync_file_range.S
when __NR_sync_file_range is undef
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: balducci at units dot it
CC: glibc-bugs at sources dot redhat dot com
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://sourceware.org/bugzilla/show_bug.cgi?id=4597
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libc/4597] undef reference to .Lpseudo_end in sync_file_range.S when __NR_sync_file_range is undef
2007-06-07 7:39 [Bug libc/4597] New: undef reference to .Lpseudo_end in sync_file_range.S when __NR_sync_file_range is undef balducci at units dot it
@ 2007-06-07 9:41 ` jakub at redhat dot com
2007-06-07 9:56 ` balducci at units dot it
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: jakub at redhat dot com @ 2007-06-07 9:41 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From jakub at redhat dot com 2007-06-07 09:41 -------
That is already fixed in CVS for some time:
2007-05-18 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/sync_file_range.S: Fix case where
__NR_sync_file_range is not defined.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://sourceware.org/bugzilla/show_bug.cgi?id=4597
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libc/4597] undef reference to .Lpseudo_end in sync_file_range.S when __NR_sync_file_range is undef
2007-06-07 7:39 [Bug libc/4597] New: undef reference to .Lpseudo_end in sync_file_range.S when __NR_sync_file_range is undef balducci at units dot it
2007-06-07 9:41 ` [Bug libc/4597] " jakub at redhat dot com
@ 2007-06-07 9:56 ` balducci at units dot it
2008-08-12 4:13 ` [Bug libc/4597] undef reference to .Lpseudo_end cse dot hani at gmail dot com
2009-06-15 15:13 ` drepper at redhat dot com
3 siblings, 0 replies; 5+ messages in thread
From: balducci at units dot it @ 2007-06-07 9:56 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From balducci at units dot it 2007-06-07 09:56 -------
(In reply to comment #1)
> That is already fixed in CVS for some time:
> 2007-05-18 Ulrich Drepper <drepper@redhat.com>
>
> * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Fix case where
> __NR_sync_file_range is not defined.
>
Good to know, thanks.
ciao
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4597
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libc/4597] undef reference to .Lpseudo_end
2007-06-07 7:39 [Bug libc/4597] New: undef reference to .Lpseudo_end in sync_file_range.S when __NR_sync_file_range is undef balducci at units dot it
2007-06-07 9:41 ` [Bug libc/4597] " jakub at redhat dot com
2007-06-07 9:56 ` balducci at units dot it
@ 2008-08-12 4:13 ` cse dot hani at gmail dot com
2009-06-15 15:13 ` drepper at redhat dot com
3 siblings, 0 replies; 5+ messages in thread
From: cse dot hani at gmail dot com @ 2008-08-12 4:13 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From cse dot hani at gmail dot com 2008-08-12 04:12 -------
I am developing multi-threaded C program, however I knew that I need to install
glibc2 library as I am running RHEL WS4 OS.I am trying to install glibc-2.6
package. I configured it correctly with --prefix='usr/local' and
--enable-add-ons=nptl. However, when I am trying to 'make', it suspends with an
error "undefined reference to .Lpseudo_end.
The exact error log is as follows:
/src/gnu/glibc-build/libc_pic.os(.text+0x96ab3): In function `sync_file_range':
: undefined reference to `.Lpseudo_end'
collect2: ld returned 1 exit status
make[1]: *** [/src/gnu/glibc-build/libc.so] Error 1
make[1]: Leaving directory `/src/gnu/glibc-2.6'
make: *** [all] Error 2
my email is: cse.hani@gmail.com
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |cse dot hani at gmail dot
| |com
Status|RESOLVED |REOPENED
Resolution|FIXED |
Summary|undef reference to |undef reference to
|.Lpseudo_end in |.Lpseudo_end
|sync_file_range.S when |
|__NR_sync_file_range is |
|undef |
http://sourceware.org/bugzilla/show_bug.cgi?id=4597
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libc/4597] undef reference to .Lpseudo_end
2007-06-07 7:39 [Bug libc/4597] New: undef reference to .Lpseudo_end in sync_file_range.S when __NR_sync_file_range is undef balducci at units dot it
` (2 preceding siblings ...)
2008-08-12 4:13 ` [Bug libc/4597] undef reference to .Lpseudo_end cse dot hani at gmail dot com
@ 2009-06-15 15:13 ` drepper at redhat dot com
3 siblings, 0 replies; 5+ messages in thread
From: drepper at redhat dot com @ 2009-06-15 15:13 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From drepper at redhat dot com 2009-06-15 15:13 -------
Version 2.6 is not current. Use something more recent.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED
http://sourceware.org/bugzilla/show_bug.cgi?id=4597
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-06-15 15:13 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-07 7:39 [Bug libc/4597] New: undef reference to .Lpseudo_end in sync_file_range.S when __NR_sync_file_range is undef balducci at units dot it
2007-06-07 9:41 ` [Bug libc/4597] " jakub at redhat dot com
2007-06-07 9:56 ` balducci at units dot it
2008-08-12 4:13 ` [Bug libc/4597] undef reference to .Lpseudo_end cse dot hani at gmail dot com
2009-06-15 15:13 ` drepper at redhat dot com
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).