All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 13356] New: libabseil-cpp: not building for raspberry pi
@ 2020-12-04  9:32 bugzilla at busybox.net
  2020-12-04 18:15 ` [Buildroot] [Bug 13356] " bugzilla at busybox.net
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2020-12-04  9:32 UTC (permalink / raw)
  To: buildroot

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

            Bug ID: 13356
           Summary: libabseil-cpp: not building for raspberry pi
           Product: buildroot
           Version: 2020.11
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: buildroot at heine.tech
                CC: buildroot at uclibc.org
  Target Milestone: ---

I just stumbled across this but currently don't have the time to investigate
further.

libabseil-cpp fails to compile for raspberry pi targets with the following
error:

In file included from
/build/build/build/libabseil-cpp-20200923.2/absl/random/internal/randen_hwaes.cc:229:
/build/build/host/opt/ext-toolchain/lib/gcc/arm-none-linux-gnueabihf/9.2.1/include/arm_neon.h:
In function 'Vector128 {anonymous}::AesRound(const Vector128&, const
Vector128&)':
/build/build/host/opt/ext-toolchain/lib/gcc/arm-none-linux-gnueabihf/9.2.1/include/arm_neon.h:16925:1:
error: inlining failed in call to always_inline 'uint8x16_t
vaesmcq_u8(uint8x16_t)': target specific option mismatch
16925 | vaesmcq_u8 (uint8x16_t __data)
      | ^~~~~~~~~~
/build/build/build/libabseil-cpp-20200923.2/absl/random/internal/randen_hwaes.cc:255:20:
note: called from here
  255 |   return vaesmcq_u8(vaeseq_u8(state, uint8x16_t{})) ^ round_key;
      |          ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from
/build/build/build/libabseil-cpp-20200923.2/absl/random/internal/randen_hwaes.cc:229:
/build/build/host/opt/ext-toolchain/lib/gcc/arm-none-linux-gnueabihf/9.2.1/include/arm_neon.h:16911:1:
error: inlining failed in call to always_inline 'uint8x16_t
vaeseq_u8(uint8x16_t, uint8x16_t)': target specific option mismatch
16911 | vaeseq_u8 (uint8x16_t __data, uint8x16_t __key)
      | ^~~~~~~~~
/build/build/build/libabseil-cpp-20200923.2/absl/random/internal/randen_hwaes.cc:255:20:
note: called from here
  255 |   return vaesmcq_u8(vaeseq_u8(state, uint8x16_t{})) ^ round_key;
      |          ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[4]: ***
[absl/random/CMakeFiles/random_internal_randen_hwaes_impl.dir/build.make:63:
absl/random/CMakeFiles/random_internal_randen_hwaes_impl.dir/internal/randen_hwaes.cc.o]
Error 1
make[3]: *** [CMakeFiles/Makefile2:2115:
absl/random/CMakeFiles/random_internal_randen_hwaes_impl.dir/all] Error 2
make[3]: *** Waiting for unfinished jobs....



It is already reported upstream at
https://github.com/abseil/abseil-cpp/issues/662 (on comment points out it is
also not compiling for arm/rpi3)

-- 
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 13356] libabseil-cpp: not building for raspberry pi
  2020-12-04  9:32 [Buildroot] [Bug 13356] New: libabseil-cpp: not building for raspberry pi bugzilla at busybox.net
@ 2020-12-04 18:15 ` bugzilla at busybox.net
  2020-12-04 18:18 ` bugzilla at busybox.net
  2022-07-27 18:34 ` bugzilla
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2020-12-04 18:15 UTC (permalink / raw)
  To: buildroot

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

--- Comment #1 from Peter Seiderer <ps.report@gmx.net> ---
Created attachment 8696
  --> https://bugs.busybox.net/attachment.cgi?id=8696&action=edit
HACK: package/libabseil-cpp: disable hardware accelaration on arm

Add patch/hack to disable hardware acceleration for libabseil-cpp
unconditionaly in case compiled for arm target.

-- 
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 13356] libabseil-cpp: not building for raspberry pi
  2020-12-04  9:32 [Buildroot] [Bug 13356] New: libabseil-cpp: not building for raspberry pi bugzilla at busybox.net
  2020-12-04 18:15 ` [Buildroot] [Bug 13356] " bugzilla at busybox.net
@ 2020-12-04 18:18 ` bugzilla at busybox.net
  2022-07-27 18:34 ` bugzilla
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2020-12-04 18:18 UTC (permalink / raw)
  To: buildroot

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

--- Comment #2 from Peter Seiderer <ps.report@gmx.net> ---
Until a proper (upstream?) fix you can use the attached patch/hack to disable
hardware acceleration for random handling unconditionally in case compiled for
arm target...

-- 
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 13356] libabseil-cpp: not building for raspberry pi
  2020-12-04  9:32 [Buildroot] [Bug 13356] New: libabseil-cpp: not building for raspberry pi bugzilla at busybox.net
  2020-12-04 18:15 ` [Buildroot] [Bug 13356] " bugzilla at busybox.net
  2020-12-04 18:18 ` bugzilla at busybox.net
@ 2022-07-27 18:34 ` bugzilla
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla @ 2022-07-27 18:34 UTC (permalink / raw)
  To: buildroot

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

Michael Nosthoff <buildroot@heine.tech> changed:

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

--- Comment #3 from Michael Nosthoff <buildroot@heine.tech> ---
the github issued set this to resolved since 20211102. See
https://github.com/abseil/abseil-cpp/issues/662

-- 
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] 4+ messages in thread

end of thread, other threads:[~2022-07-27 18:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-04  9:32 [Buildroot] [Bug 13356] New: libabseil-cpp: not building for raspberry pi bugzilla at busybox.net
2020-12-04 18:15 ` [Buildroot] [Bug 13356] " bugzilla at busybox.net
2020-12-04 18:18 ` bugzilla at busybox.net
2022-07-27 18:34 ` 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.