[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hpux-cxx-dev
Subject:    Re:  CXX-DEV: ld: (Warning) Final resolution of symbol may differ from expected due to WEAK/WEAK def
From:       Dennis Handly <dhandly () cup ! hp ! com>
Date:       2008-09-11 21:40:08
Message-ID: 200809112140.OAA29616 () hpcll183 ! cup ! hp ! com
[Download RAW message or body]

>From: Martin Sebor <sebor@roguewave.com>
>I'm getting the linker warnings below after enabling IPO in our archive
>builds. Looks like the symbols mentioned in the warning messages are
>those we explicitly instantiate in the ti_xxx.cpp files.

Explictly instantiate or specialize?  Only the latter would be an issue.

>Any tips on what might be the cause?  Should we avoid explicit
>instantiation in archive builds when -ipo is being used to build the
>final executables?

I think you should just ignore it.

>What's an I-SOM file?
Martin

The message has been corrected to say "IELF".  Intermediate ELF file.

ld: (Warning) Final resolution of symbol 
"std::basic_istream<(%0=)char,(%1=)std::char_traits<char> >& 
std::operator>><char>(std::basic_istream,std::basic_string&)" may differ
from expected due to WEAK/WEAK definition conflict in I-SOM file 
/build/sebor/stdcxx-4.2.x-aCC-6.16-12S-ipo/lib/libstd12S.a[ti_istream.o] 
and file /var/tmp//00004F3B_00003174/libstd12S.a.ti_istream.o.21

 _________________________________________________________________
 To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
    with the message UNSUBSCRIBE cxx-dev
 _________________________________________________________________
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic