* [Bug build/13966] Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk
2012-04-10 9:47 [Bug build/13966] New: Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk cryptooctoploid at gmail dot com
@ 2012-04-10 10:14 ` cryptooctoploid at gmail dot com
2012-04-10 17:55 ` carlos_odonell at mentor dot com
` (22 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: cryptooctoploid at gmail dot com @ 2012-04-10 10:14 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=13966
--- Comment #1 from Octoploid <cryptooctoploid at gmail dot com> 2012-04-10 10:13:32 UTC ---
The following patch also works:
diff --git a/elf/tst-unique3.cc b/elf/tst-unique3.cc
index efdd6d7..bc6e6ae 100644
--- a/elf/tst-unique3.cc
+++ b/elf/tst-unique3.cc
@@ -1,6 +1,6 @@
#include "tst-unique3.h"
-#include <cstdio>
+#include <stdio.h>
#include "../dlfcn/dlfcn.h"
int t = S<char>::i;
@@ -8,14 +8,14 @@ int t = S<char>::i;
int
main (void)
{
- std::printf ("%d %d\n", S<char>::i, t);
+ printf ("%d %d\n", S<char>::i, t);
int result = S<char>::i++ != 1 || t != 1;
result |= in_lib ();
void *d = dlopen ("$ORIGIN/tst-unique3lib2.so", RTLD_LAZY);
int (*fp) ();
if (d == NULL || (fp = (int(*)()) dlsym (d, "in_lib2")) == NULL)
{
- std::printf ("failed to get symbol in_lib2\n");
+ printf ("failed to get symbol in_lib2\n");
return 1;
}
result |= fp ();
diff --git a/elf/tst-unique3lib.cc b/elf/tst-unique3lib.cc
index fa8e85a..79f8b31 100644
--- a/elf/tst-unique3lib.cc
+++ b/elf/tst-unique3lib.cc
@@ -1,4 +1,4 @@
-#include <cstdio>
+#include <stdio.h>
#include "tst-unique3.h"
template<typename T> int S<T>::i = 1;
static int i = S<char>::i;
@@ -6,6 +6,6 @@ static int i = S<char>::i;
int
in_lib (void)
{
- std::printf ("in_lib: %d %d\n", S<char>::i, i);
+ printf ("in_lib: %d %d\n", S<char>::i, i);
return S<char>::i++ != 2 || i != 1;
}
diff --git a/elf/tst-unique3lib2.cc b/elf/tst-unique3lib2.cc
index 17d817e..18d8100 100644
--- a/elf/tst-unique3lib2.cc
+++ b/elf/tst-unique3lib2.cc
@@ -1,4 +1,4 @@
-#include <cstdio>
+#include <stdio.h>
#include "tst-unique3.h"
template<typename T> int S<T>::i;
@@ -7,6 +7,6 @@ extern "C"
int
in_lib2 ()
{
- std::printf ("in_lib2: %d\n", S<char>::i);
+ printf ("in_lib2: %d\n", S<char>::i);
return S<char>::i != 3;
}
diff --git a/elf/tst-unique4.cc b/elf/tst-unique4.cc
index 575c70d..c00df13 100644
--- a/elf/tst-unique4.cc
+++ b/elf/tst-unique4.cc
@@ -1,7 +1,7 @@
// BZ 12511
#include "tst-unique4.h"
-#include <cstdio>
+#include <stdio.h>
static int a[24] =
{
--
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.
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug build/13966] Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk
2012-04-10 9:47 [Bug build/13966] New: Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk cryptooctoploid at gmail dot com
2012-04-10 10:14 ` [Bug build/13966] " cryptooctoploid at gmail dot com
@ 2012-04-10 17:55 ` carlos_odonell at mentor dot com
2012-04-19 20:01 ` joseph at codesourcery dot com
` (21 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: carlos_odonell at mentor dot com @ 2012-04-10 17:55 UTC (permalink / raw)
To: glibc-bugs
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.
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug build/13966] Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk
2012-04-10 9:47 [Bug build/13966] New: Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk cryptooctoploid at gmail dot com
2012-04-10 10:14 ` [Bug build/13966] " cryptooctoploid at gmail dot com
2012-04-10 17:55 ` carlos_odonell at mentor dot com
@ 2012-04-19 20:01 ` joseph at codesourcery dot com
2012-04-19 21:26 ` cryptooctoploid at gmail dot com
` (20 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: joseph at codesourcery dot com @ 2012-04-19 20:01 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=13966
--- Comment #3 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2012-04-19 20:00:46 UTC ---
On Tue, 10 Apr 2012, carlos_odonell at mentor dot com wrote:
> I don't know how this worked in the past.
>
> Compiling a C++ application with -nostdinc is not going to work.
If you don't use --with-headers - if you use your system's default kernel
headers - then you don't get -nostdinc used, so don't see this. (And
that also covers the case of building a cross compiler and preinstalling
the kernel headers into its default sysroot.)
There is code in configure.in that tries to locate the compiler's internal
directories - including the C++ ones - for the case where -nostdinc is
used. So if it's not working in a particular case, I'd investigate, on
the affected system, what is wrong with this configure code and how it
needs to be fixed to find the right directories for C++ headers.
# if using special system headers, find out the compiler's sekrit
# header directory and add that to the list. NOTE: Only does the right
# thing on a system that doesn't need fixincludes. (Not presently a problem.)
if test -n "$sysheaders"; then
SYSINCLUDES=-nostdinc
for d in include include-fixed; do
i=`$CC -print-file-name="$d"` && test "x$i" != x && test "x$i" != "x$d" &&
SYSINCLUDES="$SYSINCLUDES -isystem $i"
done
SYSINCLUDES="$SYSINCLUDES \
-isystem `echo $sysheaders | sed 's/:/ -isystem /g'`"
if test -n "$CXX"; then
CXX_SYSINCLUDES=
cxxversion=`$CXX -dumpversion 2>&AS_MESSAGE_LOG_FD` &&
cxxmachine=`$CXX -dumpmachine 2>&AS_MESSAGE_LOG_FD` &&
for d in include "$cxxmachine/include"; do
i=../../../../$d/c++/$cxxversion
cxxheaders=`$CXX -print-file-name="$i"` &&
test "x$cxxheaders" != x && test "x$i" != "x$cxxheaders" &&
CXX_SYSINCLUDES="$CXX_SYSINCLUDES -isystem $cxxheaders \
-isystem $cxxheaders/$cxxmachine -isystem $cxxheaders/backward"
done
fi
fi
AC_SUBST(SYSINCLUDES)
AC_SUBST(CXX_SYSINCLUDES)
--
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.
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug build/13966] Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk
2012-04-10 9:47 [Bug build/13966] New: Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk cryptooctoploid at gmail dot com
` (2 preceding siblings ...)
2012-04-19 20:01 ` joseph at codesourcery dot com
@ 2012-04-19 21:26 ` cryptooctoploid at gmail dot com
2012-04-20 7:47 ` schwab@linux-m68k.org
` (19 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: cryptooctoploid at gmail dot com @ 2012-04-19 21:26 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=13966
Octoploid <cryptooctoploid at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |INVALID
--- Comment #4 from Octoploid <cryptooctoploid at gmail dot com> 2012-04-19 21:25:37 UTC ---
(In reply to comment #3)
> On Tue, 10 Apr 2012, carlos_odonell at mentor dot com wrote:
>
> > I don't know how this worked in the past.
> >
> > Compiling a C++ application with -nostdinc is not going to work.
>
> If you don't use --with-headers - if you use your system's default kernel
> headers - then you don't get -nostdinc used, so don't see this. (And
> that also covers the case of building a cross compiler and preinstalling
> the kernel headers into its default sysroot.)
Thanks for the head-up. I just didn't know that "--with-headers=/usr/include"
is not only redundant, but also the root cause this issue.
--
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.
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug build/13966] Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk
2012-04-10 9:47 [Bug build/13966] New: Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk cryptooctoploid at gmail dot com
` (3 preceding siblings ...)
2012-04-19 21:26 ` cryptooctoploid at gmail dot com
@ 2012-04-20 7:47 ` schwab@linux-m68k.org
2012-04-20 10:31 ` cryptooctoploid at gmail dot com
` (18 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: schwab@linux-m68k.org @ 2012-04-20 7:47 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=13966
--- Comment #5 from Andreas Schwab <schwab@linux-m68k.org> 2012-04-20 07:46:36 UTC ---
--with-headers=/usr/include is working fine here.
--
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.
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug build/13966] Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk
2012-04-10 9:47 [Bug build/13966] New: Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk cryptooctoploid at gmail dot com
` (4 preceding siblings ...)
2012-04-20 7:47 ` schwab@linux-m68k.org
@ 2012-04-20 10:31 ` cryptooctoploid at gmail dot com
2012-04-20 12:17 ` schwab@linux-m68k.org
` (17 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: cryptooctoploid at gmail dot com @ 2012-04-20 10:31 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=13966
--- Comment #6 from Octoploid <cryptooctoploid at gmail dot com> 2012-04-20 10:31:17 UTC ---
On my machine the C++ headers live under:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/include/g++-v4/
and when I insert a few echos:
5256 cxxheaders=`$CXX -print-file-name="$i"` &&
5257 echo $i && echo $cxxheaders &&
5258 test "x$cxxheaders" != x && test "x$i" != "x$cxxheaders" &&
I get:
../../../../include/c++/4.8.0
../../../../include/c++/4.8.0
../../../../x86_64-pc-linux-gnu/include/c++/4.8.0
../../../../x86_64-pc-linux-gnu/include/c++/4.8.0
--
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.
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug build/13966] Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk
2012-04-10 9:47 [Bug build/13966] New: Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk cryptooctoploid at gmail dot com
` (5 preceding siblings ...)
2012-04-20 10:31 ` cryptooctoploid at gmail dot com
@ 2012-04-20 12:17 ` schwab@linux-m68k.org
2012-04-20 12:23 ` schwab@linux-m68k.org
` (16 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: schwab@linux-m68k.org @ 2012-04-20 12:17 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=13966
Andreas Schwab <schwab@linux-m68k.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |
--- Comment #7 from Andreas Schwab <schwab@linux-m68k.org> 2012-04-20 12:16:37 UTC ---
Looks like this needs to be amended for gcc 4.8.
--
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.
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug build/13966] Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk
2012-04-10 9:47 [Bug build/13966] New: Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk cryptooctoploid at gmail dot com
` (6 preceding siblings ...)
2012-04-20 12:17 ` schwab@linux-m68k.org
@ 2012-04-20 12:23 ` schwab@linux-m68k.org
2012-04-20 12:28 ` cryptooctoploid at gmail dot com
` (15 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: schwab@linux-m68k.org @ 2012-04-20 12:23 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=13966
--- Comment #8 from Andreas Schwab <schwab@linux-m68k.org> 2012-04-20 12:23:05 UTC ---
Did you use a non-standard gxx-include-dir?
--
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.
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug build/13966] Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk
2012-04-10 9:47 [Bug build/13966] New: Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk cryptooctoploid at gmail dot com
` (7 preceding siblings ...)
2012-04-20 12:23 ` schwab@linux-m68k.org
@ 2012-04-20 12:28 ` cryptooctoploid at gmail dot com
2012-05-17 14:10 ` carlos_odonell at mentor dot com
` (14 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: cryptooctoploid at gmail dot com @ 2012-04-20 12:28 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=13966
--- Comment #9 from Octoploid <cryptooctoploid at gmail dot com> 2012-04-20 12:28:03 UTC ---
(In reply to comment #8)
> Did you use a non-standard gxx-include-dir?
Yes:
~/gcc/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.8.0
--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/include
--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.0
--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.0/man
--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.0/info
--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/include/g++-v4
--host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec
--disable-fixed-point --without-ppl --without-cloog --enable-lto --enable-nls
--without-included-gettext --with-system-zlib --disable-werror
--enable-initfini-array --with-gold --enable-secureplt --disable-multilib
--enable-libmudflap --disable-libssp --disable-libgomp --enable-cld
--with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.8.0/python
--enable-checking=release --disable-libgcj --enable-languages=c,c++
--enable-shared --enable-threads=posix --enable-__cxa_atexit
--enable-clocale=gnu --with-build-config=bootstrap-lto
--with-boot-ldflags="-Wl,-O1,--hash-style=gnu,--as-needed,--gc-sections"
--enable-version-specific-runtime-libs --disable-libstdcxx-pch
--enable-libstdcxx-time=yes
--
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.
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug build/13966] Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk
2012-04-10 9:47 [Bug build/13966] New: Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk cryptooctoploid at gmail dot com
` (8 preceding siblings ...)
2012-04-20 12:28 ` cryptooctoploid at gmail dot com
@ 2012-05-17 14:10 ` carlos_odonell at mentor dot com
2012-06-27 22:33 ` jsm28 at gcc dot gnu.org
` (13 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: carlos_odonell at mentor dot com @ 2012-05-17 14:10 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=13966
Carlos O'Donell <carlos_odonell at mentor dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags|review?(joseph at |
|codesourcery dot com) |
--
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.
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug build/13966] Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk
2012-04-10 9:47 [Bug build/13966] New: Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk cryptooctoploid at gmail dot com
` (9 preceding siblings ...)
2012-05-17 14:10 ` carlos_odonell at mentor dot com
@ 2012-06-27 22:33 ` jsm28 at gcc dot gnu.org
2012-07-12 12:39 ` wbrana at gmail dot com
` (12 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2012-06-27 22:33 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=13966
Joseph Myers <jsm28 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|glibc_2.15 |
--- Comment #10 from Joseph Myers <jsm28 at gcc dot gnu.org> 2012-06-27 22:33:29 UTC ---
Removing glibc_2.15 keyword as backport suitability can't be judged until there
is a fix on master. After this is fixed on master, anyone wanting a backport
should feel free to attach a tested backport patch to this bug (or a new bug,
if this one is closed as fixed).
--
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.
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug build/13966] Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk
2012-04-10 9:47 [Bug build/13966] New: Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk cryptooctoploid at gmail dot com
` (10 preceding siblings ...)
2012-06-27 22:33 ` jsm28 at gcc dot gnu.org
@ 2012-07-12 12:39 ` wbrana at gmail dot com
2012-09-02 13:33 ` allan at archlinux dot org
` (11 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: wbrana at gmail dot com @ 2012-07-12 12:39 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=13966
wbrana at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |wbrana at gmail dot com
--
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.
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug build/13966] Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk
2012-04-10 9:47 [Bug build/13966] New: Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk cryptooctoploid at gmail dot com
` (11 preceding siblings ...)
2012-07-12 12:39 ` wbrana at gmail dot com
@ 2012-09-02 13:33 ` allan at archlinux dot org
2012-09-02 17:09 ` cryptooctoploid at gmail dot com
` (10 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: allan at archlinux dot org @ 2012-09-02 13:33 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=13966
--- Comment #11 from Allan McRae <allan at archlinux dot org> 2012-09-02 13:32:49 UTC ---
Created attachment 6623
--> http://sourceware.org/bugzilla/attachment.cgi?id=6623
Improved cxx header detection
Octoploid,
Can you test the attached patch?
--
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.
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug build/13966] Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk
2012-04-10 9:47 [Bug build/13966] New: Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk cryptooctoploid at gmail dot com
` (12 preceding siblings ...)
2012-09-02 13:33 ` allan at archlinux dot org
@ 2012-09-02 17:09 ` cryptooctoploid at gmail dot com
2012-09-02 22:30 ` allan at archlinux dot org
` (9 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: cryptooctoploid at gmail dot com @ 2012-09-02 17:09 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=13966
--- Comment #12 from Octoploid <cryptooctoploid at gmail dot com> 2012-09-02 17:09:01 UTC ---
(In reply to comment #11)
> Created attachment 6623 [details]
> Improved cxx header detection
>
> Octoploid,
>
> Can you test the attached patch?
Thanks Allan, your patch is fine and solves the issue.
--
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.
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug build/13966] Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk
2012-04-10 9:47 [Bug build/13966] New: Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk cryptooctoploid at gmail dot com
` (13 preceding siblings ...)
2012-09-02 17:09 ` cryptooctoploid at gmail dot com
@ 2012-09-02 22:30 ` allan at archlinux dot org
2012-09-05 14:19 ` allan at archlinux dot org
` (8 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: allan at archlinux dot org @ 2012-09-02 22:30 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=13966
Allan McRae <allan at archlinux dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |allan at archlinux dot org
AssignedTo|carlos_odonell at mentor |allan at archlinux dot org
|dot com |
--
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.
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug build/13966] Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk
2012-04-10 9:47 [Bug build/13966] New: Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk cryptooctoploid at gmail dot com
` (14 preceding siblings ...)
2012-09-02 22:30 ` allan at archlinux dot org
@ 2012-09-05 14:19 ` allan at archlinux dot org
2012-11-01 14:13 ` cryptooctoploid at gmail dot com
` (7 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: allan at archlinux dot org @ 2012-09-05 14:19 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=13966
Allan McRae <allan at archlinux dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED
--- Comment #13 from Allan McRae <allan at archlinux dot org> 2012-09-05 14:18:58 UTC ---
Fixed with commit:
commit c4e85184d2ded3f6a259948098a0c297a9cf0be6
Author: Allan McRae <allan@archlinux.org>
Date: Thu Sep 6 00:16:24 2012 +1000
Improve C++ header location detection (bug 13966)
--
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.
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug build/13966] Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk
2012-04-10 9:47 [Bug build/13966] New: Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk cryptooctoploid at gmail dot com
` (15 preceding siblings ...)
2012-09-05 14:19 ` allan at archlinux dot org
@ 2012-11-01 14:13 ` cryptooctoploid at gmail dot com
2012-11-01 14:25 ` allan at archlinux dot org
` (6 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: cryptooctoploid at gmail dot com @ 2012-11-01 14:13 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=13966
Octoploid <cryptooctoploid at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
--- Comment #14 from Octoploid <cryptooctoploid at gmail dot com> 2012-11-01 14:12:48 UTC ---
The error is back again:
tst-unique3lib.cc:1:18: fatal error: cstdio: No such file or directory
#include <cstdio>
^
compilation terminated.
--
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.
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug build/13966] Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk
2012-04-10 9:47 [Bug build/13966] New: Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk cryptooctoploid at gmail dot com
` (16 preceding siblings ...)
2012-11-01 14:13 ` cryptooctoploid at gmail dot com
@ 2012-11-01 14:25 ` allan at archlinux dot org
2012-11-01 14:54 ` schwab@linux-m68k.org
` (5 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: allan at archlinux dot org @ 2012-11-01 14:25 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=13966
--- Comment #15 from Allan McRae <allan at archlinux dot org> 2012-11-01 14:25:19 UTC ---
Looks like this fix was adjusted in commit
1e4a95361c71e8073f448012c3eeb6f09cc9a814. Can you confirm if it was that
commit that caused the regression?
--
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.
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug build/13966] Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk
2012-04-10 9:47 [Bug build/13966] New: Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk cryptooctoploid at gmail dot com
` (17 preceding siblings ...)
2012-11-01 14:25 ` allan at archlinux dot org
@ 2012-11-01 14:54 ` schwab@linux-m68k.org
2012-11-01 15:53 ` cryptooctoploid at gmail dot com
` (4 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: schwab@linux-m68k.org @ 2012-11-01 14:54 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=13966
--- Comment #16 from Andreas Schwab <schwab@linux-m68k.org> 2012-11-01 14:53:54 UTC ---
What is the value of c++-sysincludes in your config.make?
--
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.
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug build/13966] Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk
2012-04-10 9:47 [Bug build/13966] New: Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk cryptooctoploid at gmail dot com
` (18 preceding siblings ...)
2012-11-01 14:54 ` schwab@linux-m68k.org
@ 2012-11-01 15:53 ` cryptooctoploid at gmail dot com
2013-09-05 22:48 ` jack.carter at imgtec dot com
` (3 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: cryptooctoploid at gmail dot com @ 2012-11-01 15:53 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=13966
Octoploid <cryptooctoploid at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED
--- Comment #17 from Octoploid <cryptooctoploid at gmail dot com> 2012-11-01 15:53:08 UTC ---
I cannot reproduce the failure anymore.
It must have been a temporary local glitch.
Sorry!
--
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.
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug build/13966] Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk
2012-04-10 9:47 [Bug build/13966] New: Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk cryptooctoploid at gmail dot com
` (19 preceding siblings ...)
2012-11-01 15:53 ` cryptooctoploid at gmail dot com
@ 2013-09-05 22:48 ` jack.carter at imgtec dot com
2013-09-06 0:31 ` joseph at codesourcery dot com
` (2 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: jack.carter at imgtec dot com @ 2013-09-05 22:48 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=13966
Jack Carter <jack.carter at imgtec dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jack.carter at imgtec dot com
--- Comment #18 from Jack Carter <jack.carter at imgtec dot com> ---
I am seeing this problem now with 4.9.0.
I build and run on a Mips board, but as a cross compile, MIPS to MIPS, so I
don't use the installed system headers.
For what it is worth:
% grep sysincludes config.make
sysincludes = -nostdinc -isystem
/home/jcarter/workarea/gcc/ifunc/mips_native/install-mips-mti-linux-gnu/lib/gcc/mips-mti-linux-gnu/4.9.0/include
-isystem
/home/jcarter/workarea/gcc/ifunc/mips_native/install-mips-mti-linux-gnu/lib/gcc/mips-mti-linux-gnu/4.9.0/include-fixed
-isystem
/home/jcarter/workarea/gcc/ifunc/mips_native/sysroot-mips-mti-linux-gnu/usr/include
c++-sysincludes =
Here is the familiar invocation:
mips-mti-linux-gnu-g++ tst-unique3.cc -c -O2 -Wall -Winline -Wwrite-strings
-fmerge-all-constants -frounding-math -g -I../include
-I/home/jcarter/workarea/gcc/ifunc/mips_native/obj-mips-mti-linux-gnu/glibc/elf
-I/home/jcarter/workarea/gcc/ifunc/mips_native/obj-mips-mti-linux-gnu/glibc
-I../ports/sysdeps/unix/sysv/linux/mips/mips32/nptl
-I../ports/sysdeps/unix/sysv/linux/mips/mips32
-I../ports/sysdeps/unix/sysv/linux/mips/nptl
-I../ports/sysdeps/unix/sysv/linux/mips -I../nptl/sysdeps/unix/sysv/linux
-I../nptl/sysdeps/pthread -I../sysdeps/pthread
-I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux
-I../sysdeps/gnu -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv
-I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv
-I../ports/sysdeps/unix/mips/mips32 -I../ports/sysdeps/unix/mips
-I../nptl/sysdeps/unix -I../ports/sysdeps/unix -I../sysdeps/unix
-I../sysdeps/posix -I../ports/sysdeps/mips/mips32/fpu
-I../ports/sysdeps/mips/mips32 -I../ports/sysdeps/mips/ieee754
-I../ports/sysdeps/mips/soft-fp -I../ports/sysdeps/mips/include
-I../ports/sysdeps/mips -I../sysdeps/ieee754/flt-32
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/wordsize-32
-I../ports/sysdeps/mips/fpu -I../ports/sysdeps/mips/nptl -I../sysdeps/ieee754
-I../sysdeps/generic -I../nptl -I../ports -I.. -I../libio -I. -nostdinc
-isystem
/home/jcarter/workarea/gcc/ifunc/mips_native/install-mips-mti-linux-gnu/lib/gcc/mips-mti-linux-gnu/4.9.0/include
-isystem
/home/jcarter/workarea/gcc/ifunc/mips_native/install-mips-mti-linux-gnu/lib/gcc/mips-mti-linux-gnu/4.9.0/include-fixed
-isystem
/home/jcarter/workarea/gcc/ifunc/mips_native/sysroot-mips-mti-linux-gnu/usr/include
-D_LIBC_REENTRANT -include ../include/libc-symbols.h -DNOT_IN_libc=1 -o
/home/jcarter/workarea/gcc/ifunc/mips_native/obj-mips-mti-linux-gnu/glibc/elf/tst-unique3.o
-MD -MP -MF
/home/jcarter/workarea/gcc/ifunc/mips_native/obj-mips-mti-linux-gnu/glibc/elf/tst-unique3.o.dt
-MT
/home/jcarter/workarea/gcc/ifunc/mips_native/obj-mips-mti-linux-gnu/glibc/elf/tst-unique3.o
tst-unique3.cc:3:18: fatal error: cstdio: No such file or directory
#include <cstdio>
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug build/13966] Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk
2012-04-10 9:47 [Bug build/13966] New: Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk cryptooctoploid at gmail dot com
` (20 preceding siblings ...)
2013-09-05 22:48 ` jack.carter at imgtec dot com
@ 2013-09-06 0:31 ` joseph at codesourcery dot com
2013-09-06 9:35 ` jack.carter at imgtec dot com
2014-06-25 11:19 ` fweimer at redhat dot com
23 siblings, 0 replies; 25+ messages in thread
From: joseph at codesourcery dot com @ 2013-09-06 0:31 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=13966
--- Comment #19 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
This bug is marked fixed. If you see this symptom, it must have a
different cause, so please file a new bug (detailing glibc configure
options, results of the relevant glibc configure tests, etc.).
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug build/13966] Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk
2012-04-10 9:47 [Bug build/13966] New: Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk cryptooctoploid at gmail dot com
` (21 preceding siblings ...)
2013-09-06 0:31 ` joseph at codesourcery dot com
@ 2013-09-06 9:35 ` jack.carter at imgtec dot com
2014-06-25 11:19 ` fweimer at redhat dot com
23 siblings, 0 replies; 25+ messages in thread
From: jack.carter at imgtec dot com @ 2013-09-06 9:35 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=13966
--- Comment #20 from Jack Carter <jack.carter at imgtec dot com> ---
I will package up information and post it to new bug and refer to this one for
reference,
Thanks
________________________________________
From: joseph at codesourcery dot com [sourceware-bugzilla@sourceware.org]
Sent: Thursday, September 05, 2013 5:31 PM
To: Jack Carter
Subject: [Bug build/13966] Some elf tests fail with "fatal error: cstdio: No
such file or directory" on trunk
http://sourceware.org/bugzilla/show_bug.cgi?id=13966
--- Comment #19 from joseph at codesourcery dot com <joseph at codesourcery dot
com> ---
This bug is marked fixed. If you see this symptom, it must have a
different cause, so please file a new bug (detailing glibc configure
options, results of the relevant glibc configure tests, etc.).
--
You are receiving this mail because:
You are on the CC list for the bug.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug build/13966] Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk
2012-04-10 9:47 [Bug build/13966] New: Some elf tests fail with "fatal error: cstdio: No such file or directory" on trunk cryptooctoploid at gmail dot com
` (22 preceding siblings ...)
2013-09-06 9:35 ` jack.carter at imgtec dot com
@ 2014-06-25 11:19 ` fweimer at redhat dot com
23 siblings, 0 replies; 25+ messages in thread
From: fweimer at redhat dot com @ 2014-06-25 11:19 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=13966
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags| |security-
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 25+ messages in thread