trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: January 2012

Re: [trinity-devel] tdemultimedia FTBFS

From: "Timothy Pearson" <kb9vqf@...>
Date: Fri, 20 Jan 2012 23:56:55 -0600
>> > Are you building any packages
>> with gcc hidden visibility
>> > enabled?  That
>> > might explain the difference.
>>
>> Yes: qt3, arts, tdelibs, tdebase. I'll rebuild them and try
>> again. Or at least arts because that one is directly
>> involved.
>>
>> How do I disable that option in qt3? I believe qt3 is
>> hard-coded now. Reverse patch?
>
> Well, I'll be the proverbial monkey's uncle. In arts I toggled
> -DWITH_GCC_VISIBILITY to OFF, rebuilt and then tdemultimedia finally
> built.
>
> How did you figure that out?

Experience. :-)  It was one of the only ways that a linker failure could
result when the correct libraries were already being included via the
linker flags.

> Do we need a note in the wiki? You said some time ago that this option was
> experimental....
>

Things are supposed to Just Work (TM) when that option is enabled. 
Sometimes a function is not publicly exported when it should be, and that
is a bug in TDE.

I'll poke around a bit and send in a patch for you to test with
WITH_GCC_VISIBILITY set ON.

Tim