public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgomp/26165]  New: Cannot find libgomp.spec after 'make install' on x86_64 and ppc64
@ 2006-02-07 21:41 dnovillo at gcc dot gnu dot org
  2006-03-08 19:05 ` [Bug libgomp/26165] " aldyh at gcc dot gnu dot org
                   ` (16 more replies)
  0 siblings, 17 replies; 20+ messages in thread
From: dnovillo at gcc dot gnu dot org @ 2006-02-07 21:41 UTC (permalink / raw)
  To: gcc-bugs

After 'make install', the installed compiler cannot find libgomp.spec.  The
problem seems to be that we are not looking in <inst>/lib64:

$ export PATH=$HOME/gomp.clean/native.x86_64/bin:$PATH

$ which gcc
~/gomp.clean/native.x86_64/bin/gcc

$ gcc -o a a.c -fopenmp -O2
a.c: In function 'main':
gcc: libgomp.spec: No such file or directory

$ find ~/gomp.clean/native.x86_64 -name libgomp.spec
/home/cygnus/dnovillo/gomp.clean/native.x86_64/lib64/libgomp.spec

$ cp /home/cygnus/dnovillo/gomp.clean/native.x86_64/lib64/libgomp.spec
/home/cygnus/dnovillo/gomp.clean/native.x86_64/lib/libgomp.spec

$ gcc -o a a.c -fopenmp -O2
$ ./a
./a: error while loading shared libraries: libgomp.so.1: cannot open shared
object file: No such file or directory

$ export LD_LIBRARY_PATH=$HOME/gomp.clean/native.x86_64/lib64:$LD_LIBRARY_PATH

$ ./a
I'm thread 0
I'm thread 3
I'm thread 1
I'm thread 2

Perhaps the two problems are related?  This works just fine on x86.  We neither
have to set LD_LIBRARY_PATH by hand nor we need to move libgomp.spec around.


-- 
           Summary: Cannot find libgomp.spec after 'make install' on x86_64
                    and ppc64
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgomp
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dnovillo at gcc dot gnu dot org
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2008-11-12 14:36 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-07 21:41 [Bug libgomp/26165] New: Cannot find libgomp.spec after 'make install' on x86_64 and ppc64 dnovillo at gcc dot gnu dot org
2006-03-08 19:05 ` [Bug libgomp/26165] " aldyh at gcc dot gnu dot org
2006-03-08 19:07   ` Andrew Pinski
2006-03-08 19:07 ` pinskia at physics dot uc dot edu
2006-03-09 20:07 ` dnovillo at gcc dot gnu dot org
2006-06-05  9:35 ` martin at mpa-garching dot mpg dot de
2006-06-05  9:55 ` martin at mpa-garching dot mpg dot de
2006-06-08 10:10 ` martin at mpa-garching dot mpg dot de
2006-06-12 21:13 ` dnovillo at gcc dot gnu dot org
2006-06-12 21:18   ` Andrew Pinski
2006-06-12 21:18 ` pinskia at physics dot uc dot edu
2006-10-28 14:27 ` franke dot daniel at gmail dot com
2006-11-23  9:22 ` martin at mpa-garching dot mpg dot de
2007-01-29  9:44 ` doerr at kis dot uni-freiburg dot de
2007-01-29 10:05 ` martin at mpa-garching dot mpg dot de
2007-03-23  7:50 ` martin at mpa-garching dot mpg dot de
2007-10-19  6:34 ` skaller at users dot sourceforge dot net
2008-07-12 16:02 ` gcc at abeckmann dot de
2008-08-12 18:21 ` froydnj at gcc dot gnu dot org
2008-11-12 14:36 ` froydnj at gcc dot gnu dot org

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).