[<prev] [next>] [day] [month] [year] [list]
Message-ID: <001b01c3b1be$b23a1780$0100a8c0@laptop>
Date: Sun, 23 Nov 2003 13:38:02 +0100
From: Radosław Ejsmont <rejsmont@...smont.eu.org>
To: <bugtraq@...urityfocus.com>,
<gcc-bugs@....gnu.org>
Subject: GCC 3.2.3 Linker error while compiling appz using <errno.h> (maybe glibc error)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I've found an error in GCC 3.2.3. When compiling some applications using errno.h when errno.h is included indirectly (in other included file) GCC bails out with a message:
Acze <acze@...e.net> has reported that it also applies to GCC 2.95, but only in some (unknown) cases.
# make
substdio.a(substdo.o): In function `allwrite':
substdo.o(.text+0x47): undefined reference to `errno'
collect2: ld returned 1 exit status
make: *** [auto-str] Error 1
This can be easly fixed in compiled application by supplying errorous file with #include <errno.h> however this is just a temporary fix letting you complite desired application. GCC or GLIBC still has this error.
This message has albo been sent to vendor.
This has been tested on Slackware 9.1 with most current packages, and on Gentoo while compiling Qmail, PHP and a few more appz.
Regards,
Radoslaw Ejsmont
- --
_________________________________________________________
/ *** Radoslaw Ejsmont *** \
\ <rejsmont@...smont.eu.org> /
/=========================================================\
\ ICQ#: 264814098; GG#: 1282983; IRCname: Bugsik /
/ WEBsite: http://rejsmont.eu.org \
\ A74F 2BE1 C705 AE05 A4BC BA5A 092E C3AB 8594 AE8E /
/ \
\____________________________________________ArcAngel@..._/
-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0
iQA/AwUBP8CqKQkuw6uFlK6OEQJ0EACgv0PGi1NUKxRNsMuYSXRqw8/rqp4AoObp
cJNo0eDKbEMOQzj1jNL9fMLN
=Vshv
-----END PGP SIGNATURE-----
Powered by blists - more mailing lists