This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


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

Re: [patches] X86-64 shared linking fix


Bo Thorsen <bo@sonofthor.dk> writes:

> This small patch fixes a problem with linking libgcc_s.

But with it applied shared programs are broken :-(

Andreas

------ START OF TEXT DUMP -----
  --inhibit-rpath LIST  ignore RUNPATH and RPATH information in object names    
                        in LIST                                                 
bash-2.05# elf/ld.so --library-path .:math:dlfcn:elf:linuxthreads math/test-doub
le                                                                              
Segmentation fault                                                              
bash-2.05# elf/ld.so --library-path .:math:dlfcn:elf:linuxthreads math/test-floa
t                                                                               
CPU 0                                                                           
RIP: 0033:[<000000552aab643a>] RSP: 0000007fbffff4e0 EFLAGS: 00010202           
RAX: 0000000000000000 RBX: 0000000000400418 RCX: 0000007fbffff500 RDX: 000000000
00000c2                                                                         
RSI: 00000000ffffffff RDI: 0000007fbffff410 RBP: 0000007fbffff630               
R08: 6973206465746365 R09: 000000552aabd8a0 R10: 7efefefefefefeff R11: 000000000
0000202                                                                         
R12: 0000000000000000 R13: 0000007fbffff500 R14: 0000000000400418 R15: 0000002a9
5556d40                                                                         
FS: 0000000000000000(0000) GS: ffffffff80225ec0(0000) DS: 0000 CS: 0010         
CR0: 000000008005003b CR2: 0000000000000316 CR3: 0000000000101000 CR4: 000000000
00006a0                                                                         
Process ld.so (pid: 10, stackpage=ffff800001d2d000)                             
PML4: 0000000000103027 PGD: 0000000000105027 PDE: 00000000000001e3              
                                                                                
                                                                                
Call Trace:                                                                     
                                                                                
------  END OF TEXT DUMP  -----


-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


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