First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 107542
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: media-gfx herd <graphics@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: TAKAHASHI, Hideaki <hide-t@zob.ne.jp>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 107542 depends on: Show dependency tree
Show dependency graph
Bug 107542 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-09-28 14:30 0000
jbigkit doesn't add -fPIC and -DPIC to CFLAGS. so ImageMagick cannot link
libjbig.a to libMagick.

I just added -fPIC and -DPIC to CFLAGS, when emerge jbigkit.
After it, emerge imagemagick was successful.

==== compile log ===
/bin/sh ./libtool --silent --tag=CC --mode=link x86_64-pc-linux-gnu-gcc  -O2
-march=k8 -mtune=k8 -pipe -Wall -pthread  -z combreloc -lfreetype -lz -L/usr/lib
-o coders/jbig.la -rpath /usr/lib64/ImageMagick-6.2.4/modules-Q16/coders
-no-undefined -module -avoid-version coders/coders_jbig_la-jbig.lo
magick/libMagick.la -ljbig

libtool: link: warning: `/usr/lib/liblcms.la' seems to be moved
libtool: link: warning: `/usr/lib/libtiff.la' seems to be moved
libtool: link: warning: `/usr/lib/libjpeg.la' seems to be moved
libtool: link: warning: `/usr/lib/libfreetype.la' seems to be moved
libtool: link: warning: `/usr/lib/liblcms.la' seems to be moved
/bin/sh ./libtool --silent --tag=CC --mode=link x86_64-pc-linux-gnu-gcc  -O2
-march=k8 -mtune=k8 -pipe -Wall -pthread  -z combreloc -lfreetype -lz -L/usr/lib
-o coders/jpeg.la -rpath /usr/lib64/ImageMagick-6.2.4/modules-Q16/coders
-no-undefined -module -avoid-version coders/coders_jpeg_la-jpeg.lo
magick/libMagick.la -ljpeg

libtool: link: warning: `/usr/lib/libtiff.la' seems to be moved
libtool: link: warning: `/usr/lib/libjpeg.la' seems to be moved
libtool: link: warning: `/usr/lib/libfreetype.la' seems to be moved
/usr/lib/gcc/x86_64-pc-linux-gnu/4.0.2-pre20050917/../../../../x86_64-pc-linux-gnu/bin/ld:
/usr/lib/libjbig.a(jbig.o): relocation R_X86_64_32 against `a local symbol' can
not be used when making a shared object; recompile with -fPIC
/usr/lib/libjbig.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [coders/jbig.la] Error 1


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




emerge info

Portage 2.0.52-r1 (default-linux/amd64/2005.1, gcc-4.0.2-pre20050917,
glibc-2.3.5.20050722-r0, 2.6.13-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.13-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0_pre8
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -mtune=k8 -march=k8 -msse3 -mfpmath=sse -ftracer -pipe -fforce-addr
-minline-all-stringops -mno-push-args -maccumulate-outgoing-args
-fprefetch-loop-arrays -fsched-spec-load -funit-at-a-time -ftree-vectorize"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="-O3 -mtune=k8 -march=k8 -msse3 -mfpmath=sse -ftracer -pipe
-fforce-addr -minline-all-stringops -mno-push-args -maccumulate-outgoing-args
-fprefetch-loop-arrays -fsched-spec-load -funit-at-a-time -ftree-vectorize"
FEATURES="autoconfig ccache digest distlocks prelink sfperms strict"
LDFLAGS="-z combreloc"
LINGUAS="ja"
MAKEOPTS="-j2"
PORTDIR="/usr/portage"
USE="amd64 7zip a52 aac acl acpi alsa aotuv apache2 async audiofile avi
bash-completion bcmath berkdb bitmap-fonts bzip2 bzlib c++ calendar caps cdr cgi
cjk crypt ctype curl curlwrappers custom-cflags dba dbm dict djbfft dts dvd dvdr
ecc edl elf emboss emul-linux-x86 encode exif expat fam fep ffmpeg fftw flac
flash flatfile freetype ftp gd gdb gdbm geoip gif glibc-omitfp gmp gnutls gs
gssapi gstreamer gzip hal haskell hpn iconv icu id3 idea imagemagick imap
inifile intl ipv6 ithreads jai java javascript jbig jce jikes jimi jpeg jpeg2k
junit jython kakasi lcms ldap live lm_sensors logrotate logwatch lzo lzw
lzw-tiff m17n-lib mad maildir matroska memlimit mhash mime ming mjpeg mmap mng
mp3 mpeg mpeg2 mpeg4 mplayer msn msnextras ncurses netcdf nls no-htdocs
no-old-linux nocd nomotif nopri nptl nptlonly numarray numeric ogg oggvorbis
openal openssh openssl pam pam_timestamp pcntl pcre pdflib pdo-external perl php
pic png posix postfix pthreads python qdbm quicktime readline real rhino rrdtool
samba sasl sensord servlet-2.4 session sharedext sharedmem simplexml slang
sndfile snmp soap sockets sox speex spl sqlite sqlite3 ssl subversion svg sysfs
syslog sysvipc tcpd theora threads tiff tokenizer truetype truetype-fonts type1
type1-fonts ucs2 ucs4 unicode usb userlocales utf8 vorbis wddx webdav wmf xfs
xml xml2 xmlrpc xsl xvid yv12 zaptel zip zlib linguas_ja userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, PORTDIR_OVERLAY

------- Comment #1 From Carsten Lohrke 2005-09-29 04:01:39 0000 -------
amd64 herders: We have no maintainer for this package. Would be nice if someone
would fix this and add metadata.xml as well.

------- Comment #2 From SpanKY 2005-09-29 18:55:16 0000 -------
building libjbig.a with -fPIC is wrong which is why i removed the 'append-flags
-fPIC' from the new version

------- Comment #3 From SpanKY 2005-09-29 19:16:11 0000 -------
1.6-r1 now builds a libjbig.so

First Last Prev Next    No search results available      Search page      Enter new bug