[Mono-bugs] [Bug 82844][Nor] New - libgdiplus-1.2.5 fails to build on x86_64
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Thu Sep 13 19:26:52 EDT 2007
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by jurek at gentoo.org.
http://bugzilla.ximian.com/show_bug.cgi?id=82844
--- shadow/82844 2007-09-13 19:26:51.000000000 -0400
+++ shadow/82844.tmp.24562 2007-09-13 19:26:51.000000000 -0400
@@ -0,0 +1,55 @@
+Bug#: 82844
+Product: Mono: Class Libraries
+Version: 1.2
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: libgdiplus
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: jurek at gentoo.org
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: libgdiplus-1.2.5 fails to build on x86_64
+
+libgdiplus-1.2.5 fails to build after passing --without-libexif and
+--without-libtiff to configure:
+
+x86_64-pc-linux-gnu-gcc -shared .libs/adjustablearrowcap.o .libs/bitmap.o
+.libs/brush.o .libs/customlinecap.o .libs/dstream.o .libs/font.o
+.libs/general.o .libs/graphics.o .libs/graphics-cairo.o
+.libs/graphics-metafile.o .libs/graphics-path.o .libs/graphics-pathiterator.o
+.libs/hatchbrush.o .libs/icocodec.o .libs/image.o .libs/imageattributes.o
+.libs/lineargradientbrush.o .libs/matrix.o .libs/metafile.o
+.libs/pathgradientbrush.o .libs/pen.o .libs/print.o .libs/region.o
+.libs/region-bitmap.o .libs/region-path-tree.o .libs/solidbrush.o
+.libs/stringformat.o .libs/text.o .libs/text-cairo.o .libs/text-metafile.o
+.libs/texturebrush.o .libs/bmpcodec.o .libs/emfcodec.o .libs/emfplus.o
+.libs/gifcodec.o .libs/jpegcodec.o .libs/pngcodec.o .libs/tiffcodec.o
+.libs/wmfcodec.o -Wl,--whole-archive ../cairo/src/.libs/libcairo.a
+-Wl,--no-whole-archive /usr/lib64/libxml2.so /usr/lib64/libXau.so
+/usr/lib64/libXdmcp.so -ldl -lm /usr/lib64/libglib-2.0.so
+/usr/lib64/libfreetype.so -lz /usr/lib64/libXrender.so -L/usr/lib64
+/usr/lib64/libX11.so /usr/lib64/libjpeg.so /usr/lib64/libgif.so
+/usr/lib64/libpng12.so -lpthread /usr/lib64/libfontconfig.so -pthread
+-Wl,-soname -Wl,libgdiplus.so.0 -o .libs/libgdiplus.so.0.0.0
+/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/../../../../x86_64-pc-linux-gnu/bin/ld:
+.libs/image.o: relocation R_X86_64_PC32 against
+`gdip_load_tiff_image_from_file' can not be used when making a shared object;
+recompile with -fPIC
+/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/../../../../x86_64-pc-linux-gnu/bin/ld:
+final link failed: Bad value
+collect2: ld returned 1 exit status
+make[2]: *** [libgdiplus.la] Error 1
+make[2]: Leaving directory
+`/tmp/portage/dev-dotnet/libgdiplus-1.2.5/work/libgdiplus-1.2.5/src'
+make[1]: *** [all-recursive] Error 1
+make[1]: Leaving directory
+`/tmp/portage/dev-dotnet/libgdiplus-1.2.5/work/libgdiplus-1.2.5'
+make: *** [all] Error 2
+
+results are the same even after toggling -fPIC. Also tested with gcc-4.1.x
More information about the mono-bugs
mailing list