public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/8477] autoconf script chooses wrong value for gcc_gxx_include_path
[not found] <bug-8477-3431@http.gcc.gnu.org/bugzilla/>
@ 2009-06-05 2:27 ` julians37 at gmail dot com
2009-06-05 4:48 ` julians37 at gmail dot com
1 sibling, 0 replies; 5+ messages in thread
From: julians37 at gmail dot com @ 2009-06-05 2:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from julians37 at gmail dot com 2009-06-05 02:26 -------
This is still present in at least 4.0.4, 4.3.2 and 4.3.3.
Example gcc -v output for 4.0.4 follows.
$ cat helloworld.cpp
#include <iostream>
int main()
{
return 0;
}
$ /redacted/gcc/4.0.4-build1/arch/linux-fc3/i686/bin/g++ -v helloworld.cpp
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /redacted2/gcc-4.0.4-source-mYKeHk/gcc-4.0.4/configure
--prefix=/redacted/gcc/4.0.4-build1
--exec-prefix=/redacted/gcc/4.0.4-build1/arch/linux-fc3/i686/
--disable-dependency-tracking
Thread model: posix
gcc version 4.0.4
/redacted/gcc/4.0.4-build1/arch/linux-fc3/i686/bin/../libexec/gcc/i686-pc-linux-gnu/4.0.4/cc1plus
-quiet -v -iprefix
/redacted/gcc/4.0.4-build1/arch/linux-fc3/i686/bin/../lib/gcc/i686-pc-linux-gnu/4.0.4/
-D_GNU_SOURCE helloworld.cpp -quiet -dumpbase helloworld.cpp -mtune=pentiumpro
-auxbase helloworld -version -o /tmp/cc36UwXw.s
ignoring nonexistent directory
"/redacted/gcc/4.0.4-build1/arch/linux-fc3/i686/bin/../lib/gcc/i686-pc-linux-gnu/4.0.4/../../../../../../../../include/c++/4.0.4"
ignoring nonexistent directory
"/redacted/gcc/4.0.4-build1/arch/linux-fc3/i686/bin/../lib/gcc/i686-pc-linux-gnu/4.0.4/../../../../../../../../include/c++/4.0.4/i686-pc-linux-gnu"
ignoring nonexistent directory
"/redacted/gcc/4.0.4-build1/arch/linux-fc3/i686/bin/../lib/gcc/i686-pc-linux-gnu/4.0.4/../../../../../../../../include/c++/4.0.4/backward"
ignoring nonexistent directory
"/redacted/gcc/4.0.4-build1/arch/linux-fc3/i686/bin/../lib/gcc/i686-pc-linux-gnu/4.0.4/../../../../../../i686-pc-linux-gnu/include"
ignoring nonexistent directory
"/redacted/gcc/4.0.4-build1/arch/linux-fc3/i686//lib/gcc/i686-pc-linux-gnu/4.0.4/../../../../../../../../include/c++/4.0.4"
ignoring nonexistent directory
"/redacted/gcc/4.0.4-build1/arch/linux-fc3/i686//lib/gcc/i686-pc-linux-gnu/4.0.4/../../../../../../../../include/c++/4.0.4/i686-pc-linux-gnu"
ignoring nonexistent directory
"/redacted/gcc/4.0.4-build1/arch/linux-fc3/i686//lib/gcc/i686-pc-linux-gnu/4.0.4/../../../../../../../../include/c++/4.0.4/backward"
ignoring duplicate directory
"/redacted/gcc/4.0.4-build1/arch/linux-fc3/i686//lib/gcc/i686-pc-linux-gnu/4.0.4/include"
ignoring nonexistent directory
"/redacted/gcc/4.0.4-build1/arch/linux-fc3/i686//lib/gcc/i686-pc-linux-gnu/4.0.4/../../../../../../i686-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
/redacted/gcc/4.0.4-build1/arch/linux-fc3/i686/bin/../lib/gcc/i686-pc-linux-gnu/4.0.4/include
/usr/local/include
/redacted/gcc/4.0.4-build1/include
/usr/include
End of search list.
GNU C++ version 4.0.4 (i686-pc-linux-gnu)
compiled by GNU C version 3.4.4 20050721 (Red Hat 3.4.4-2).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
helloworld.cpp:1:20: error: iostream: No such file or directory
$
--
julians37 at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |julians37 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8477
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug bootstrap/8477] autoconf script chooses wrong value for gcc_gxx_include_path
[not found] <bug-8477-3431@http.gcc.gnu.org/bugzilla/>
2009-06-05 2:27 ` [Bug bootstrap/8477] autoconf script chooses wrong value for gcc_gxx_include_path julians37 at gmail dot com
@ 2009-06-05 4:48 ` julians37 at gmail dot com
1 sibling, 0 replies; 5+ messages in thread
From: julians37 at gmail dot com @ 2009-06-05 4:48 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from julians37 at gmail dot com 2009-06-05 04:48 -------
Configuring with --enable-version-specific-runtime-libs appears to be a
workaround, although I'm a bit unclear on what exactly this flag does.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8477
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug bootstrap/8477] autoconf script chooses wrong value for gcc_gxx_include_path
[not found] <20021106050604.8477.ian.grant@cl.cam.ac.uk>
2003-08-06 4:21 ` pinskia at physics dot uc dot edu
2003-11-10 2:39 ` pinskia at gcc dot gnu dot org
@ 2005-01-21 0:54 ` ebuddington at wesleyan dot edu
2 siblings, 0 replies; 5+ messages in thread
From: ebuddington at wesleyan dot edu @ 2005-01-21 0:54 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ebuddington at wesleyan dot edu 2005-01-21 00:54 -------
(In reply to comment #6)
> Still exist in the mainline even after configure was rewritten for autoconf 2.57.
I believe this is the same problem I see today in gcc-3.4.3. Unless I set
CPLUS_INCLUDE_PATH, g++ won't find standard C++ includes such as <string>.
Reading specs from /packages/gcc/3.4.3/i386/lib/gcc/i386-pc-linux-gnu/3.4.3/specs
Configured with: ./configure --prefix=/packages/gcc/3.4.3/any
--exec-prefix=/packages/gcc/3.4.3/i386 --build=i386-pc-linux-gnu
--host=i386-pc-linux-gnu
Thread model: posix
gcc version 3.4.3
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8477
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug bootstrap/8477] autoconf script chooses wrong value for gcc_gxx_include_path
[not found] <20021106050604.8477.ian.grant@cl.cam.ac.uk>
2003-08-06 4:21 ` pinskia at physics dot uc dot edu
@ 2003-11-10 2:39 ` pinskia at gcc dot gnu dot org
2005-01-21 0:54 ` ebuddington at wesleyan dot edu
2 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-10 2:39 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-11-10 02:39 -------
*** Bug 12975 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8477
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug bootstrap/8477] autoconf script chooses wrong value for gcc_gxx_include_path
[not found] <20021106050604.8477.ian.grant@cl.cam.ac.uk>
@ 2003-08-06 4:21 ` pinskia at physics dot uc dot edu
2003-11-10 2:39 ` pinskia at gcc dot gnu dot org
2005-01-21 0:54 ` ebuddington at wesleyan dot edu
2 siblings, 0 replies; 5+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-08-06 4:21 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8477
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|0000-00-00 00:00:00 |2003-08-06 04:21:15
date| |
------- Additional Comments From pinskia at physics dot uc dot edu 2003-08-06 04:21 -------
Still exist in the mainline even after configure was rewritten for autoconf 2.57.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-06-05 4:48 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-8477-3431@http.gcc.gnu.org/bugzilla/>
2009-06-05 2:27 ` [Bug bootstrap/8477] autoconf script chooses wrong value for gcc_gxx_include_path julians37 at gmail dot com
2009-06-05 4:48 ` julians37 at gmail dot com
[not found] <20021106050604.8477.ian.grant@cl.cam.ac.uk>
2003-08-06 4:21 ` pinskia at physics dot uc dot edu
2003-11-10 2:39 ` pinskia at gcc dot gnu dot org
2005-01-21 0:54 ` ebuddington at wesleyan 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).