Build problem on ia64

H. J. Lu hjl@lucon.org
Wed Sep 22 16:33:00 GMT 2004


On Wed, Sep 22, 2004 at 12:00:14PM +0200, Zdenek Dvorak wrote:
> Hello,
> 
> when configure is run for libstdc++-v3 during build, I get the following error:
> 
> configure:2417: checking for C compiler default output file name
> configure:2420:  /abuild/gcc-test/gcc/objdir/gcc/xgcc -B/abuild/gcc-test/gcc/objdir/gcc/ -B/usr/local/ia64-unknown-linux-gnu/bin/ -B/usr/local/ia64-unknown-linux-gnu/lib/ -isystem /usr/local/ia64-unknown-linux-gnu/include -isystem /usr/local/ia64-unknown-linux-gnu/sys-include -O2 -g -O2 -O2 -g -O2  conftest.c  >&5
> configure:2423: $? = 0
> configure:2469: result: a.out
> configure:2474: checking whether the C compiler works
> configure:2480: ./a.out
> ./a.out: error while loading shared libraries: libunwind.so.7: cannot open shared object file: No such file or directory
> configure:2483: $? = 127
> configure:2492: error: cannot run C compiled programs.
> If you meant to cross compile, use `--host'.
> See `config.log' for more details.
> 
> libunwind.so.7 is built in gcc directory, but linker apparently is not
> told in where to find it (with LD_LIBRARY_PATH set the things work
> correctly).
> 
> Where is the right place to fix this (I have very little understanding
> of how gcc's build system works :-( )?

See

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17464


H.J.



More information about the Gcc mailing list