* [Buildroot] [Bug 10326] New: mesa3d package fails to build when BR2_SHARED_STATIC_LIBS=y
@ 2017-09-25 12:49 bugzilla at busybox.net
2017-09-25 18:53 ` [Buildroot] [Bug 10326] " bugzilla at busybox.net
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2017-09-25 12:49 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=10326
Bug ID: 10326
Summary: mesa3d package fails to build when
BR2_SHARED_STATIC_LIBS=y
Product: buildroot
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: frederic.mathieu at dualis.com
CC: buildroot at uclibc.org
Target Milestone: ---
Created attachment 7236
--> https://bugs.busybox.net/attachment.cgi?id=7236&action=edit
compilation log
Hi
with BR2_SHARED_STATIC_LIBS=y, mesa3d package compilation exits with error 2.
the compilation is successfully completed if I add the following lines to
makefile (package/mesa3d/mesa3d.mk) :
ifeq ($(BR2_SHARED_STATIC_LIBS),y)
MESA3D_CONF_OPTS += --disable-static
endif
bug found on versions 2017.08, 2017.05.x
regards
Fredric MATHIEU
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] [Bug 10326] mesa3d package fails to build when BR2_SHARED_STATIC_LIBS=y
2017-09-25 12:49 [Buildroot] [Bug 10326] New: mesa3d package fails to build when BR2_SHARED_STATIC_LIBS=y bugzilla at busybox.net
@ 2017-09-25 18:53 ` bugzilla at busybox.net
2017-09-26 7:06 ` bugzilla at busybox.net
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2017-09-25 18:53 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=10326
Bernd Kuhls <bernd.kuhls@t-online.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at buildroot.uclibc |bernd.kuhls at t-online.de
|.org |
Status|NEW |ASSIGNED
--- Comment #1 from Bernd Kuhls <bernd.kuhls@t-online.de> ---
Fixed with http://patchwork.ozlabs.org/patch/818330/
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] [Bug 10326] mesa3d package fails to build when BR2_SHARED_STATIC_LIBS=y
2017-09-25 12:49 [Buildroot] [Bug 10326] New: mesa3d package fails to build when BR2_SHARED_STATIC_LIBS=y bugzilla at busybox.net
2017-09-25 18:53 ` [Buildroot] [Bug 10326] " bugzilla at busybox.net
@ 2017-09-26 7:06 ` bugzilla at busybox.net
2017-09-26 16:19 ` bugzilla at busybox.net
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2017-09-26 7:06 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=10326
--- Comment #2 from Frederic MATHIEU <frederic.mathieu@dualis.com> ---
This patch no longer allows you to compile the package if the configuration
uses BR2_SHARED_STATIC_LIBS (static and shared). Some static libraries are
wished for others packages.
this is not the solution to use.
Regards
Frederic MATHIEU
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] [Bug 10326] mesa3d package fails to build when BR2_SHARED_STATIC_LIBS=y
2017-09-25 12:49 [Buildroot] [Bug 10326] New: mesa3d package fails to build when BR2_SHARED_STATIC_LIBS=y bugzilla at busybox.net
2017-09-25 18:53 ` [Buildroot] [Bug 10326] " bugzilla at busybox.net
2017-09-26 7:06 ` bugzilla at busybox.net
@ 2017-09-26 16:19 ` bugzilla at busybox.net
2017-09-27 8:13 ` bugzilla at busybox.net
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2017-09-26 16:19 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=10326
--- Comment #3 from Bernd Kuhls <bernd.kuhls@t-online.de> ---
(In reply to Frederic MATHIEU from comment #2)
Why?
BR2_SHARED_STATIC_LIBS=y means
https://git.buildroot.net/buildroot/tree/Config.in#n655
"Build both shared and static libraries".
Mesa3d does not support this combination:
https://cgit.freedesktop.org/mesa/mesa/tree/configure.ac?h=17.2#n490
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] [Bug 10326] mesa3d package fails to build when BR2_SHARED_STATIC_LIBS=y
2017-09-25 12:49 [Buildroot] [Bug 10326] New: mesa3d package fails to build when BR2_SHARED_STATIC_LIBS=y bugzilla at busybox.net
` (2 preceding siblings ...)
2017-09-26 16:19 ` bugzilla at busybox.net
@ 2017-09-27 8:13 ` bugzilla at busybox.net
2017-09-27 19:07 ` bugzilla at busybox.net
2017-11-11 22:40 ` bugzilla at busybox.net
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2017-09-27 8:13 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=10326
--- Comment #4 from Frederic MATHIEU <frederic.mathieu@dualis.com> ---
I do understand that the package mesa3d does not support static libraries, but
others packages do. BR2_SHARED_STATIC_LIBS is global to all buildroot packages.
So if the Mesa package does support this feature, it must be deactivated only
for it. This is why the following code works very well:
ifeq ($(BR2_SHARED_STATIC_LIBS),y)
MESA3D_CONF_OPTS += --disable-static
endif
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] [Bug 10326] mesa3d package fails to build when BR2_SHARED_STATIC_LIBS=y
2017-09-25 12:49 [Buildroot] [Bug 10326] New: mesa3d package fails to build when BR2_SHARED_STATIC_LIBS=y bugzilla at busybox.net
` (3 preceding siblings ...)
2017-09-27 8:13 ` bugzilla at busybox.net
@ 2017-09-27 19:07 ` bugzilla at busybox.net
2017-11-11 22:40 ` bugzilla at busybox.net
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2017-09-27 19:07 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=10326
--- Comment #5 from Arnout Vandecappelle <arnout@mind.be> ---
I agree with Frederic, there is no reason to exclude mesa3d, since it builds
fine under SHARED_STATIC with the additional --disable-static option.
SHARED_STATIC is meant for building a shared-library based rootfs and still
allowing some (custom?) packages to link statically. So if some package is
shared-only (or static-only, for that matter), it should still be possible to
build it.
Frederic, would you send your proposal as a properly formatted patch to the
mailing list?
https://buildroot.org/downloads/manual/manual.html#submitting-patches
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] [Bug 10326] mesa3d package fails to build when BR2_SHARED_STATIC_LIBS=y
2017-09-25 12:49 [Buildroot] [Bug 10326] New: mesa3d package fails to build when BR2_SHARED_STATIC_LIBS=y bugzilla at busybox.net
` (4 preceding siblings ...)
2017-09-27 19:07 ` bugzilla at busybox.net
@ 2017-11-11 22:40 ` bugzilla at busybox.net
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2017-11-11 22:40 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=10326
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED
--- Comment #6 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
Fixed by
https://git.buildroot.org/buildroot/commit/?id=dd09d500aa6972808b2549e4b8c7fa4e396ca91f.
Thanks!
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2017-11-11 22:40 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-25 12:49 [Buildroot] [Bug 10326] New: mesa3d package fails to build when BR2_SHARED_STATIC_LIBS=y bugzilla at busybox.net
2017-09-25 18:53 ` [Buildroot] [Bug 10326] " bugzilla at busybox.net
2017-09-26 7:06 ` bugzilla at busybox.net
2017-09-26 16:19 ` bugzilla at busybox.net
2017-09-27 8:13 ` bugzilla at busybox.net
2017-09-27 19:07 ` bugzilla at busybox.net
2017-11-11 22:40 ` bugzilla at busybox.net
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.