On Mon, Mar 7, 2011 at 19:22, Micah Gersten <mic...@ubuntu.com> wrote:
> On 03/07/2011 12:18 AM, Reinhard Tartler wrote:
>> On Mon, Mar 07, 2011 at 00:10:17 (CET), Felipe Sateler wrote:
>>
>>> On Sun, Mar 6, 2011 at 17:12, Felipe Sateler <fsate...@debian.org> wrote:
>>>> On Sat, Mar 5, 2011 at 18:39, Jonas Smedegaard <d...@jones.dk> wrote:
>>>>> On Sat, Mar 05, 2011 at 03:52:15PM +0000, Felipe Sateler wrote:
>>>>>> OK, the problem seems to be -as-needed. Compiling with -no-as-needed
>>>>>> results in a correct binary (only in Ubuntu, Debian binaries are OK even
>>>>>> with -as-needed). Why does this fail in Ubuntu but not in Debian? Any 
>>>>>> ideas?
>>>>> Ubuntu set aggressive default compile flags, whereas Debian set 
>>>>> conservative
>>>>> ones.
>>>>
>>>> I know that, I wanted to know if somebody had more detail.
>>> OK, I found the problem. In Ubuntu, scons is for some reason inserting
>>>  -fvisibility=hidden to the gcc/g++ lines, thus crippling the CsoundAC
>>> library. The scons in debian shows no such problem.
>>>
>>> The ubuntu people here, how can I get Ubuntu to pick the latest
>>> version from debian, and then rebuild csound using that?
>> I've now filed
>> https://bugs.launchpad.net/ubuntu/+source/scons/+bug/730447 for tracking
>> the issue. Ideally we can identify what change in csound is responsible
>> for this.
> Per
> https://lists.ubuntu.com/archives/ubuntu-devel/2011-March/032632.html,
> --as-needed is being reverted for natty, so do we need the scons upgrade
> anymore?

Yes. The bug is not that gcc uses --as-needed. The bug is that
libCsoundAC is mostly empty, the --as-needed flag is irrelevant in
this case (also, csound passes that flag explicitly). The bug is that
for some reason, scons is inserting -fvisibility=hidden flags into
inappropriate targets. The bug is fixed by updating the scons version.
I am not versed enough in scons and python to try to debug the problem
and provide a patch, though.

-- 

Saludos,
Felipe Sateler

_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to