[Aurora-sparc-devel] [SPARC64] gd-2.0.28-1.30.1.src.rpm

Christian Joensson christian.joensson at gmail.com
Tue May 16 07:19:09 EDT 2006


[Maybe a bit off topic here, let me know if I should drop this(these?)
thread(threads), for now, I hope you can accept the information herein
as memory support for me and others interested until the foot is set
down on what the Aurora project wants with sparc64 variants...]

Now, gd...

barfs like this:

gcc -shared  gd.lo gdfx.lo gd_gd.lo gd_gd2.lo gd_io.lo gd_io_dp.lo
gd_gif_in.lo gd_gif_out.lo gd_io_file.lo gd_io_ss.lo gd_jpeg.lo
gd_png.lo gd_security.lo gd_ss.lo gd_topal.lo gd_wbmp.lo gdcache.lo
gdfontg.lo gdfontl.lo gdfontmb.lo gdfonts.lo gdfontt.lo gdft.lo
gdhelpers.lo gdkanji.lo gdtables.lo gdxpm.lo wbmp.lo  -Wl,--rpath
-Wl,/usr/lib64 -Wl,--rpath -Wl,/usr/lib64  -L/usr/X11R6/lib64
-L/usr/lib64 -L/usr/X11R6/lib /usr/lib64/libfreetype.so -lpng12 -lz
-lm  -Wl,--rpath -Wl,/usr/lib64 -Wl,-soname -Wl,libgd.so.2 -o
.libs/libgd.so.2.0.0
/usr/lib64/libfreetype.so: could not read symbols: File in wrong format


due to not being able to build shared libs... again, -m64 fixes it, in
the gd case, a simple CC='gcc -m64' in front of the rpmbuild command
does the trick for me.

CC='gcc -m64' rpmbuild --rebuild gd-2.0.28-1.30.1.src.rpm --target=sparc64

however, I suspect that we should perhaps have libjpeg and
libjepg-devel in sparc64 variants too, as gd is configured

** Configuration summary for gd 2.0.28:

   Support for PNG library:          yes
   Support for JPEG library:         no
   Support for Freetype 2.x library: yes
   Support for Xpm library:          no
   Support for pthreads:             yes


and where the Xpm comes in... tell me... they're at least on sparc
variants in xorg-x11-libs-6.8.1-13sparc...


More information about the Aurora-sparc-devel mailing list