Ticket #212 (closed defect: fixed)
Opened 6 years ago
Last modified 5 years ago
Changes for GCC4: .mozconfig, configure, configure.in
| Reported by: | mmadia | Owned by: | mmadia |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | www-client/mozilla-firefox | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | fredrik.holmqvist@… |
Description
reported by jprostko, thanks!
.mozconfig:
Change the -mcpu instance to -mtune. Keep everything else intact. You have to keep -mcpu for GCC2.
configure(.in )
Attached is a patch for configure and configure.in to handle visibility issues for GCC4. Make sure you do a --dry-run first, since I did it comparing a fresh extraction versus a tree with patches already applied.
Attachments
Change History
Changed 6 years ago by mmadia
- attachment configure.diff added
comment:1 Changed 6 years ago by tqh
- Cc fredrik.holmqvist@… added
comment:2 Changed 5 years ago by mmadia
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.

My crosscompiler (which worked without this) reported
ac_cv_have_visibility_builtin_bug=${ac_cv_have_visibility_builtin_bug='no'} ac_cv_have_visibility_class_bug=${ac_cv_have_visibility_class_bug='yes'}but Haiku's own gcc4 says
ac_cv_have_visibility_builtin_bug=${ac_cv_have_visibility_builtin_bug='no'} ac_cv_have_visibility_class_bug=${ac_cv_have_visibility_class_bug='no'}Dunno why, but it seems that Haiku's one is incorrect as we need the path for a buggy gcc.