[opensuse-buildservice] Strange error message when trying to build libgeotiff (i586)
Hello, when I try to build the "libgeotiff" package for openSUSE Factory, the build fails at the end, with the following output. The x86_64 package is built without any problems, only i586 refuses to build... Build works fine for all other versions of (open)SUSE (10.0, 10.1, 10.2) Project is hamradio -> libgeotiff Any hints? makegeo.c:24: warning: return type of 'main' is not 'int' makegeo.c: In function 'WriteImage': makegeo.c:93: warning: implicit declaration of function 'memset' makegeo.c:93: warning: incompatible implicit declaration of built-in function 'memset' gcc -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -O2 -Wall makegeo.o -L/usr/local/lib -L.. -lgeotiff -lproj -ltiff -ljpeg -lz -lm -o makegeo /usr/lib/gcc/i586-suse-linux/4.2.1/../../../../i586-suse-linux/bin/ld: makegeo: hidden symbol `__stack_chk_fail_local' in /usr/lib/libc_nonshared.a(stack_chk_fail_local.oS) is referenced by DSO /usr/lib/gcc/i586-suse-linux/4.2.1/../../../../i586-suse-linux/bin/ld: final link failed: Nonrepresentable section on output collect2: ld returned 1 exit status make[1]: *** [makegeo] Error 1 make[1]: Leaving directory `/usr/src/packages/BUILD/libgeotiff-1.2.3/bin' make: *** [Progs] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.85440 (%build) -- Tim Fischer --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Tim Fischer escribió:
Hello, when I try to build the "libgeotiff" package for openSUSE Factory, the build fails at the end, with the following output. The x86_64 package is built without any problems, only i586 refuses to build... Build works fine for all other versions of (open)SUSE (10.0, 10.1, 10.2) Project is hamradio -> libgeotiff Any hints?
try the attached patch, it should use gcc -shared instead of ld -shared :-)
Project is hamradio -> libgeotiff Any hints?
try the attached patch, it should use gcc -shared instead of ld -shared :-) OK, it works, thank you
-- Tim Fischer --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Cristian Rodriguez R.
-
Tim Fischer