All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 13121] New: wpa_supplicant fails to build without libopenssl enabled
@ 2020-07-29 21:56 bugzilla at busybox.net
  2020-07-29 22:00 ` [Buildroot] [Bug 13121] " bugzilla at busybox.net
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2020-07-29 21:56 UTC (permalink / raw)
  To: buildroot

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

            Bug ID: 13121
           Summary: wpa_supplicant fails to build without libopenssl
                    enabled
           Product: buildroot
           Version: 2020.05.1
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: mstarr at hedonline.com
                CC: buildroot at uclibc.org
  Target Milestone: ---

I am building with the ARM 2019.12 external toolchain for an ARM cortex-A7
processor.  When trying to build wpa_supplicant without libopenssl enabled, the
build failed with the following errors:

/home/workspace/PM-04H-Display_buildroot-update/mfgtool-build/host/opt/ext-toolchain/bin/../lib/gcc/arm-none-linux-gnueabihf/9.2.1/../../../../arm-none-linux-gnueabihf/bin/ld:
../src/eap_peer/eap_teap.o: in function `eap_teap_decrypt':
eap_teap.c:(.text+0x1af8): undefined reference to `tls_get_tls_unique'
/home/workspace/PM-04H-Display_buildroot-update/mfgtool-build/host/opt/ext-toolchain/bin/../lib/gcc/arm-none-linux-gnueabihf/9.2.1/../../../../arm-none-linux-gnueabihf/bin/ld:
../src/eap_peer/eap_teap.o: in function `eap_teap_process':
eap_teap.c:(.text+0x2624): undefined reference to
`tls_connection_get_cipher_suite'
/home/workspace/PM-04H-Display_buildroot-update/mfgtool-build/host/opt/ext-toolchain/bin/../lib/gcc/arm-none-linux-gnueabihf/9.2.1/../../../../arm-none-linux-gnueabihf/bin/ld:
../src/eap_common/eap_teap_common.o: in function `eap_teap_derive_eap_msk':
eap_teap_common.c:(.text+0x1a0): undefined reference to `tls_prf_sha256'
/home/workspace/PM-04H-Display_buildroot-update/mfgtool-build/host/opt/ext-toolchain/bin/../lib/gcc/arm-none-linux-gnueabihf/9.2.1/../../../../arm-none-linux-gnueabihf/bin/ld:
../src/eap_common/eap_teap_common.o: in function `eap_teap_derive_eap_emsk':
eap_teap_common.c:(.text+0x20c): undefined reference to `tls_prf_sha256'
/home/workspace/PM-04H-Display_buildroot-update/mfgtool-build/host/opt/ext-toolchain/bin/../lib/gcc/arm-none-linux-gnueabihf/9.2.1/../../../../arm-none-linux-gnueabihf/bin/ld:
../src/eap_common/eap_teap_common.o: in function
`eap_teap_derive_cmk_basic_pw_auth':
eap_teap_common.c:(.text+0x290): undefined reference to `tls_prf_sha256'
/home/workspace/PM-04H-Display_buildroot-update/mfgtool-build/host/opt/ext-toolchain/bin/../lib/gcc/arm-none-linux-gnueabihf/9.2.1/../../../../arm-none-linux-gnueabihf/bin/ld:
../src/eap_common/eap_teap_common.o: in function `eap_teap_derive_imck':
eap_teap_common.c:(.text+0x3b8): undefined reference to `tls_prf_sha256'
/home/workspace/PM-04H-Display_buildroot-update/mfgtool-build/host/opt/ext-toolchain/bin/../lib/gcc/arm-none-linux-gnueabihf/9.2.1/../../../../arm-none-linux-gnueabihf/bin/ld:
eap_teap_common.c:(.text+0x4f4): undefined reference to `tls_prf_sha256'
/home/workspace/PM-04H-Display_buildroot-update/mfgtool-build/host/opt/ext-toolchain/bin/../lib/gcc/arm-none-linux-gnueabihf/9.2.1/../../../../arm-none-linux-gnueabihf/bin/ld:
../src/eap_common/eap_teap_common.o:eap_teap_common.c:(.text+0x544): more
undefined references to `tls_prf_sha256' follow
collect2: error: ld returned 1 exit status
Makefile:1903: recipe for target 'wpa_supplicant' failed
make[3]: *** [wpa_supplicant] Error 1
package/pkg-generic.mk:266: recipe for target
'/home/workspace/PM-04H-Display_buildroot-update/mfgtool-build/build/wpa_supplicant-2.9/.stamp_built'
failed
make[2]: ***
[/home/workspace/PM-04H-Display_buildroot-update/mfgtool-build/build/wpa_supplicant-2.9/.stamp_built]
Error 2
Makefile:84: recipe for target '_all' failed
make[1]: *** [_all] Error 2
make[1]: Leaving directory
'/home/workspace/PM-04H-Display_buildroot-update/buildroot-2020.05.1'
heldk-4/Makefile:334: recipe for target 'mfgtool' failed
make: *** [mfgtool] Error 1


When the build is tried again with libopenssl enabled, the build completes
successfully.  I attached the buildroot configuration that does not have
libopenssl enabled that resulted in a failure.  There are several custom
external options added that will need to be removed to test building.

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

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

* [Buildroot] [Bug 13121] wpa_supplicant fails to build without libopenssl enabled
  2020-07-29 21:56 [Buildroot] [Bug 13121] New: wpa_supplicant fails to build without libopenssl enabled bugzilla at busybox.net
@ 2020-07-29 22:00 ` bugzilla at busybox.net
  2020-07-30  8:35 ` bugzilla at busybox.net
  2020-08-13 21:07 ` bugzilla at busybox.net
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2020-07-29 22:00 UTC (permalink / raw)
  To: buildroot

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

--- Comment #1 from Matthew Starr <mstarr@hedonline.com> ---
Here is the buildroot configuration file that causes the wpa_supplication
package to fail to build:

https://pastebin.com/42J2BuLW

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

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

* [Buildroot] [Bug 13121] wpa_supplicant fails to build without libopenssl enabled
  2020-07-29 21:56 [Buildroot] [Bug 13121] New: wpa_supplicant fails to build without libopenssl enabled bugzilla at busybox.net
  2020-07-29 22:00 ` [Buildroot] [Bug 13121] " bugzilla at busybox.net
@ 2020-07-30  8:35 ` bugzilla at busybox.net
  2020-08-13 21:07 ` bugzilla at busybox.net
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2020-07-30  8:35 UTC (permalink / raw)
  To: buildroot

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

--- Comment #2 from Fabrice Fontaine <fontaine.fabrice@gmail.com> ---
This is a "known" issue, the following patch (which is not yet merged) should
fix your issue:
https://patchwork.ozlabs.org/project/buildroot/patch/20200108190439.459316-1-geomatsi at gmail.com/

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

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

* [Buildroot] [Bug 13121] wpa_supplicant fails to build without libopenssl enabled
  2020-07-29 21:56 [Buildroot] [Bug 13121] New: wpa_supplicant fails to build without libopenssl enabled bugzilla at busybox.net
  2020-07-29 22:00 ` [Buildroot] [Bug 13121] " bugzilla at busybox.net
  2020-07-30  8:35 ` bugzilla at busybox.net
@ 2020-08-13 21:07 ` bugzilla at busybox.net
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2020-08-13 21:07 UTC (permalink / raw)
  To: buildroot

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

Thomas Petazzoni <thomas.petazzoni@bootlin.com> changed:

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

--- Comment #3 from Thomas Petazzoni <thomas.petazzoni@bootlin.com> ---
Thanks! Fixed in commit bb27efbce75071d7c9b36bc5a896d166e01c1aa1

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

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

end of thread, other threads:[~2020-08-13 21:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-29 21:56 [Buildroot] [Bug 13121] New: wpa_supplicant fails to build without libopenssl enabled bugzilla at busybox.net
2020-07-29 22:00 ` [Buildroot] [Bug 13121] " bugzilla at busybox.net
2020-07-30  8:35 ` bugzilla at busybox.net
2020-08-13 21:07 ` 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.