All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 14256] New: Compiling with static libraries on s390x error
@ 2021-10-06 11:07 bugzilla
  2021-10-06 11:13 ` [Buildroot] [Bug 14256] " bugzilla
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bugzilla @ 2021-10-06 11:07 UTC (permalink / raw)
  To: buildroot

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

            Bug ID: 14256
           Summary: Compiling with static libraries on s390x error
           Product: buildroot
           Version: 2021.08
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: Other
          Assignee: unassigned@buildroot.uclibc.org
          Reporter: raul.cabello@suse.com
                CC: buildroot@uclibc.org
  Target Milestone: ---

Hello,

When I try to compile using static libraries with s390x as a target I get the
following error:
The directory that should contain system headers does not exist:
 
/usr/src/buildroot/output/per-package/host-gcc-final/host/s390x-buildroot-linux-gnu/sysroot/usr/include

My .config file is attached. These are the steps I did to generate my .config
file:

- make menuconfig
- Select Target -> Target Architecture -> s390x
- Select Build Options -> Libraries -> static only
- exit and save .config

Then if I run make with this config I get error I mentioned above.

It works fine if I select shared libraries instead of static.

Operating System: openSUSE Leap 15.3
Kernel: Linux 5.3.18-57-default
Architecture: x86-64

Thank you.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [Bug 14256] Compiling with static libraries on s390x error
  2021-10-06 11:07 [Buildroot] [Bug 14256] New: Compiling with static libraries on s390x error bugzilla
@ 2021-10-06 11:13 ` bugzilla
  2021-10-06 20:25 ` bugzilla
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla @ 2021-10-06 11:13 UTC (permalink / raw)
  To: buildroot

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

--- Comment #1 from Raul Cabello <raul.cabello@suse.com> ---
Created attachment 9106
  --> https://bugs.busybox.net/attachment.cgi?id=9106&action=edit
.config

.config file is bigger than 75KB, so I uploaded here
https://raw.githubusercontent.com/raulcabello/buildroot-config/main/config

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [Bug 14256] Compiling with static libraries on s390x error
  2021-10-06 11:07 [Buildroot] [Bug 14256] New: Compiling with static libraries on s390x error bugzilla
  2021-10-06 11:13 ` [Buildroot] [Bug 14256] " bugzilla
@ 2021-10-06 20:25 ` bugzilla
  2021-10-06 20:42 ` bugzilla
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla @ 2021-10-06 20:25 UTC (permalink / raw)
  To: buildroot

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

--- Comment #2 from Arnout Vandecappelle <arnout@mind.be> ---
That's because no libc is selected.

Only glibc has support for s390x, and glibc doesn't support static builds.

Buildroot should disallow static builds for s390x.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [Bug 14256] Compiling with static libraries on s390x error
  2021-10-06 11:07 [Buildroot] [Bug 14256] New: Compiling with static libraries on s390x error bugzilla
  2021-10-06 11:13 ` [Buildroot] [Bug 14256] " bugzilla
  2021-10-06 20:25 ` bugzilla
@ 2021-10-06 20:42 ` bugzilla
  2021-10-07  7:37 ` bugzilla
  2021-10-08 19:46 ` bugzilla
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla @ 2021-10-06 20:42 UTC (permalink / raw)
  To: buildroot

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

Arnout Vandecappelle <arnout@mind.be> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #3 from Arnout Vandecappelle <arnout@mind.be> ---
Patch sent:
https://patchwork.ozlabs.org/project/buildroot/patch/20211006204133.465875-1-arnout@mind.be/

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [Bug 14256] Compiling with static libraries on s390x error
  2021-10-06 11:07 [Buildroot] [Bug 14256] New: Compiling with static libraries on s390x error bugzilla
                   ` (2 preceding siblings ...)
  2021-10-06 20:42 ` bugzilla
@ 2021-10-07  7:37 ` bugzilla
  2021-10-08 19:46 ` bugzilla
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla @ 2021-10-07  7:37 UTC (permalink / raw)
  To: buildroot

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

--- Comment #4 from Raul Cabello <raul.cabello@suse.com> ---
ok, thank you for looking into this.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [Bug 14256] Compiling with static libraries on s390x error
  2021-10-06 11:07 [Buildroot] [Bug 14256] New: Compiling with static libraries on s390x error bugzilla
                   ` (3 preceding siblings ...)
  2021-10-07  7:37 ` bugzilla
@ 2021-10-08 19:46 ` bugzilla
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla @ 2021-10-08 19:46 UTC (permalink / raw)
  To: buildroot

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

--- Comment #5 from Mark Post <mpost@suse.com> ---
(In reply to Arnout Vandecappelle from comment #2)

I'm confused by your comment. Of course glibc supports building static
binaries, so you must mean something else is going on that makes this not work
with your project. Could you explain what that might be, please? Thanks.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2021-10-08 19:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-06 11:07 [Buildroot] [Bug 14256] New: Compiling with static libraries on s390x error bugzilla
2021-10-06 11:13 ` [Buildroot] [Bug 14256] " bugzilla
2021-10-06 20:25 ` bugzilla
2021-10-06 20:42 ` bugzilla
2021-10-07  7:37 ` bugzilla
2021-10-08 19:46 ` bugzilla

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.