Re: [PATCH] Make gcc3.3 Eliminate Unused Static Functions

From: Bob Tracy (rct@gherkin.frus.com)
Date: Thu Jun 19 2003 - 08:57:59 EST


Jörn Engel wrote:
> I haven't seen a clear compiler bug yet, but found two bugs in
> assembler code with 2.95.3 that compiled without problems with 3.2.x.
> One of them has actually hit people, as you could see in the code.
> Most symptoms were "fixed", but the cause remained.

Another data point... Earlier (I *think* it was this thread) someone
mentioned problems with trying to build glibc with gcc 3.x and "ls"
segfaulting. I've recently upgraded portions of my system (including
libraries and compilers) with the packages from the Slackware 9.0 CD.
I expect a certain amount of pain (due to library version conflicts)
every time I go through the upgrade process, but this time the pain
feels different... I absolutely cannot get getty and uugetty from the
getty-ps-2.1.0 package to work: segmentation faults. Even tried building
from source: no good. My old getty and uugetty binaries (version 2.0.7j)
seem to work ok with the new libraries, but rebuilding the 2.0.7j code
with gcc-3.2.2 results in segfaults.

The behavior seems to be independent of kernel version (2.5.70-2.5.72).
Here's the relevant version list (referenced libraries reported by ldd):

kernel 2.5.72
glibc 2.3.1
libtermcap 2.0.8
ld-2.3.1
gcc 3.2.2
binutils 2.13.90.0.18

The Slackware default install uses agetty rather than the getty-ps
package, which may partly explain why my particular symptom hasn't been
reported previously (to my knowledge). I'm curious to know if this
problem exists with a virgin Slackware 9 installation, and will probably
have an answer by this weekend, time permitting.

-- 
-----------------------------------------------------------------------
Bob Tracy                   WTO + WIPO = DMCA? http://www.anti-dmca.org
rct@frus.com
-----------------------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jun 23 2003 - 22:00:29 EST