Closed Bug 706116 Opened 9 years ago Closed 8 years ago

libxul.so in android builds has executable stack

Categories

(Firefox Build System :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 671426

People

(Reporter: glandium, Assigned: glandium)

References

Details

# readelf -l obj-arm-linux-androideabi/dist/lib/libxul.so | grep STACK
  GNU_STACK      0x000000 0x00000000 0x00000000 0x00000 0x00000 RWE 0x4

The permissions should be RW instead of RWE. In practice, it's not a real issue, because the android linker doesn't support executable stack at all, but the new linker I'm writing for bug 683127 does reject libraries with executable stack (because it's safer to do so), which makes it reject libxul.so on android.

My wild guess is that we lack the necessary bits in some of the assembly files.
Blocks: 683127
Marking a dupe of 671426, let me know if you disagree :)
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 671426
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.