lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Date: Sun, 23 Nov 2003 13:38:02 +0100
From: Radosław Ejsmont <>
To: <>,
Subject: GCC 3.2.3 Linker error while compiling appz using <errno.h> (maybe glibc error)

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 <> 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.


Radoslaw Ejsmont

- -- 
 /                 *** Radoslaw Ejsmont ***                \
 \               <>                /
 \     ICQ#: 264814098; GG#: 1282983; IRCname: Bugsik      /
 /             WEBsite:             \
 \    A74F 2BE1 C705 AE05 A4BC BA5A 092E C3AB 8594 AE8E    /
 /                                                         \

Version: PGP 8.0


Powered by blists - more mailing lists