First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 14851
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Seemant Kulleen (RETIRED) <seemant@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Andy gorham <uncleduck@sympatico.ca>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 14851 depends on: Show dependency tree
Show dependency graph
Bug 14851 blocks: 16357
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-01-31 09:22 0000
This bug seems to only apply if you have your flags set to k6-2 (or probably
k6-3). 
The following line in the e-build replaces your march and mcpu flags to i586 if
they are 
set to k6[-2, -3]. 
        replace-flags k6-3 i586 
        replace-flags k6-2 i586 
        replace-flags k6 i586 
However, what happens is your march flag gets changed to i586, but your mcpu
flag 
only gets the k6 portion changed, leaving you with an unrecognised "-2" option. 
e.g. 
OLD flags: 
        march=k6-2 
        mcpu=k6-2 
NEW flags: 
        march=i586 
        mcpu=i586-2 
This triggers warnings on every file compiled and leaves you with a broken KDE. 
Kde cannot start because kdeinit fails to find  being unable to find
libjpeg.so.62 
A quick work around is to comment out the line (21) that says 
        replace-flags k6 i586 
this allows the files to compile with march=i586 and mcpu=k6-2. 
I will learn more about ebuilds and try fix it so that both flags say i586

------- Comment #1 From Seemant Kulleen (RETIRED) 2003-01-31 13:50:22 0000 -------
fixed in cvs -- please try again

------- Comment #2 From Martin Holzer (RETIRED) 2003-02-25 16:10:26 0000 -------
i know this is already closed.

CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=k6-2"
CXXFLAGS="-mcpu=k6-2"

emerge jpeg-6b-r3.ebuild
./libtool --mode=compile gcc -mcpu=i586   -I. -c ./jcapimin.c
gcc -mcpu=i586 -I. -c -fPIC -DPIC ./jcapimin.c

works fine with replace-flags

can we change this back ? makes #16357 invalid

------- Comment #3 From foser (RETIRED) 2003-03-25 06:56:23 0000 -------
*** Bug 18061 has been marked as a duplicate of this bug. ***

First Last Prev Next    No search results available      Search page      Enter new bug