Csound on Ubuntu
fsateler at debian.org
Mon Mar 7 00:39:58 UTC 2011
On Mon, Mar 7, 2011 at 00:18, Micah Gersten <micahg at ubuntu.com> wrote:
> On 03/06/2011 05:10 PM, Felipe Sateler wrote:
>> On Sun, Mar 6, 2011 at 17:12, Felipe Sateler <fsateler at debian.org> wrote:
>>> On Sat, Mar 5, 2011 at 18:39, Jonas Smedegaard <dr at 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
>>> 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?
> There are 61 build-depends on scons in Ubuntu and we're past feature
> freeze. Aside from that, are you sure it's scons and not the toolchain
> that's diifferent?
Yes. I created a natty chroot and rebuilt csound there, reproducing
the problem. Then I downloaded debian's version of scons and installed
it in the natty chroot. The problem disappeared.
Prior to this I tried to debug this with help from Matthias Klose,
ruling out toolchain issues.
More information about the pkg-multimedia-maintainers