Skip to contentSkip to conversation

New: Not able to build ALSA-Utils for static build

Buildroot bugzilla at busybox.net 1 participant 4 messages Dec 7, 2012 – Feb 23, 2014

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=5774

Summary: Not able to build ALSA-Utils for static build
Product: buildroot
Version: 2012.08
Platform: PC
OS/Version: Windows
Status: NEW
Severity: critical
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: pankaj.dev at st.com
CC: buildroot at uclibc.org
Estimated Hours: 0.0

Created attachment 4688
--> https://bugs.busybox.net/attachment.cgi?id=4688
Patch to build alsa-utils statically

When building ALSA-Utils for static build, there is a compilation faliure. Added
a patch(attached) inside "package/multimedia\alsa-utils" directory to build properly.

Not able to log this bug in ALSA project, the web-site hangs. The bug also exists in ALSA 1.0.26(latest) included in buildroot 2012.11

The correction is not a generic, one. Not able to figure out how to modify the configure script such that it includes "-ldl" only for non-static builds

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 5774] Not able to build ALSA-Utils for static build

https://bugs.busybox.net/show_bug.cgi?id=5774

--- Comment #1 from Thomas De Schampheleire <[email protected]> 2014-02-07 12:55:56 UTC --- Hi,

Could you provide a config file that exhibits the problem?

FYI, a similar problem was reported on alsa-lib on the alsa mailing list a while back. A patch was then added to alsa-lib upstream to add --with-dl / without-dl switches to the configure script:
http://www.spinics.net/lists/alsa-devel/msg06454.html

In any case, the patch attached to this bug report is not ok: it would remove -ldl unconditionally, even if shared libraries were requested.

Thanks,
Thomas

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#2 lore raw

[Buildroot] [Bug 5774] Not able to build ALSA-Utils for static build

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=5774

--- Comment #2 from Vicente Olivert Riera <[email protected]> 2014-02-21 14:34:49 UTC --- (In reply to comment #1)

Quoted 2 lines

In any case, the patch attached to this bug report is not ok: it would remove -ldl unconditionally, even if shared libraries were requested.

Hi Thomas,

even if you remove -ldl from configure it will still failing. I have tried it.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#3 lore raw

[Buildroot] [Bug 5774] Not able to build ALSA-Utils for static build

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=5774

Thomas De Schampheleire <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #3 from Thomas De Schampheleire <[email protected]> 2014-02-23 14:43:27 UTC --- Although the problem can be solved with a patch like
http://patchwork.ozlabs.org/patch/319707/, we do not like to have such feature
patches in buildroot without them being accepted upstream.
Please discuss the situation upstream on the alsa-devel mailing list. If the
patch can be accepted there, the buildroot build can be fixed with a version
bump.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.