[ http://issues.apache.org/jira/browse/XERCESC-1360?page=comments#action_12458567 ] Leo Breuss commented on XERCESC-1360: -------------------------------------
misaligned Registers are related to the gcc Bug 10904, resolved with gcc3.3.4. As a workaround for gcc3.3.2 you may use a certain combination of the following linker and compiler flags (I didn't identify the relevant ones yet, and if they have to be given to the linker or the compiler, -O0 and -fPIC seem to be important) ./runConfigure -psolaris -cgcc -xg++ -b64 -l"-m64" -l"-mcpu=v9" -l"-O0" -l"-Wa,-xarch=v9" -z"-m64" -z"-mcpu=v9" -z"-O0" -z"-fPIC" -z"-Wa,-xarch=v9"; > compile error for 64bit solaris binary by GCC 3.3.2 > --------------------------------------------------- > > Key: XERCESC-1360 > URL: http://issues.apache.org/jira/browse/XERCESC-1360 > Project: Xerces-C++ > Issue Type: Bug > Components: Build > Affects Versions: 2.6.0 > Reporter: Constellation Energy > > I am trying to build 64 bits xercesc 2.6 with gcc 3.3.2 on SunOS 5.9, and got > an error in an assemble file, here my steps: > xerces-c-src_2_6_0/src/xercesc> uname -a SunOS sasapp-msw-01 5.9 > Generic_117171-15 sun4u sparc SUNW,Sun-Fire-V440 > xerces-c-src_2_6_0/src/xercesc> ./runConfigure -psolaris -cgcc -xg++ -minmem > -nsocket -tnative -rpthread -l"-m64" -l"-mcpu=v9" -z"-m64" -z"-mcpu=v9" > xerces-c-src_2_6_0/src/xercesc> make > ... > ... > ... > g++ -fPIC -DSOLARIS -D_REENTRANT -c > -I/home/e11190/hawru/3rd_party/xerces-c-src_2_6_0/include -m64 -mcpu=v9 -w -O > -DPROJ_XMLPARSER -DPROJ_XMLUTIL -DPROJ_PARSERS -DPROJ_SAX4C -DPROJ_SAX2 > -DPROJ_DOM -DPROJ_DEPRECATED_DOM -DPROJ_VALIDATORS > -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS > -DXML_USE_NETACCESSOR_SOCKET -o > /home/e11190/hawru/3rd_party/xerces-c-src_2_6_0/obj/SOLARIS/DFAContentModel.o > DFAContentModel.cpp > /usr/ccs/bin/as: "/usr/tmp/ccCniKYa.s", line 2096: error: invalid > (misaligned) register > make[2]: *** [DFAContentModel.o] Error 1 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
