Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 436020 - =media-libs/libsbsms-2.0.1: fails to build on ppc, ppc64 and mips with the same error
Summary: =media-libs/libsbsms-2.0.1: fails to build on ppc, ppc64 and mips with the sa...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 424197
  Show dependency tree
 
Reported: 2012-09-23 18:57 UTC by Anthony Basile
Modified: 2012-12-08 23:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log for mips (build-mips.log,13.96 KB, text/plain)
2012-09-23 18:59 UTC, Anthony Basile
Details
build log for ppc (build-ppc.log,12.09 KB, text/plain)
2012-09-23 18:59 UTC, Anthony Basile
Details
build log for ppc64 (build-ppc64.log,12.16 KB, text/plain)
2012-09-23 19:00 UTC, Anthony Basile
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anthony Basile gentoo-dev 2012-09-23 18:57:56 UTC
The problem occurs in src/buffer.h in a call to calloc that looks like:

template <class T>
...
buf = (T*) calloc(2*length,sizeof(T));

I'm attatching all three build logs

Reproducible: Always
Comment 1 Anthony Basile gentoo-dev 2012-09-23 18:59:15 UTC
Created attachment 324736 [details]
build log for mips
Comment 2 Anthony Basile gentoo-dev 2012-09-23 18:59:35 UTC
Created attachment 324738 [details]
build log for ppc
Comment 3 Anthony Basile gentoo-dev 2012-09-23 19:00:00 UTC
Created attachment 324740 [details]
build log for ppc64
Comment 4 Anthony Basile gentoo-dev 2012-09-23 19:08:02 UTC
I just tested libsbsms-2.0.0 and it fails in the same way on the mips.  I didn't test ppc or ppc64.

I tested on amd64, and its fine.  The only difference I see between amd64 and the above three is that sse is (necessarily) masked on the latter.
Comment 5 Tomáš Chvátal (RETIRED) gentoo-dev 2012-12-08 17:49:57 UTC
I keyworded ppc and ppc64 as i fixed the issue, I would say mips is also ready, but i don't have the arch hw.
Comment 6 Anthony Basile gentoo-dev 2012-12-08 23:58:37 UTC
(In reply to comment #5)
> I keyworded ppc and ppc64 as i fixed the issue, I would say mips is also
> ready, but i don't have the arch hw.

mips is happy :)