Andreas Hartmann wrote:
Stephan Bergmann wrote:

Andreas Hartmann wrote:

Andreas Hartmann wrote:


Hello!


I'm trying to compile OO on Linux (gcc 3.4.5, glibc 2.3.5, binutils
2.16.91.0.5 or 2.15.94.0.2), but I'm getting a strange error during
linking of libuno_cppu.so.3. I never saw an error like this before :-).


I detected the following dependencies:

        gcc     binutils        works
        3.4.3   2.15.94.0.2     yes
        3.4.5   2.15.94.0.2     with warnings

What kind of warnings?


The same as in my other mail:

`.L330' referenced in section `.rodata' of ../unxlngi6.pro/slo/sequence.o:
defined in discarded section
`.gnu.linkonce.t._ZN4cppu22icopyConstructSequenceEP13_sal_SequenceP33_typelib_TypeDescriptionReferencePFvPvEP12_uno_Mapping'
of ../unxlngi6.pro/slo/sequence.o
`.L486' referenced in section `.rodata' of ../unxlngi6.pro/slo/sequence.o:
defined in discarded section
`.gnu.linkonce.t._ZN4cppu22icopyConstructSequenceEP13_sal_SequenceP33_typelib_TypeDescriptionReferencePFvPvEP12_uno_Mapping'
of ../unxlngi6.pro/slo/sequence.o
...


        3.4.5   2.16.91.0.6     error
        3.4.3   2.16.91.0.6     error

Seems that binutils 2.16.91.0.[5+6] have a feature, which prevents stlport
and cppu to compile.

...or a bug.  ;)  Have you tried filing an issue against GNU binutils?


No - I do not have enough know how about what's happening.

Searching the web for "defined in discarded section" suggests that this is a known issue with gcc and/or binutils.

-Stephan

Kind regards,
Andreas Hartmann

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

Reply via email to