mozilla

Revision 201478 of Building on Fedora Core 5

  • Revision slug: Building_on_Fedora_Core_5
  • Revision title: Building on Fedora Core 5
  • Revision id: 201478
  • Created:
  • Creator: DBaron
  • Is current revision? No
  • Comment

Revision Content

Building Mozilla applications (Firefox, Thunderbird, SeaMonkey, etc.) on modern Linux distributions is generally relatively trouble-free, although each new distribution tends to introduce a few new issues that need to be fixed in the source. Fedora Core 5 introduces two such issues:

Compilation errors relating to JB_BP

Depending on the version of your source and configuration options, you may see compilation errors related to the removal of JB_BP, which was a constant used in code that took stack traces for debugging purposes by getting the frame address by calling setjmp. Patches to fix these problems are in bug 323853.

The patch that affects the default build options has been checked in to the trunk, the MOZILLA_1_8_BRANCH, and the MOZILLA_1_8_0_BRANCH. However, if you are using other debugging tools, particularly on older branches, or building from older branches or release tags, you may need to apply some of these patches yourself.

SELinux execmod denials

For those with SELinux in enforcing mode, you are likely to run into problems both with the shlibsign during the build process and with the running the final build related to SELinux denying execmod permission due to issues that David Baron is currently investigating. The workaround is to use a command like (using bash syntax):

 chcon -t texrel_shlib_t $(find . -name "*.so")

within dist/bin.

Revision Source

<p>Building Mozilla applications (Firefox, Thunderbird, SeaMonkey, etc.) on modern Linux distributions is generally relatively trouble-free, although each new distribution tends to introduce a few new issues that need to be fixed in the source.  Fedora Core 5 introduces two such issues:
</p>
<h3 name="Compilation_errors_relating_to_JB_BP"> Compilation errors relating to JB_BP </h3>
<p>Depending on the version of your source and configuration options, you may see compilation errors related to the removal of JB_BP, which was a constant used in code that took stack traces for debugging purposes by getting the frame address by calling setjmp.  Patches to fix these problems are in <a class="external" href="https://bugzilla.mozilla.org/show_bug.cgi?id=323853">bug 323853</a>.
</p><p>The patch that affects the default build options has been checked in to the trunk, the MOZILLA_1_8_BRANCH, and the MOZILLA_1_8_0_BRANCH.  However, if you are using other debugging tools, particularly on older branches, or building from older branches or release tags, you may need to apply some of these patches yourself.
</p>
<h3 name="SELinux_execmod_denials"> SELinux execmod denials </h3>
<p>For those with SELinux in enforcing mode, you are likely to run into problems both with the shlibsign during the build process and with the running the final build related to SELinux denying execmod permission due to issues that <a href="User:DBaron">David Baron</a> is currently investigating.  The workaround is to use a command like (using bash syntax):
</p>
<pre class="eval"> chcon -t texrel_shlib_t $(find . -name "*.so")
</pre>
<p>within dist/bin.
</p>
Revert to this revision