Bug 74503 - gcc is unable to rebuild itself
Summary: gcc is unable to rebuild itself
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: gcc
Version: 8.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-09-25 14:28 UTC by Leonid Kanter
Modified: 2007-04-18 16:46 UTC (History)
0 users

Fixed In Version: 3.2-10
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-10-02 18:09:47 UTC
Embargoed:


Attachments (Terms of Use)
nohup.out produced by rpmbuild -ba gcc32.spec (35.69 KB, application/x-bzip2)
2002-09-25 14:33 UTC, Leonid Kanter
no flags Details
A patch (820.99 KB, patch)
2002-09-25 14:57 UTC, hjl
no flags Details | Diff
BUILD/gcc-3.2-20020903/obj-i386-asplinux-linux/i386-asplinux-linux/libstdc++-v3/config.log (149.29 KB, text/plain)
2002-09-25 15:26 UTC, Leonid Kanter
no flags Details
config.log from clean psyche box (146.40 KB, text/plain)
2002-09-25 15:35 UTC, Leonid Kanter
no flags Details

Description Leonid Kanter 2002-09-25 14:28:32 UTC
Description of Problem:

gcc is unable to rebuild itself. rpmbuild --ba gcc32.spec finished with errors

Version-Release number of selected component (if applicable):

gcc-3.2-7

How Reproducible:

always

Steps to Reproduce:
1. install Psyche with development
2. satisfy gcc build dependency (dejagnu)
3. start rpm --rebuild gcc-3.2-7.src.rpm

Actual Results:

Error building package

Expected Results:

It must rebuild itself cleanly

Additional Information:
	
Reproduced on two boxes

Comment 1 Leonid Kanter 2002-09-25 14:33:14 UTC
Created attachment 77204 [details]
nohup.out produced by rpmbuild -ba gcc32.spec

Comment 2 hjl 2002-09-25 14:55:50 UTC
It is a known problem.

Comment 3 hjl 2002-09-25 14:57:49 UTC
Created attachment 77205 [details]
A patch

Comment 4 Jakub Jelinek 2002-09-25 15:05:26 UTC
That's not true.
It is a known problem that the patch I put in doesn't work with --enable-clocale=generic
(and that is what I've fixed in CVS).
But on Psyche it uses clocale gnu, not generic, as glibc is recent enough
and has the necessary bugfixes.
So I'm really interested in seeing libstdc++-v3's config.log to see what's
going on and why it chose clocale generic, not gnu.

Comment 5 Leonid Kanter 2002-09-25 15:26:16 UTC
Created attachment 77206 [details]
BUILD/gcc-3.2-20020903/obj-i386-asplinux-linux/i386-asplinux-linux/libstdc++-v3/config.log

Comment 6 Leonid Kanter 2002-09-25 15:31:07 UTC
sorry, it was from wrong box, but it's no matter

Comment 7 Jakub Jelinek 2002-09-25 15:32:53 UTC
Looks like you don't have german locale installed. The test needs it.

Comment 8 Leonid Kanter 2002-09-25 15:35:08 UTC
Created attachment 77207 [details]
config.log from clean psyche box

Comment 9 Leonid Kanter 2002-09-25 15:39:03 UTC
Hmm installer doesn't install German locale because I selected only Russian and
Ukrainian locales during installation. Let me rpm -i --force glibc-common and
retry...

Comment 10 Leonid Kanter 2002-09-25 17:18:37 UTC
Yes, I installed full set of glibc locales and rebuilt gcc rpm successfully.


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