Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 11856] New: Busybox static build fails due to missing libtirpc
@ 2019-05-10  3:59 bugzilla at busybox.net
  2019-05-10  7:29 ` [Buildroot] [Bug 11856] " bugzilla at busybox.net
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla at busybox.net @ 2019-05-10  3:59 UTC (permalink / raw)
  To: buildroot

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

            Bug ID: 11856
           Summary: Busybox static build fails due to missing libtirpc
           Product: buildroot
           Version: 2019.02.2
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: pmorici at dev295.com
                CC: buildroot at uclibc.org
  Target Milestone: ---

The busybox build fails if the CONFIG_STATIC option is selected in the busybox
config.  The failure is caused by a missing static library libtirpc.

The libtirpc package doesn't build a static version by default.  The
--enable-static option needs to be added to LIBTIRPC_CONF_OPTS in
package/libtirpc/libtirpc.mk

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] [Bug 11856] Busybox static build fails due to missing libtirpc
  2019-05-10  3:59 [Buildroot] [Bug 11856] New: Busybox static build fails due to missing libtirpc bugzilla at busybox.net
@ 2019-05-10  7:29 ` bugzilla at busybox.net
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla at busybox.net @ 2019-05-10  7:29 UTC (permalink / raw)
  To: buildroot

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

Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #1 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
This is not a bug. By default Buildroot has the option BR2_SHARED_LIBS=y, which
means "build only shared libraries, link everything dynamically".

If you set BR2_STATIC_LIBS=y instead, then only static libraries will be built,
and everything will be statically linked.

If you set BR2_SHARED_STATIC_LIBS=y, then both static and shared libraries will
be built (when possible: some sub-par build systems only allow building either
static or shared libs, not both), and programs will generally be linked
dynamically, unless their build system explicitly links statically.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-05-10  7:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-10  3:59 [Buildroot] [Bug 11856] New: Busybox static build fails due to missing libtirpc bugzilla at busybox.net
2019-05-10  7:29 ` [Buildroot] [Bug 11856] " bugzilla at busybox.net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox