This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/4597] New: undef reference to .Lpseudo_end in sync_file_range.S when __NR_sync_file_range is undef


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]