Bug 429230 - GCC4 Compiler compilation bug
Summary: GCC4 Compiler compilation bug
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc4
Version: 8
Hardware: x86_64
OS: Linux
low
high
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-01-18 02:39 UTC by opensourcenut
Modified: 2008-01-23 14:09 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-01-23 14:09:36 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description opensourcenut 2008-01-18 02:39:56 UTC
Description of problem:
While attempting to compile GDC (GNU D Compiler) I discovered a bug in the
current version of GCC. Running the command 'gcc --version' claims GCC is
version 4.1, as well does checking my RPM version of gcc. This was to be
expected, however the unexpected part was that while compiling gdc, the failure
reported there was a problem with the symbol tables.

Having run strings on /usr/lib64/libstdc++.so.6.0.8 it reported the following:
GCC_4.2.0
GCC_3.3
GCC_3.0

I'm fairly certain this is due to backporting of patches from GCC 4.2 to GCC
4.1. So far, this is the only time I've encountered this problem, but it may
have some nasty side-effects in other applications that have been as of yet unseen.

How reproducible:
100%

Steps to Reproduce:
1. Compile GDC
2. Fail.

Comment 1 Jakub Jelinek 2008-01-23 14:09:36 UTC
The @GCC_4.2.0 symbols are supplied by the included libgcc_s.so.1.
If GDC includes its own libgcc_s.so.1 which overrides the system one, it is buggy
and should be fixed.


Note You need to log in before you can comment on or make changes to this bug.