public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/50697] New: gcc compile fails when gmp is in non-standard location
@ 2011-10-12 4:55 trevor at corevx dot com
2011-10-12 10:53 ` [Bug bootstrap/50697] " redi at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: trevor at corevx dot com @ 2011-10-12 4:55 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50697
Bug #: 50697
Summary: gcc compile fails when gmp is in non-standard location
Classification: Unclassified
Product: gcc
Version: 4.6.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: trevor@corevx.com
head -1 /swadm/local/include/gmp.h
/* Definitions for GNU multiple precision functions. -*- mode: c -*-
./configure --prefix=/swadm/local CFLAGS=-fPIC -I/swadm/local/include
LDFLAGS=-L/swadm/local/lib --with-gmp-include=/swadm/local/include
or
./configure --prefix=/swadm/local CFLAGS=-fPIC -I/swadm/local/include
LDFLAGS=-L/swadm/local/lib --with-gmp-include=/swadm/local
log:
---begin---
configure:5354: checking for the correct version of gmp.h
configure:5374: gcc -c -fPIC -I/swadm/local/include -I/swadm/local conftest.c
>&5
configure:5374: $? = 0
configure:5392: gcc -c -fPIC -I/swadm/local/include -I/swadm/local conftest.c
>&5
configure:5392: $? = 0
configure:5393: result: yes
---end---
make error:
---begin---
gcc -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-Wold-style-definition -Wc++-compat -fno-common -DHAVE_CONFIG_H
-DGENERATOR_FILE -L/swadm/local/lib \
build/gcov-iov.o -o build/gcov-iov
build/gcov-iov '4.6.1' '' \
> tmp-gcov-iov.h
/bin/sh ../.././gcc/../move-if-change tmp-gcov-iov.h gcov-iov.h
echo timestamp > s-iov
gcc -c -DIN_GCC_FRONTEND -g -fkeep-inline-functions -DIN_GCC -W -Wall
-Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -Wold-style-definition -Wc++-compat -fno-common
-DHAVE_CONFIG_H -I. -I. -I../.././gcc -I../.././gcc/. -I../.././gcc/../include
-I../.././gcc/../libcpp/include -I../.././gcc/../libdecnumber
-I../.././gcc/../libdecnumber/bid -I../libdecnumber ../.././gcc/c-lang.c -o
c-lang.o
In file included from ../.././gcc/tree.h:31,
from ../.././gcc/c-lang.c:27:
../.././gcc/double-int.h:24:17: error: gmp.h: No such file or directory
In file included from ../.././gcc/tree.h:31,
from ../.././gcc/c-lang.c:27:
../.././gcc/double-int.h:316: error: expected ‘)’ before ‘double_int’
../.././gcc/double-int.h:317: error: expected declaration specifiers or ‘...’
before ‘mpz_t’
In file included from ../.././gcc/c-lang.c:27:
../.././gcc/tree.h:5190: error: expected declaration specifiers or ‘...’ before
‘mpz_t’
../.././gcc/tree.h:5190: error: expected declaration specifiers or ‘...’ before
‘mpz_t’
make[3]: *** [c-lang.o] Error 1
make[3]: Leaving directory
`/swadm/local/Gmowa/gcc-4.6.1/host-x86_64-unknown-linux-gnu/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/swadm/local/Gmowa/gcc-4.6.1'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/swadm/local/Gmowa/gcc-4.6.1'
make: *** [all] Error 2
---end---
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug bootstrap/50697] gcc compile fails when gmp is in non-standard location
2011-10-12 4:55 [Bug bootstrap/50697] New: gcc compile fails when gmp is in non-standard location trevor at corevx dot com
@ 2011-10-12 10:53 ` redi at gcc dot gnu.org
2011-10-13 5:38 ` trevor at corevx dot com
2011-10-13 5:39 ` trevor at corevx dot com
2 siblings, 0 replies; 4+ messages in thread
From: redi at gcc dot gnu.org @ 2011-10-12 10:53 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50697
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-10-12 10:53:08 UTC ---
(In reply to comment #0)
>
> ./configure --prefix=/swadm/local CFLAGS=-fPIC -I/swadm/local/include
> LDFLAGS=-L/swadm/local/lib --with-gmp-include=/swadm/local/include
>
> or
>
> ./configure --prefix=/swadm/local CFLAGS=-fPIC -I/swadm/local/include
> LDFLAGS=-L/swadm/local/lib --with-gmp-include=/swadm/local
Why not just use --with-gmp=/swadm/local ?
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug bootstrap/50697] gcc compile fails when gmp is in non-standard location
2011-10-12 4:55 [Bug bootstrap/50697] New: gcc compile fails when gmp is in non-standard location trevor at corevx dot com
2011-10-12 10:53 ` [Bug bootstrap/50697] " redi at gcc dot gnu.org
@ 2011-10-13 5:38 ` trevor at corevx dot com
2011-10-13 5:39 ` trevor at corevx dot com
2 siblings, 0 replies; 4+ messages in thread
From: trevor at corevx dot com @ 2011-10-13 5:38 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50697
--- Comment #2 from trevor at corevx dot com 2011-10-13 05:38:40 UTC ---
(In reply to comment #1)
> Why not just use --with-gmp=/swadm/local ?
right .. thank you, that worked nicely.
sorry for the noise.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug bootstrap/50697] gcc compile fails when gmp is in non-standard location
2011-10-12 4:55 [Bug bootstrap/50697] New: gcc compile fails when gmp is in non-standard location trevor at corevx dot com
2011-10-12 10:53 ` [Bug bootstrap/50697] " redi at gcc dot gnu.org
2011-10-13 5:38 ` trevor at corevx dot com
@ 2011-10-13 5:39 ` trevor at corevx dot com
2 siblings, 0 replies; 4+ messages in thread
From: trevor at corevx dot com @ 2011-10-13 5:39 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50697
trevor at corevx dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #3 from trevor at corevx dot com 2011-10-13 05:39:22 UTC ---
resolved
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-10-13 5:39 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-12 4:55 [Bug bootstrap/50697] New: gcc compile fails when gmp is in non-standard location trevor at corevx dot com
2011-10-12 10:53 ` [Bug bootstrap/50697] " redi at gcc dot gnu.org
2011-10-13 5:38 ` trevor at corevx dot com
2011-10-13 5:39 ` trevor at corevx dot com
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).