This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug build/13966] Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk
- From: "carlos_odonell at mentor dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Tue, 10 Apr 2012 17:54:51 +0000
- Subject: [Bug build/13966] Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk
- Auto-submitted: auto-generated
- References: <bug-13966-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=13966
Carlos O'Donell <carlos_odonell at mentor dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |glibc_2.15
Status|NEW |ASSIGNED
Last reconfirmed| |2012-04-10
CC| |carlos_odonell at mentor
| |dot com
AssignedTo|unassigned at sourceware |carlos_odonell at mentor
|dot org |dot com
Flags| |review?(joseph at
| |codesourcery dot com)
--- Comment #2 from Carlos O'Donell <carlos_odonell at mentor dot com> 2012-04-10 17:54:51 UTC ---
Octoploid,
Thanks for the patch!
I don't know how this worked in the past.
Compiling a C++ application with -nostdinc is not going to work.
Adding -nostdinc removes:
/usr/include/c++/4.5
/usr/include/c++/4.5/i686-linux-gnu
/usr/include/c++/4.5/backward
/usr/local/include
/usr/include/i386-linux-gnu
/usr/include
And glibc doesn't provide back the required headers to build a C++ application.
I can reproduce this on my x86 build/test system, in fact you can see the
failures in the 2.15 known issues:
http://sourceware.org/glibc/wiki/Release/2.15
Joseph,
Do you have any idea about the right fix for this?
The use of C++ applications in the testsuite won't work reliably without C++
headers.
I have no objection to applying Octoploid's patch since it fixes the
*immediate* testsuite failures that you can see are present in 2.15 known
issues.
Should glibc's testsuite infrastructure add back:
/usr/include/c++/4.5
/usr/include/c++/4.5/i686-linux-gnu
/usr/include/c++/4.5/backward
e.g. add back only the C++ header directories?
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.