Closed Bug 298762 Opened 20 years ago Closed 20 years ago

build bustage for optimized svg builds

Categories

(Core :: SVG, defect)

x86
FreeBSD
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: mpk, Unassigned)

Details

(Keywords: regression)

Roughly since the introduction of Cairo 0.5 on the trunk, building svg-enabled builds with either -Os or -O2 optimization level is broken, at least on the latest FreeBSD release (5.4), which comes with gcc 3.4.2 (20040728). It stops at nsSVGCairoGradient.cpp with the following error message:
.../mozilla/layout/svg/renderer/src/cairo/nsSVGCairoGradient.cpp: In function `cairo_pattern_t* CairoGradient(cairo_t*, nsISVGGradient*, nsISVGGeometrySource*)':
.../mozilla/layout/svg/renderer/src/cairo/nsSVGCairoGradient.cpp:843: internal compiler error: in make_decl_rtl, at varasm.c:752
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

I'm aware that this may be an error in the compiler. A quick and dirty workaround  is to insert the following section in layout/svg/renderer/src/cairo/Makefile.in:
ifeq ($(OS_ARCH), FreeBSD)
CXXFLAGS       += -fno-unit-at-a-time  
endif
Assignee: nobody → general
Component: Build Config → SVG
QA Contact: build-config → ian
I don't know if it's related to this bug, but windows builds don't start at all
or they just show the splash screen and either close or hang while continuing to
display it(I have to close them manually to get rid of the splash screen).

Anyway, I use the mozilla-win32-svg-xtf-webdav-xform-GDI.zip build and it seems
that firefox is built in the same directory as this. How else can you explain
that when I download and open the zip file I find firefox.exe inside as well as
mozilla.exe?
Flags: blocking1.8b4?
Flags: blocking1.8b3?
Upstream compiler bug -> INVALID.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Flags: blocking1.8b4?
Flags: blocking1.8b3?
You need to log in before you can comment on or make changes to this bug.