Discussion:
[jira] [Created] (XALANC-769) Unable to compile xalac with gcc 5.4.0 on Solaris 10 SPARC v9
Kalyan Ketharaju (JIRA)
2016-06-28 09:58:57 UTC
Permalink
Kalyan Ketharaju created XALANC-769:
---------------------------------------

Summary: Unable to compile xalac with gcc 5.4.0 on Solaris 10 SPARC v9
Key: XALANC-769
URL: https://issues.apache.org/jira/browse/XALANC-769
Project: XalanC
Issue Type: Bug
Components: XalanC
Affects Versions: 1.11
Environment: Solaris 10 Sparc
Reporter: Kalyan Ketharaju
Assignee: Steven J. Hathaway
Priority: Blocker


ld: fatal: relocation error: R_SPARC_H44: file /opt/gcc-5.4.0-sparc-sun-solaris2.10/lib/gcc/sparc64-sun-solaris2.10/5.4.0/../../../sparcv9/libstdc++.a(eh_alloc.o): symbol .rodata (section): relocations based on the ABS44 coding model can not be used in building a shared object
ld: fatal: relocation error: R_SPARC_M44: file /opt/gcc-5.4.0-sparc-sun-solaris2.10/lib/gcc/sparc64-sun-solaris2.10/5.4.0/../../../sparcv9/libstdc++.a(eh_alloc.o): symbol .rodata (section): relocations based on the ABS44 coding model can not be used in building a shared object
ld: fatal: relocation error: R_SPARC_L44: file /opt/gcc-5.4.0-sparc-sun-solaris2.10/lib/gcc/sparc64-sun-solaris2.10/5.4.0/../../../sparcv9/libstdc++.a(eh_alloc.o): symbol .rodata (section): relocations based on the ABS44 coding model can not be used in building a shared object
collect2: error: ld returned 1 exit status
make[1]: *** [../../lib/libxalan-c.so.111.0] Error 1
make[1]: Leaving directory `/disks/ermintrude1/workplaces/apfdev/build/gcc-5.4/HEAD/64/xalan-c-1.11/c/src/xalanc'
make: *** [all] Error 2

gcc was configured with
/opt/gcc-5.4.x-sparc-sun-solaris2.10/bin> ./gcc -v
Using built-in specs.
COLLECT_GCC=./gcc
COLLECT_LTO_WRAPPER=/opt/gcc-5.4.0-sparc-sun-solaris2.10/libexec/gcc/sparc64-sun-solaris2.10/5.4.0/lto-wrapper
Target: sparc64-sun-solaris2.10
Configured with: gcc-5.4.0/configure --prefix=/opt/gcc-5.4.0-sparc-sun-solaris2.10 --build=sparc64-sun-solaris2.10 --without-gnu-as --with-as=/usr/ccs/bin/as --without-gnu-ld -with-ld=/usr/ccs/bin/ld --disable-nls --enable-threads=posix --disable-shared --enable-languages=c++ --enable-checking=release --enable-__cxa_atexit --enable-bootstrap
Thread model: posix
gcc version 5.4.0 (GCC)





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-***@xalan.apache.org
For additional commands, e-mail: dev-***@xalan.apache.org

Loading...