public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/18496] New: Build fails with "libgmp.so.6 not found" error
@ 2004-11-15 6:26 jim at dishaw dot org
2004-11-15 14:12 ` [Bug libfortran/18496] " pinskia at gcc dot gnu dot org
` (5 more replies)
0 siblings, 6 replies; 8+ messages in thread
From: jim at dishaw dot org @ 2004-11-15 6:26 UTC (permalink / raw)
To: gcc-bugs
I have libgmp and libmpfr installed with an atypical prefix (not /usr/local or
/usr) on the build machine because I do not have adminstrative rights. I
invoked configure as
../gcc/configure --with-mpfr=/sys/sdf/sci --with-gmp=/sys/sdf/sci
--prefix=/sys/sdf/sci
The build progresses normally for a great while and then dies with the error
/sys/sdf/src/sci/gcc-cvs/gcc-build/gcc/xgcc
-B/sys/sdf/src/sci/gcc-cvs/gcc-build/gcc/
-B/sys/sdf/sci/alpha-unknown-netbsd1.6.2./bin/
-B/sys/sdf/sci/alpha-unknown-netbsd1.6.2./lib/ -isystem
/sys/sdf/sci/alpha-unknown-netbsd1.6.2./include -isystem
/sys/sdf/sci/alpha-unknown-netbsd1.6.2./sys-include -DHAVE_CONFIG_H -I.
-I../../../gcc/libgfortran -I. -I../../../gcc/libgfortran/io -O2 -g -O2 -mieee
-std=gnu99 -O2 -g -O2 -mieee -c
../../../gcc/libgfortran/intrinsics/reshape_packed.c -o reshape_packed.o
>/dev/null 2>&1
Shared object "libgmp.so.6" not found
make[2]: *** [selected_int_kind.lo] Error 1
make[1]: *** [all] Error 2
make: *** [all-target-libgfortran] Error 2
/bin/sh ./libtool --mode=compile /sys/sdf/src/sci/gcc-cvs/gcc-build/gcc/gfortran
-B/sys/sdf/src/sci/gcc-cvs/gcc-build/gcc/
-B/sys/sdf/sci/alpha-unknown-netbsd1.6.2./bin/
-B/sys/sdf/sci/alpha-unknown-netbsd1.6.2./lib/ -isystem
/sys/sdf/sci/alpha-unknown-netbsd1.6.2./include -isystem
/sys/sdf/sci/alpha-unknown-netbsd1.6.2./sys-include -Wall -fno-repack-arrays
-fno-underscoring -c -o selected_int_kind.lo `test -f
'intrinsics/selected_int_kind.f90' || echo
'../../../gcc/libgfortran/'`intrinsics/selected_int_kind.f90
/sys/sdf/src/sci/gcc-cvs/gcc-build/gcc/gfortran
-B/sys/sdf/src/sci/gcc-cvs/gcc-build/gcc/
-B/sys/sdf/sci/alpha-unknown-netbsd1.6.2./bin/
-B/sys/sdf/sci/alpha-unknown-netbsd1.6.2./lib/ -isystem
/sys/sdf/sci/alpha-unknown-netbsd1.6.2./include -isystem
/sys/sdf/sci/alpha-unknown-netbsd1.6.2./sys-include -Wall -fno-repack-arrays
-fno-underscoring -c ../../../gcc/libgfortran/intrinsics/selected_int_kind.f90
-fPIC -DPIC -o .libs/selected_int_kind.o
make[2]: Leaving directory
`/sys/sdf/src/sci/gcc-cvs/gcc-build/alpha-unknown-netbsd1.6.2./libgfortran'
make[1]: Leaving directory
`/sys/sdf/src/sci/gcc-cvs/gcc-build/alpha-unknown-netbsd1.6.2./libgfortran'
Examining the config.log in libgfortran, I found the following error
configure:4504: /sys/sdf/src/sci/gcc-cvs/gcc-build/gcc/gfortran -B/sys/sdf/src/
sci/gcc-cvs/gcc-build/gcc/ -B/sys/sdf/sci/alpha-unknown-netbsd1.6.2./bin/ -B/sys
/sdf/sci/alpha-unknown-netbsd1.6.2./lib/ -isystem /sys/sdf/sci/alpha-unknown-net
bsd1.6.2./include -isystem /sys/sdf/sci/alpha-unknown-netbsd1.6.2./sys-include -
c conftest.F >&5
Shared object "libgmp.so.6" not found
configure:4510: $? = 1
configure: failed program was:
| program main
| #ifndef __GNUC__
| choke me
| #endif
|
| end
configure:4536: result: no
--
Summary: Build fails with "libgmp.so.6 not found" error
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libfortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jim at dishaw dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: alpha-unknown-netbsd1.6.2
GCC host triplet: alpha-unknown-netbsd1.6.2
GCC target triplet: alpha-unknown-netbsd1.6.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18496
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug libfortran/18496] Build fails with "libgmp.so.6 not found" error
2004-11-15 6:26 [Bug libfortran/18496] New: Build fails with "libgmp.so.6 not found" error jim at dishaw dot org
@ 2004-11-15 14:12 ` pinskia at gcc dot gnu dot org
2004-11-15 14:13 ` [Bug fortran/18496] " pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-15 14:12 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-15 14:12 -------
Does setting LD_LIBRARY_PATH to /sys/sdf/sci help?
I don't know if we can count this as a bug or not.
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |build
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18496
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/18496] Build fails with "libgmp.so.6 not found" error
2004-11-15 6:26 [Bug libfortran/18496] New: Build fails with "libgmp.so.6 not found" error jim at dishaw dot org
2004-11-15 14:12 ` [Bug libfortran/18496] " pinskia at gcc dot gnu dot org
@ 2004-11-15 14:13 ` pinskia at gcc dot gnu dot org
2004-11-15 21:55 ` jim at dishaw dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-15 14:13 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Component|libfortran |fortran
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18496
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/18496] Build fails with "libgmp.so.6 not found" error
2004-11-15 6:26 [Bug libfortran/18496] New: Build fails with "libgmp.so.6 not found" error jim at dishaw dot org
2004-11-15 14:12 ` [Bug libfortran/18496] " pinskia at gcc dot gnu dot org
2004-11-15 14:13 ` [Bug fortran/18496] " pinskia at gcc dot gnu dot org
@ 2004-11-15 21:55 ` jim at dishaw dot org
2004-11-16 2:41 ` jim at dishaw dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: jim at dishaw dot org @ 2004-11-15 21:55 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From jim at dishaw dot org 2004-11-15 21:55 -------
Subject: Re: Build fails with "libgmp.so.6 not found" error
"pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:
> ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-15 14:12 -------
> Does setting LD_LIBRARY_PATH to /sys/sdf/sci help?
I tried setting LD_LIBRARY_PATH but it was after the configure step. I
will try again with LD_LIBRARY_PATH set before I run configure. I will
also check to see which version of libtool the system is running--that
might be a problem.
>
> I don't know if we can count this as a bug or not.
>
I guess it depends where the problem is. If the configure script is not
properly setting the linker flags, I would think that is a bug. I don't
think it is a bug inherent in gcc or libgfortran.
-jd
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18496
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/18496] Build fails with "libgmp.so.6 not found" error
2004-11-15 6:26 [Bug libfortran/18496] New: Build fails with "libgmp.so.6 not found" error jim at dishaw dot org
` (2 preceding siblings ...)
2004-11-15 21:55 ` jim at dishaw dot org
@ 2004-11-16 2:41 ` jim at dishaw dot org
2004-12-02 21:08 ` tobi at gcc dot gnu dot org
2004-12-02 21:10 ` tobi at gcc dot gnu dot org
5 siblings, 0 replies; 8+ messages in thread
From: jim at dishaw dot org @ 2004-11-16 2:41 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From jim at dishaw dot org 2004-11-16 02:41 -------
I attempted the build again execpt that I set LD_LIBRARY_PATH=/sys/sdf/sci/lib
before the first configure and it now builds to completion. Is this buggy
behaviour or the intended behaviour? One part of the configure process uses the
path specified by --with-gmp= to resolve the libaries. The configure process
for libgfortran does not. My $0.02 is that it should be consistent, but I may
be missing a subtle point.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18496
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/18496] Build fails with "libgmp.so.6 not found" error
2004-11-15 6:26 [Bug libfortran/18496] New: Build fails with "libgmp.so.6 not found" error jim at dishaw dot org
` (3 preceding siblings ...)
2004-11-16 2:41 ` jim at dishaw dot org
@ 2004-12-02 21:08 ` tobi at gcc dot gnu dot org
2004-12-02 21:10 ` tobi at gcc dot gnu dot org
5 siblings, 0 replies; 8+ messages in thread
From: tobi at gcc dot gnu dot org @ 2004-12-02 21:08 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From tobi at gcc dot gnu dot org 2004-12-02 21:08 -------
I'm thinking that this is a real issue with gfortran's configury: if we're able
to link against gmp we should also be able to run the resulting binary.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-12-02 21:08:44
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18496
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/18496] Build fails with "libgmp.so.6 not found" error
2004-11-15 6:26 [Bug libfortran/18496] New: Build fails with "libgmp.so.6 not found" error jim at dishaw dot org
` (4 preceding siblings ...)
2004-12-02 21:08 ` tobi at gcc dot gnu dot org
@ 2004-12-02 21:10 ` tobi at gcc dot gnu dot org
5 siblings, 0 replies; 8+ messages in thread
From: tobi at gcc dot gnu dot org @ 2004-12-02 21:10 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From tobi at gcc dot gnu dot org 2004-12-02 21:10 -------
Um, since I didn't reproduce the failure myself I'm not sure if I should have
confirmed this bug. I don't see a way to set this back, so I'm going to have to
leave this as confirmed.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18496
^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <bug-18496-9557@http.gcc.gnu.org/bugzilla/>]
end of thread, other threads:[~2005-11-04 17:55 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-15 6:26 [Bug libfortran/18496] New: Build fails with "libgmp.so.6 not found" error jim at dishaw dot org
2004-11-15 14:12 ` [Bug libfortran/18496] " pinskia at gcc dot gnu dot org
2004-11-15 14:13 ` [Bug fortran/18496] " pinskia at gcc dot gnu dot org
2004-11-15 21:55 ` jim at dishaw dot org
2004-11-16 2:41 ` jim at dishaw dot org
2004-12-02 21:08 ` tobi at gcc dot gnu dot org
2004-12-02 21:10 ` tobi at gcc dot gnu dot org
[not found] <bug-18496-9557@http.gcc.gnu.org/bugzilla/>
2005-11-04 17:55 ` fxcoudert 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).