[cairo] failed to build cairo
Kemin Zhou
kmzhou4 at yahoo.com
Sun Jun 30 18:17:14 PDT 2013
I have just installed the latest GCC compiler on my linux computer
GCC 4.8.1
gcc 4.8.1 installed the libiberty.a static lib in the standard place,
in my case /usr/local/lib64
I looked at the source code for both gcc and binutil from gnu. They are identical with only one target (libiberty.a). Don't know how to change the make input files to build the dynamic version. I have tried to learn the autoconf system a few times (each time spending a few hours), but this system is very hard for me.
My configure for Cairo went well, but it failed in the linking stage.
The failure directory is in util/cairo-trace directory
CCLD libcairo-trace.la
/usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../../x86_64-unknown-linux-gnu/bin/ld: /usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../../lib64/libiberty.a(cplus-dem.o): relocation R_X86_64_32S against `_sch_istable' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../../lib64/libiberty.a: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
See anyone can help.
I have searched the internet for the whole night and did not find any help.
Kemin Zhou
609 818-4265 Office
858 366-8260 Mobile
858 771-3269 Home
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20130630/f39a440e/attachment.html>
More information about the cairo
mailing list