Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 685650

Summary: media-gfx/gimp-2.10.8-r1 fails on x86
Product: Gentoo Linux Reporter: Tobias Leupold <tl>
Component: Current packagesAssignee: Sebastian Pipping <sping>
Status: RESOLVED DUPLICATE    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: the build log
The build environment
The output of emerge --info ...
The output of emerge -pqv ...

Description Tobias Leupold 2019-05-11 18:15:11 UTC
Created attachment 576052 [details]
the build log

media-gfx/gimp-2.10.8-r1 fails to build on both of my old x86 notebooks, with "target specific option mismatch" errors.
Comment 1 Tobias Leupold 2019-05-11 18:15:41 UTC
Created attachment 576054 [details]
The build environment
Comment 2 Tobias Leupold 2019-05-11 18:16:22 UTC
Created attachment 576056 [details]
The output of emerge --info ...
Comment 3 Tobias Leupold 2019-05-11 18:16:57 UTC
Created attachment 576058 [details]
The output of emerge -pqv ...
Comment 4 Sebastian Pipping gentoo-dev 2019-05-12 19:00:36 UTC
Hi Tobias,

I'm afraid it's your CFLAGS, see bug #663986 and bug #581602.  I'll close this as a duplicate.

*** This bug has been marked as a duplicate of bug 663986 ***
Comment 5 Tobias Leupold 2019-05-13 05:38:05 UTC
Thanks for the info!

I'll test this. I actually use the "expanded" version of "-march=native" in my CFLAGS due to distcc usage. I'll test this.

Maybe, one should update the wiki pages informing the users that the "-mno..." flags of the expanded march=native can cause problems. I also only followed the wiki ...
Comment 6 Sebastian Pipping gentoo-dev 2019-05-13 19:36:45 UTC
(In reply to Tobias Leupold from comment #5)
> Maybe, one should update the wiki pages informing the users that the
> "-mno..." flags of the expanded march=native can cause problems. I also only
> followed the wiki ...

That's exactly what bug #581602 is about.

Package app-misc/resolve-march-native might be of interest and work better for your case.
Comment 7 Tobias Leupold 2019-05-13 21:38:03 UTC
(In reply to Sebastian Pipping from comment #6)
> Package app-misc/resolve-march-native might be of interest and work better
> for your case.

That seems to be the exact thing a distcc user with different kinds of CPUs needs. Nice :-)
Comment 8 Tobias Leupold 2019-05-14 16:40:34 UTC
Just fyi: Using the CFLAGS produced by app-misc/resolve-march-native, gimp built fine using distcc on both machines. This should really be stabilized and recommended in the distcc howto!