Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 374325 - www-client/firefox-5.0-rX does not build with <gcc-4.4
Summary: www-client/firefox-5.0-rX does not build with <gcc-4.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-07 10:16 UTC by Carsten Lohrke (RETIRED)
Modified: 2011-08-21 18:44 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
firefox-gcc-no-avx.patch (firefox-gcc-no-avx.patch,479 bytes, patch)
2011-07-07 10:16 UTC, Carsten Lohrke (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Lohrke (RETIRED) gentoo-dev 2011-07-07 10:16:36 UTC
Created attachment 279315 [details, diff]
firefox-gcc-no-avx.patch

checking whether the C compiler (i686-pc-linux-gnu-gcc  -march=core2 -Wno-return-type -w -mno-avx ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.

Used GCC is 4.3.4. It obviously fails to build because of -mno-avx being appended unconditionally. Here's the patch for Firefox, other posibly affected ebuilds (grepped them quickly) are:

mail-client/thunderbird-3.3_alpha3-r2.ebuild
mail-client/thunderbird-5.0.ebuild
net-libs/xulrunner-2.0.1-r1.ebuild
www-client/icecat-5.0.ebuild


Btw., could you rename the "methodjit" use flag to "jit" as used in other packages, please!? The bazillion custom use flags are not very convenient.
Comment 1 Jory A. Pratt gentoo-dev 2011-07-31 15:01:43 UTC
(In reply to comment #0)
> Created attachment 279315 [details, diff]
> firefox-gcc-no-avx.patch
> 
> checking whether the C compiler (i686-pc-linux-gnu-gcc  -march=core2
> -Wno-return-type -w -mno-avx ) works... no
> configure: error: installation or configuration problem: C compiler cannot
> create executables.
> 
> Used GCC is 4.3.4. It obviously fails to build because of -mno-avx being
> appended unconditionally. Here's the patch for Firefox, other posibly affected
> ebuilds (grepped them quickly) are:
> 
> mail-client/thunderbird-3.3_alpha3-r2.ebuild
> mail-client/thunderbird-5.0.ebuild
> net-libs/xulrunner-2.0.1-r1.ebuild
> www-client/icecat-5.0.ebuild
> 
> 
> Btw., could you rename the "methodjit" use flag to "jit" as used in other
> packages, please!? The bazillion custom use flags are not very convenient.

Carlo,

we will not rename as mozilla products do not disable all of jit which is what is implied. As far as mno-avx we will get it fixed.
Comment 2 Jory A. Pratt gentoo-dev 2011-08-21 18:44:49 UTC
Fixed in fx-6/tb-6 thanks for reporting.