All of lore.kernel.org
 help / color / mirror / Atom feed
* dunfell gcc-sanitizers-arm-8.3 fails to build
@ 2020-07-31 15:35 Ryan Harkin
  2020-07-31 20:58 ` [yocto] " Khem Raj
  2020-08-01  6:50 ` Sumit Garg
  0 siblings, 2 replies; 10+ messages in thread
From: Ryan Harkin @ 2020-07-31 15:35 UTC (permalink / raw)
  To: yocto
  Cc: Sumit Garg, Ralph Siemsen, Jon.Mason, Nicolas Dechesne, openembedded

[-- Attachment #1: Type: text/plain, Size: 1279 bytes --]

Hello,

I'm migrating from Warrior to Dunfell and I'm getting a curious build
failure in gcc-sanitizers.

Here's the full gory detail:
    https://pastebin.ubuntu.com/p/nh4cDKMvgS/

However, the main error is this:

| In file included from
../../../../../../../../../work-shared/gcc-arm-8.3-r2019.03/git/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:193:
|
../../../../../../../../../work-shared/gcc-arm-8.3-r2019.03/git/libsanitizer/sanitizer_common/sanitizer_internal_defs.h:317:72:
error: size of array 'assertion_failed__1152' is negative
|      typedef char IMPL_PASTE(assertion_failed_##_, line)[2*(int)(pred)-1]

I have no idea where to begin with this. I don't even know why
gcc-sanitizers is included in the build, what it does, or why I need it.
I'm building an image with dev packages and gcc, so I guess that's why.

I've hacked meta-arm to patch sanitizer_platform_limits_posix.cc to null
out the macros and that builds fine. I'm sure it won't work, should someone
want to use it, mind you.

Is there something obvious that I should be doing as part of a Warrior ->
Dunfell migration to get this to work?

note: Warrior used meta-linaro-toolchain and for Dunfell, it's moved to
meta-arm-toolchain.

Regards,
Ryan.

[-- Attachment #2: Type: text/html, Size: 1635 bytes --]

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

end of thread, other threads:[~2020-08-02  7:30 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-31 15:35 dunfell gcc-sanitizers-arm-8.3 fails to build Ryan Harkin
2020-07-31 20:58 ` [yocto] " Khem Raj
2020-08-01  9:09   ` Ryan Harkin
2020-08-01  9:26     ` Ryan Harkin
2020-08-01 14:10       ` Sumit Garg
     [not found]       ` <16272A3CFA65FC0B.22952@lists.yoctoproject.org>
2020-08-01 14:19         ` Sumit Garg
2020-08-02  7:30           ` Ryan Harkin
2020-08-01  6:50 ` Sumit Garg
2020-08-01  9:11   ` Ryan Harkin
2020-08-01 14:07     ` Sumit Garg

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.