xalanc fails to compile with -Wl,--as-needed
--------------------------------------------

                 Key: XALANC-643
                 URL: https://issues.apache.org/jira/browse/XALANC-643
             Project: XalanC
          Issue Type: Bug
          Components: XalanC
    Affects Versions: 1.10
         Environment: Gentoo Linux
            Reporter: Petteri Räty
             Fix For: CurrentCVS


For background on as-needed see:
http://www.gentoo.org/proj/en/qa/asneeded.xml

Basically the linking order in Makefiles is wrong and results in unknown 
symbols:
../../../../obj/MsgCreator.o:(.data.rel.ro._ZTVN11xercesc_2_713XMLAttDefListE[vtable
 for xercesc_2_7::XMLAttDefList]+0x18): undefined reference to 
`xercesc_2_7::XMLAttDefList::getProtoType() const'
../../../../obj/MsgCreator.o:(.data.rel.ro._ZTIN11xercesc_2_713DTDEntityDeclE[typeinfo
 for xercesc_2_7::DTDEntityDecl]+0x8): undefined reference to `typeinfo for 
xercesc_2_7::XMLEntityDecl'
../../../../obj/MsgCreator.o:(.data.DW.ref._ZTIN11xercesc_2_712XMLExceptionE[DW.ref._ZTIN11xercesc_2_712XMLExceptionE]+0x0):
 undefined reference to `typeinfo for xercesc_2_7::XMLException'
../../../../obj/SAX2Handler.o: In function `SAX2Handler::setLocale(char 
const*)':
SAX2Handler.cpp:(.text+0xa6): undefined reference to 
`xercesc_2_7::XMLString::release(unsigned short**)'
SAX2Handler.cpp:(.text+0xb2): undefined reference to 
`xercesc_2_7::XMLString::transcode(char const*)'
../../../../obj/SAX2Handler.o: In function `SAX2Handler::printToIndexFile(char 
const**)':
SAX2Handler.cpp:(.text+0xee): undefined reference to 
`xercesc_2_7::XMLString::stringLen(char const*)'
../../../../obj/SAX2Handler.o: In function `SAX2Handler::startElement(unsigned 
short const*, unsigned short const*, unsigned short const*, 
xercesc_2_7::Attributes const&)':
SAX2Handler.cpp:(.text+0x1bd): undefined reference to 
`xercesc_2_7::XMLString::compareString(unsigned short const*, unsigned short 
const*)'
SAX2Handler.cpp:(.text+0x22d): undefined reference to 
`xercesc_2_7::XMLString::compareString(unsigned short const*, unsigned short 
const*)'
SAX2Handler.cpp:(.text+0x2a8): undefined reference to 
`xercesc_2_7::XMLString::stringLen(char const*)'
../../../../obj/SAX2Handler.o: In function 
`SAX2Handler::fatalError(xercesc_2_7::SAXParseException const&)':
SAX2Handler.cpp:(.text+0x374): undefined reference to 
`xercesc_2_7::XMLString::transcode(unsigned short const*)'
SAX2Handler.cpp:(.text+0x380): undefined reference to 
`xercesc_2_7::SAXParseException::getColumnNumber() const'

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to