Open Bug 1579527 Opened 5 years ago Updated 2 years ago

elfhack segmentation fault with overlapping segments

Categories

(Firefox Build System :: General, defect)

All
Android
defect

Tracking

(Not tracked)

People

(Reporter: froydnj, Unassigned)

References

Details

With all the necessary fixes for bug 1577220 applied, a local PGO-instrumented build hits:

../../../dist/fennec/lib/armeabi-v7a/liblgpllibs.so: No gain. Skipping
../../../dist/fennec/lib/armeabi-v7a/libmozavutil.so: No gain. Skipping
../../../dist/fennec/lib/armeabi-v7a/libmozavcodec.so: No gain. Skipping
../../../dist/fennec/lib/armeabi-v7a/libxul.so: terminate called after throwing an instance of 'std::runtime_error'
  what():  Segments overlap
...
mozpack.errors.ErrorMessage: Error: Error executing /opt/build/froydnj/build-android/build/unix/elfhack/elfhack ../../../dist/fennec/lib/armeabi-v7a/libxul.so

This is a local build with LLD, so it's possible that this is an LLD bug?

elfhack doesn't really like the fancy stuff that lld tries to do (too fancy for its own good).

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.