Package: ace
Version: 5.4.7-3
Severity: serious

Hi,

Your package is failing to build on a few arches with different
but simular error messages.

They happen with linking libACE.so.5.4.7

On amd64 I see:
/usr/bin/ld: .shobj/Logging_Strategy.o: relocation R_X86_64_PC32 against 
`std::basic_ofstream<char, std::char_traits<char> >::basic_ofstream(char 
const*, std::_Ios_Openmode)@@GLIBCXX_3.4' can not be used when making a shared
object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libACE.so.5.4.7] Error 1

On powerpc:
.shobj/Logging_Strategy.o: In function `ACE_Logging_Strategy::init(int, char**)
':
Logging_Strategy.cpp:(.text+0xf30): undefined reference to 
`std::basic_ofstream<char, std::char_traits<char> >::basic_ofstream(char 
const*, std::_Ios_Openmode)@@GLIBCXX_3.4'
Logging_Strategy.cpp:(.text+0x1014): undefined reference to 
`std::basic_ofstream<char, std::char_traits<char> >::basic_ofstream(char 
const*, std::_Ios_Openmode)@@GLIBCXX_3.4'

Since .shobj/Logging_Strategy.o actually is compiled using
-fPIC, that probably isn't the problem.  My first guess
was that it was missing a -DPIC, but that wasn't it
either.

It seems that this is caused by the
-fvisibility-inlines-hidden option, but only on that file.

I'm guessing this is a g++ error, and will file a bug
against g++ about this too.


Kurt



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to