Closed Bug 571652 Opened 14 years ago Closed 14 years ago

Get Linux64 SeaMonkey building again

Categories

(SeaMonkey :: Build Config, defect)

x86_64
Linux
defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED
seamonkey2.1a2

People

(Reporter: Callek, Assigned: kairo)

References

Details

(Keywords: regression)

blocking-seamonkey2.1: --- → ?
The static nightly build succeeded today, and it always clobbers, I'll try clobbering the normal build as well.
(In reply to comment #1)
> The static nightly build succeeded today, and it always clobbers, I'll try
> clobbering the normal build as well.

Did this ever get done, I still see red if it did.
Depends on: 449292
The following is the error from the build-log for our Linux64, this is a shared build (rather than static like the succeeded nightly) and everything I can tell in a brief glance says we SHOULD be using PIC here.

Neil or Vlad, any ideas here that someone can test?

make[7]: Entering directory `/builds/slave/comm-central-trunk-linux64/build/objdir/mozilla/gfx/thebes/src'
rm -f libthebes.so
/tools/gcc/bin/g++  -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -gstabs+ -fno-strict-aliasing -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -gstabs+ -Os -freorder-blocks -fomit-frame-pointer -finline-limit=50 -I/builds/slave/comm-central-trunk-linux64/build/objdir/mozilla/dist/include/cairo -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-unix-print-2.0   -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2   -fPIC -shared -Wl,-z,defs -Wl,-h,libthebes.so -o libthebes.so  cairo-xlib-utils.o woff.o gfxASurface.o gfxAlphaRecovery.o gfxContext.o gfxImageSurface.o gfxFont.o gfxFontMissingGlyphs.o gfxFontTest.o gfxFontUtils.o gfxAtoms.o gfxMatrix.o gfxPath.o gfxPattern.o gfxPlatform.o gfxPlatformFontList.o gfxRect.o gfxSkipChars.o gfxTextRunCache.o gfxTextRunWordCache.o gfxUserFontSet.o gfxUtils.o gfxUnicodeProperties.o gfxScriptItemizer.o gfxHarfBuzzShaper.o GLContext.o GLContextProviderOSMesa.o gfxPangoFonts.o gfxXlibSurface.o gfxPlatformGtk.o gfxGdkNativeRenderer.o gfxPDFSurface.o gfxPSSurface.o gfxFontconfigUtils.o gfxFT2FontBase.o gfxFT2Utils.o nsUnicodeRange.o GLContextProviderNull.o     -lpthread    -Wl,-rpath-link,/builds/slave/comm-central-trunk-linux64/build/objdir/mozilla/dist/bin -Wl,-rpath-link,/usr/local/lib  -Wl,--whole-archive ../../layers/liblayers.a  -Wl,--no-whole-archive ../../../gfx/cairo/cairo/src/libmozcairo.a ../../../gfx/cairo/libpixman/src/libmozlibpixman.a   -L/usr/lib64 -lXrender -lfreetype -lfontconfig -L../../../dist/bin -L../../../dist/lib -lgkgfx -lycbcr /builds/slave/comm-central-trunk-linux64/build/objdir/mozilla/dist/lib/libunicharutil_s.a -L/builds/slave/comm-central-trunk-linux64/build/objdir/mozilla/dist/bin -lxpcom -lxpcom_core -lmozalloc  -L/builds/slave/comm-central-trunk-linux64/build/objdir/mozilla/dist/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl -L../../../modules/zlib/src -lmozz ../../../gfx/qcms/libmozqcms.a ../../../gfx/harfbuzz/src/libmozharfbuzz.a  -L/lib64 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   -L../../../modules/zlib/src -lmozz -L/usr/lib64 -lX11  -lXext -L/lib64 -lgtk-x11-2.0 -latk-1.0 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0    -ldl -lm    
/usr/bin/ld: gfxFont.o: relocation R_X86_64_PC32 against `hb_blob_create' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[7]: *** [libthebes.so] Error 1
make[7]: Leaving directory `/builds/slave/comm-central-trunk-linux64/build/objdir/mozilla/gfx/thebes/src'
make[6]: *** [libs] Error 2
make[6]: Leaving directory `/builds/slave/comm-central-trunk-linux64/build/objdir/mozilla/gfx/thebes'
make[5]: *** [libs] Error 2
make[5]: Leaving directory `/builds/slave/comm-central-trunk-linux64/build/objdir/mozilla/gfx'
make[4]: *** [libs_tier_platform] Error 2
As a not, the clobber has been done and didn't help.
Switched to gcc 4.5 in http://hg.mozilla.org/build/buildbot-configs/rev/c9abea8c5b74 and that made builds turn green! :)
Assignee: nobody → kairo
Status: NEW → RESOLVED
blocking-seamonkey2.1: ? → ---
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.1a2
You need to log in before you can comment on or make changes to this bug.