Closed Bug 1596656 Opened 5 years ago Closed 3 years ago

Move OBJCOPY and STRIP detection to moz.configure

Categories

(Firefox Build System :: General, task)

Unspecified
All
task

Tracking

(firefox98 fixed)

RESOLVED FIXED
98 Branch
Tracking Status
firefox98 --- fixed

People

(Reporter: m_kato, Assigned: glandium)

References

(Blocks 1 open bug)

Details

(Keywords: perf-alert)

Attachments

(2 files, 1 obsolete file)

Since we use AC_CHECK_PROG to detect OBJCOPY and STRIP (for cross build and linux target), it doesn't work on Windows host. (Path has space etc)

Of course, when we use OBJCOPY=xxx in .mozconfig, it works well.

clang-cl sets PKG_SKIP_STRIP=1, so STRIP='echo not_strip' may be unnecessary.

Depends on: 1670170
Depends on: 1677037
Attachment #9112725 - Attachment is obsolete: true
Blocks: pyconfigure

As a bonus, we also check and prefer llvm-objcopy when it's suitable.

As a bonus, we also check and prefer llvm-strip when it's suitable.

Assignee: m_kato → mh+mozilla
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/6c8f3c0aac51 Move OBJCOPY to python configure. r=firefox-build-system-reviewers,andi https://hg.mozilla.org/integration/autoland/rev/da8f11880896 Move STRIP to python configure. r=firefox-build-system-reviewers,andi
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 98 Branch

Backed out 2 changesets (Bug 1596656) for causing jittest failures on 1659595.js.
Backout link
Push with failures
Failure Log

Flags: needinfo?(mh+mozilla)
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: 98 Branch → ---
Severity: normal → --
Type: enhancement → task
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/b5cca3717e5a Move OBJCOPY to python configure. r=firefox-build-system-reviewers,andi https://hg.mozilla.org/integration/autoland/rev/0252bbc54dd1 Move STRIP to python configure. r=firefox-build-system-reviewers,andi
Flags: needinfo?(mh+mozilla)

(In reply to Alexandru Ionescu (needinfo me) [:alexandrui] from comment #8)

For up to date results, see: https://treeherder.mozilla.org/perfherder/alerts?id=33094

This link sends to an alert on mozilla-beta...

Marked it as obsolete, thanks.

Status: REOPENED → RESOLVED
Closed: 3 years ago3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 98 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: