Closed
Bug 911592
Opened 12 years ago
Closed 10 years ago
The configure.in test checking for gcc bug 26905 is x86 specific, but applied to all archs
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: martin, Unassigned)
Details
Attachments
(1 file, 1 obsolete file)
|
5.82 KB,
patch
|
glandium
:
review+
|
Details | Diff | Splinter Review |
When using gcc versions with gcc bug 26905 fixed (i.e. anything >= 4.2) on non-x86 architectures, configure still assumes the bug to be present and erroneously does not set WRAP_STL_INCLUDES and others.
This happens because the compiled conftest.cc is greped for @PLT in function calls - but @PLT is only valid on a few special architecturs, while in general only a .private declaration is emmited in the function prologue.
A proper conftest maybe pretty hard - is it actually needed anymore, i.e. is an old enough gcc to have the bug still supported for building? If not, it could be reduced to a simple gcc or gcc version test.
The overall effect of the miss-detection is only a few headers less installed in the SDK and slightly changed compiler options, which is why this probably "silently failed" since ages without anyone noticing.
Comment 1•12 years ago
|
||
| Reporter | ||
Comment 2•12 years ago
|
||
Attachment #812622 -
Flags: review?(mh+mozilla)
Comment 3•12 years ago
|
||
Comment on attachment 812622 [details] [diff] [review]
Remove obsolete tests for no-longer-supported gcc versions
Review of attachment 812622 [details] [diff] [review]:
-----------------------------------------------------------------
You need to adjust js/src/configure.in, too.
::: configure.in
@@ +2638,5 @@
> + WRAP_SYSTEM_INCLUDES=1
> + STL_FLAGS='-I$(DIST)/stl_wrappers'
> + WRAP_STL_INCLUDES=1
> + else
> + VISIBILITY_FLAGS='-fvisibility=hidden'
This doesn't match current behavior: we didn't set -fvisibility=hidden when visibility pragma is not supported.
Attachment #812622 -
Flags: review?(mh+mozilla) → review-
| Reporter | ||
Comment 4•12 years ago
|
||
hope I got the nesting correct this time
Attachment #812622 -
Attachment is obsolete: true
Attachment #825509 -
Flags: review?(mh+mozilla)
Updated•12 years ago
|
Attachment #825509 -
Flags: review?(mh+mozilla) → review+
Comment 5•10 years ago
|
||
This configure.in test no longer exists.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
Updated•8 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•