Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 14379

Summary: Can not be build on i686
Product: [Retired] Red Hat Linux Reporter: Enrico Scholz <rh-bugzilla>
Component: compat-egcsAssignee: Jakub Jelinek <jakub>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: high    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-02 18:49:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
enables build on %{ix86} archs none

Description Enrico Scholz 2000-07-21 15:46:49 UTC
the compat-egcs spec-files doesn't accepts building if target==i686.

Comment 1 Enrico Scholz 2000-07-21 15:47:39 UTC
Created attachment 1407 [details]
enables build on %{ix86} archs

Comment 2 Jakub Jelinek 2000-08-02 20:21:46 UTC
Should be fixed in compat-egcs-6.2-1.1.2.9

Comment 3 Enrico Scholz 2000-08-23 10:35:06 UTC
$ rpm --rebuild compat-egcs-6.2-1.1.2.9.src.rpm
...
Processing files: compat-egcs-g77-6.2-1.1.2.9
Finding  Provides: (using /usr/lib/rpm/find-provides)...
Finding  Requires: (using /usr/lib/rpm/find-requires)...
File not found: /var/tmp/egcs-1.1.2-root/usr/lib/libstdc++.so.2.8.0
File not found: /var/tmp/egcs-1.1.2-root/usr/lib/libstdc++.so.2.7.2.8
File not found: /var/tmp/egcs-1.1.2-root/usr/lib/libg++.so.2.7.2.8
PreReq: rpmlib(PayloadFilesHavePrefix) <= 4.0-1


I am suggesting in compat-egcs.spec:

-----------------
mkdir compat
tar xzf %{SOURCE1} -C compat
cd gcc ; autoconf ; cd ..

+cd compat
+for i in %{ix86}; do test -f $i || ln -s i386 $i; done
+cd ..

cd egcs-19980906
----------------

Comment 4 Enrico Scholz 2000-08-23 11:09:10 UTC
Please use `test -e' instead of `test -f' or the variant in attachment 1407 [details]:

| for i in %{ix86}; do [ -e compat/$i ] || ln -s i386 compat/$i; done

Comment 5 Jakub Jelinek 2004-10-02 18:49:49 UTC
compat-egcs doesn't exist any longer.