NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: toolchain/40170: gcc -m32 issues with NEEDED



The following reply was made to PR toolchain/40170; it has been noted by GNATS.

From: "Jared D. McNeill" <jmcneill%invisible.ca@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: toolchain/40170: gcc -m32 issues with NEEDED
Date: Sun, 14 Dec 2008 14:16:37 -0500 (EST)

 Here is a simple regression test to reproduce the issue:
 
    http://www.invisible.ca/~jmcneill/netbsd/pr40170.tar
 
 $ sh -x test.sh
 + '.' '/etc/shrc'
 + echo ' ==> building 64-bit executable'
   ==> building 64-bit executable
 + cc '-shared' '-fPIC' '-DPIC' '-o' 'liblib64.so' '-lpthread' 'lib.c'
 + pwd
 + pwd
 + cc '-Wl,-R/export/home/jmcneill/pr40170' 
 '-L/export/home/jmcneill/pr40170' 'prog.c' '-o' prog '-llib64'
 + echo ' ==> building 32-bit executable'
   ==> building 32-bit executable
 + cc '-m32' '-shared' '-fPIC' '-DPIC' '-o' 'liblib32.so' '-lpthread' 
 'lib.c'
 + pwd
 + pwd
 + cc '-m32' '-Wl,-R/export/home/jmcneill/pr40170' 
 '-L/export/home/jmcneill/pr40170' 'prog.c' '-o' prog '-llib32'
 ld: warning: libpthread.so.0, needed by 
 /export/home/jmcneill/pr40170/liblib32.so, not found (try using -rpath or 
 -rpath-link)
 


Home | Main Index | Thread Index | Old Index