mozilla

Compare Revisions

Building on Fedora Core 5

Change Revisions

Revision 201492:

Revision 201492 by DBaron on

Revision 201493:

Revision 201493 by DBaron on

Title:
Building on Fedora Core 5
Building on Fedora Core 5
Slug:
Building_on_Fedora_Core_5
Building_on_Fedora_Core_5
Tags:
"Developing Mozilla", "Build documentation"
"Developing Mozilla", "Build documentation"
Content:

Revision 201492
Revision 201493
n10    <h3 name="SELinux_execmod_denials">n10    <h3 id="SELinux_execmod_denials" name="SELinux_execmod_denial
 >s">
n14      For those with SELinux in enforcing mode, you are likely ton14      For those with SELinux in enforcing mode, you are likely to
> run into problems both with the shlibsign during the build proce> run into problems both with the shlibsign during the build proce
>ss and with the running the final build related to SELinux denyin>ss and with the running the final build related to SELinux denyin
>g <a class="external" href="http://people.redhat.com/~drepper/sel>g <a class="external" href="http://people.redhat.com/~drepper/sel
>inux-mem.html">execmod permission</a> due at least primarily (if >inux-mem.html">execmod permission</a> due at least primarily (if 
>not completely) to <a class="external" href="https://bugzilla.red>not completely) to <a class="link-https" href="https://bugzilla.r
>hat.com/bugzilla/show_bug.cgi?id=175442">a compiler bug</a>.>edhat.com/bugzilla/show_bug.cgi?id=175442">a compiler bug</a>.
n19    <h4 name="Workaround_.231_.28sacrifice_performance.29">n19    <h4 id="Workaround_.231_.28sacrifice_performance.29" name="Wo
 >rkaround_.231_.28sacrifice_performance.29">
n23      Disable the visibility optimizations by making the followinn23      Disable the visibility optimizations by adding the followin
>change to mozilla/configure:>line to your mozconfig:
n25    <pre>n25    <pre class="eval">
26Index: configure26 ac_cv_visibility_pragma=no
27=================================================================
>== 
28RCS file: /cvs/mozilla/configure,v
29retrieving revision 1.1639
30diff -p -u -3 -r1.1639 configure
31--- configure   21 Mar 2006 03:04:54 -0000      1.1639
32+++ configure   21 Mar 2006 09:00:23 -0000
33@@ -7876,7 +7876,7 @@ cross_compiling=$ac_cv_prog_cc_cross
34 
35 fi
36 
37-if test "$GNU_CC"; then
38+if test ""; then
39   echo $ac_n "checking for visibility(hidden) attribute""... $ac
>_c" 1&gt;&amp;6 
40 echo "configure:7882: checking for visibility(hidden) attribute"
> &gt;&amp;5 
41 if eval "test \"`echo '$''{'ac_cv_visibility_hidden'+set}'`\" = 
>set"; then 
n43    <h4 name="Workaround_.232_.28sacrifice_security.3B_have_to_usn28    <p>
>e_workaround_more_often.29"> 
29      (Don’t prefix this with ac_add_options!)
30    </p>
31    <h4 id="Workaround_.232_.28sacrifice_security.3B_have_to_use_
 >workaround_more_often.29" name="Workaround_.232_.28sacrifice_secu
 >rity.3B_have_to_use_workaround_more_often.29">
n55    <h3 name="Debugging_tools_involving_stack_traces">n43    <h3 id="Debugging_tools_involving_stack_traces" name="Debuggi
 >ng_tools_involving_stack_traces">
n58    <h4 name="Compilation_errors_relating_to_JB_BP">n46    <h4 id="Compilation_errors_relating_to_JB_BP" name="Compilati
 >on_errors_relating_to_JB_BP">
n62      Depending on the version of your source and configuration on50      Depending on the version of your source and configuration o
>ptions, you may see compilation errors related to the removal of >ptions, you may see compilation errors related to the removal of 
>JB_BP, which was a constant used in code that took stack traces f>JB_BP, which was a constant used in code that took stack traces f
>or debugging purposes by getting the frame address by calling set>or debugging purposes by getting the frame address by calling set
>jmp. Patches to fix these problems are in {{template.Bug(323853)}>jmp. Patches to fix these problems are in {{ Bug("323853") }}.
>}. 
n67    <h4 name="No_stack_traces_due_to___builtin_frame_address.280.n55    <h4 id="No_stack_traces_due_to___builtin_frame_address.280.29
>29_malfunction">>_malfunction" name="No_stack_traces_due_to___builtin_frame_addres
 >s.280.29_malfunction">
n71      Because of changes in the meaning of __builtin_frame_addresn59      Because of changes in the meaning of __builtin_frame_addres
>s(0), patches from {{template.Bug(331436)}} are needed; they shou>s(0), patches from {{ Bug("331436") }} are needed; they should be
>ld be checked in to the trunk reasonably soon.> checked in to the trunk reasonably soon.
n73    <h4 name="Need_-fno-omit-frame-pointer">n61    <h4 id="Need_-fno-omit-frame-pointer" name="Need_-fno-omit-fr
 >ame-pointer">
t83      when enabling optimization. (Perhaps retest this once patcht71      when enabling optimization. (Perhaps retest this once patch
>es from {{template.Bug(331436)}} are landed.)>es from {{ Bug("331436") }} are landed.)

Back to History