public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/28913] "make install" required before testing libgomp and gfortran
       [not found] <bug-28913-4@http.gcc.gnu.org/bugzilla/>
@ 2014-11-08 17:59 ` fxcoudert at gcc dot gnu.org
  0 siblings, 0 replies; 6+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2014-11-08 17:59 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28913

Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |fxcoudert at gcc dot gnu.org
         Resolution|---                         |FIXED

--- Comment #6 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> ---
I haven't seen that one in years. Indeed, I just did a clean rebuild, removed
all my previously installed stuff, and can confirm libgomp and gfortran test
suites run fine.


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

* [Bug testsuite/28913] "make install" required before testing libgomp and gfortran
  2006-08-31  1:33 [Bug testsuite/28913] New: " lucier at math dot purdue dot edu
                   ` (3 preceding siblings ...)
  2006-11-11  9:27 ` mrs at apple dot com
@ 2006-11-11 17:17 ` howarth at nitro dot med dot uc dot edu
  4 siblings, 0 replies; 6+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2006-11-11 17:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from howarth at nitro dot med dot uc dot edu  2006-11-11 17:16 -------
 I believe the bug exists just the same in the 32-bit mode build. The only
reason I saw it at 64-bit was that I hadn't installed the build first. Normally
I test from builds for fink packaging so the previous build is always
installed.


-- 


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


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

* [Bug testsuite/28913] "make install" required before testing libgomp and gfortran
  2006-08-31  1:33 [Bug testsuite/28913] New: " lucier at math dot purdue dot edu
                   ` (2 preceding siblings ...)
  2006-11-11  9:25 ` mrs at apple dot com
@ 2006-11-11  9:27 ` mrs at apple dot com
  2006-11-11 17:17 ` howarth at nitro dot med dot uc dot edu
  4 siblings, 0 replies; 6+ messages in thread
From: mrs at apple dot com @ 2006-11-11  9:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from mrs at apple dot com  2006-11-11 09:27 -------
I suspect this is a darwin only bug.


-- 


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


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

* [Bug testsuite/28913] "make install" required before testing libgomp and gfortran
  2006-08-31  1:33 [Bug testsuite/28913] New: " lucier at math dot purdue dot edu
  2006-08-31  2:14 ` [Bug testsuite/28913] " pinskia at gcc dot gnu dot org
  2006-11-11  5:45 ` howarth at nitro dot med dot uc dot edu
@ 2006-11-11  9:25 ` mrs at apple dot com
  2006-11-11  9:27 ` mrs at apple dot com
  2006-11-11 17:17 ` howarth at nitro dot med dot uc dot edu
  4 siblings, 0 replies; 6+ messages in thread
From: mrs at apple dot com @ 2006-11-11  9:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from mrs at apple dot com  2006-11-11 09:25 -------
I think I know what's going on.  Libraries contain an install name when built,
this is what it put into the file that is linked against the library.  The
problem is, the install name isn't correct, until the file is installed.  So,
one solution, would be to build the library with the build tree name, and then
during install, change the name.

I wonder what libstdc++ is doing.  I do wonder why it works better in 32-bit
mode?

I wonder if have 64-bit:

$ file /usr/lib/libgcc_s.1.dylib 
/usr/lib/libgcc_s.1.dylib: Mach-O universal binary with 4 architectures
/usr/lib/libgcc_s.1.dylib (for architecture i386):      Mach-O dynamically
linked shared library i386
/usr/lib/libgcc_s.1.dylib (for architecture x86_64):    Mach-O 64-bit
dynamically linked shared library x86_64
/usr/lib/libgcc_s.1.dylib (for architecture ppc):       Mach-O dynamically
linked shared library ppc
/usr/lib/libgcc_s.1.dylib (for architecture ppc64):     Mach-O 64-bit
dynamically linked shared library ppc64

I wonder, if you try building these with --shared-libgcc, does it then work?


-- 


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


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

* [Bug testsuite/28913] "make install" required before testing libgomp and gfortran
  2006-08-31  1:33 [Bug testsuite/28913] New: " lucier at math dot purdue dot edu
  2006-08-31  2:14 ` [Bug testsuite/28913] " pinskia at gcc dot gnu dot org
@ 2006-11-11  5:45 ` howarth at nitro dot med dot uc dot edu
  2006-11-11  9:25 ` mrs at apple dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2006-11-11  5:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from howarth at nitro dot med dot uc dot edu  2006-11-11 05:45 -------
I noticed this issue tonight while doing a make check on a build of
powerpc64-apple-darwin8 in the libgomp testsuite. A typical set of failures
include...

FAIL: libgomp.c++/ctor-1.C  -O0  (test for excess errors)
FAIL: libgomp.c++/ctor-1.C  -O1  (test for excess errors)
FAIL: libgomp.c++/ctor-1.C  -O2  (test for excess errors)
FAIL: libgomp.c++/ctor-1.C  -O3 -fomit-frame-pointer  (test for excess errors)
FAIL: libgomp.c++/ctor-1.C  -O3 -fomit-frame-pointer -funroll-loops  (test for
excess errors)
FAIL: libgomp.c++/ctor-1.C  -O3 -fomit-frame-pointer -funroll-all-loops
-finline-functions  (test for excess errors)
FAIL: libgomp.c++/ctor-1.C  -O3 -g  (test for excess errors)
FAIL: libgomp.c++/ctor-1.C  -Os  (test for excess errors)

which in the libgomp.log show a typical failure of...

set_ld_library_path_env_vars:
ld_library_path=.:/Users/howarth/darwin_obj/powerpc64-apple-darwin8/./libgomp/.libs:/Users/howarth/darwin_obj/powerpc64-apple-darwin8/./libgomp/../libstdc++-v3/src/.libs:/Users/howarth/darwin_obj/gcc

Executing on host: /Users/howarth/darwin_obj/gcc/xgcc
-B/Users/howarth/darwin_obj/gcc/
/Users/howarth/gcc/libgomp/testsuite/libgomp.c++/ctor-1.C 
-B/Users/howarth/darwin_obj/powerpc64-apple-
darwin8/./libgomp/
-I/Users/howarth/darwin_obj/powerpc64-apple-darwin8/./libgomp
-I/Users/howarth/gcc/libgomp/testsuite/.. -fmessage-length=0 -fopenmp  -O0    
-L/Users/howarth/darwin_obj/po
werpc64-apple-darwin8/./libgomp/.libs -lgomp
-L/Users/howarth/darwin_obj/powerpc64-apple-darwin8/./libgomp/../libstdc++-v3/src/.libs
-lstdc++ -lm   -m64 -o ./ctor-1.exe    (timeout = 300)
ld64 warning: indirect library /Users/howarth/work/gcc42/lib/libgcc_s.1.dylib
could not be loaded: file not found:
/Users/howarth/work/gcc42/lib/libgcc_s.1.dylib
ld64 warning: indirect library /Users/howarth/work/gcc42/lib/libgcc_s.1.dylib
could not be loaded: file not found:
/Users/howarth/work/gcc42/lib/libgcc_s.1.dylib
output is:
ld64 warning: indirect library /Users/howarth/work/gcc42/lib/libgcc_s.1.dylib
could not be loaded: file not found:
/Users/howarth/work/gcc42/lib/libgcc_s.1.dylib
ld64 warning: indirect library /Users/howarth/work/gcc42/lib/libgcc_s.1.dylib
could not be loaded: file not found:
/Users/howarth/work/gcc42/lib/libgcc_s.1.dylib

FAIL: libgomp.c++/ctor-1.C  -O0  (test for excess errors)
Excess errors:
ld64 warning: indirect library /Users/howarth/work/gcc42/lib/libgcc_s.1.dylib
could not be loaded: file not found:
/Users/howarth/work/gcc42/lib/libgcc_s.1.dylib
ld64 warning: indirect library /Users/howarth/work/gcc42/lib/libgcc_s.1.dylib
could not be loaded: file not found:
/Users/howarth/work/gcc42/lib/libgcc_s.1.dylib

when the build isn't installed before the make check is run.


-- 


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


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

* [Bug testsuite/28913] "make install" required before testing libgomp and gfortran
  2006-08-31  1:33 [Bug testsuite/28913] New: " lucier at math dot purdue dot edu
@ 2006-08-31  2:14 ` pinskia at gcc dot gnu dot org
  2006-11-11  5:45 ` howarth at nitro dot med dot uc dot edu
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-08-31  2:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-08-31 02:14 -------
I don't have this issue on any target that I test on, which includes
x86_64-linux-gnu and i686-linux-gnu and powerpc64-linux-gnu and yes I do
testing of -m64/-m32 on both powerpc64-linux-gnu and x86_64-linux-gnu.


-- 


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


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

end of thread, other threads:[~2014-11-08 17:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-28913-4@http.gcc.gnu.org/bugzilla/>
2014-11-08 17:59 ` [Bug testsuite/28913] "make install" required before testing libgomp and gfortran fxcoudert at gcc dot gnu.org
2006-08-31  1:33 [Bug testsuite/28913] New: " lucier at math dot purdue dot edu
2006-08-31  2:14 ` [Bug testsuite/28913] " pinskia at gcc dot gnu dot org
2006-11-11  5:45 ` howarth at nitro dot med dot uc dot edu
2006-11-11  9:25 ` mrs at apple dot com
2006-11-11  9:27 ` mrs at apple dot com
2006-11-11 17:17 ` howarth at nitro dot med dot uc dot edu

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