https://bugzilla.novell.com/show_bug.cgi?id=295503#c6
--- Comment #6 from Michael Wolf 2007-08-03 16:00:03 MST ---
"""
c++ -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align
-Woverloaded-virtual -Wsy\
nth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -pedantic -O2
-fmessage-length=0 -Wall -\
D_FORTIFY_SOURCE=2 -fstack-protector -g -Os -fno-strict-aliasing
-fstack-protector -fshort-wchar -pthrea\
d -pipe -DNDEBUG -DTRIMMED -O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2
-fstack-protector -g -Os -f\
no-strict-aliasing -fstack-protector -fPIC -shared -Wl,-z,defs
-Wl,-h,libenigmime.so -o libenigmime.so \
nsEnigModule.o -Wl,--whole-archive ../src/libenigmime_s.a
./ipc/src/libipc_s.a -Wl,--no-whole-ar\
chive -L../../../../dist/bin -L../../../../dist/lib -L../../../../dist/bin
-lxpcom -lxpcom_core -L../..\
/../../dist/lib -lxpcom_compat -L/usr/lib64 -lplds4 -lplc4 -lnspr4 -lpthread
-ldl -Wl,--version-script\
-Wl,../../../../build/unix/gnu-ld-scripts/components-version-script
-Wl,-Bsymbolic -ldl -lm
/usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-linux/bin/ld:
nsEnigModule.o: relocation \
R_X86_64_PC32 against `NS_NewGenericModule2(nsModuleInfo const*, nsIModule**)'
can not be used when maki\
ng a shared object; recompile with -fPIC
/usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-linux/bin/ld:
final link failed: Bad valu\
e
collect2: ld returned 1 exit status
gmake[2]: *** [libenigmime.so] Error 1
"""
Unfortunately, the build doesn't die here (in an checked out copy I have it
does, but it doesn't solve the problem).
The build fails for good here:
"""
+ cat
+
_enig_dir='/var/tmp/MozillaThunderbird-2.0.0.6-build/usr/lib64/thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}'
+ mkdir -p
'/var/tmp/MozillaThunderbird-2.0.0.6-build/usr/lib64/thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/chrome/'
+ mkdir -p
'/var/tmp/MozillaThunderbird-2.0.0.6-build/usr/lib64/thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/'
+ mkdir -p
'/var/tmp/MozillaThunderbird-2.0.0.6-build/usr/lib64/thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/defaults/preferences/'
+ mv -f
/var/tmp/MozillaThunderbird-2.0.0.6-build/usr/lib64/thunderbird/chrome/enigmail.jar
'/var/tmp/MozillaThunderbird-2.0.0.6-build/usr/lib64/thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/chrome/'
mv: cannot stat
`/var/tmp/MozillaThunderbird-2.0.0.6-build/usr/lib64/thunderbird/chrome/enigmail.jar':
No such file or directory
"""
Is where it fails, but the problem really lies above.
I sent a mail to our gcc dudes asking for help with this...
[This is with a nearly direct copy of the build service package; only a few
macros autobuild doesn't know about were removed.]
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.