Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Mike Looijmans <mike.looijmans@topic.nl>
To: openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] Fail to compile zlib for 32-bit ARM
Date: Wed, 5 Aug 2026 11:21:21 +0200	[thread overview]
Message-ID: <0f67a28b-d316-4fb4-b7e7-069a44dbca18@topic.nl> (raw)
In-Reply-To: <18C8DAA25FC16448.3417489@lists.openembedded.org>

Ah, after a lot of searching and debugging, finally found the cause.

Some old config file was setting  FULL_OPTIMIZATION:pn-zlib  and added flags 
that caused the failure below.

M.

On 8/5/26 10:13, Mike Looijmans via lists.openembedded.org wrote:
> Using current OE wrynose branch on Ubuntu 22 LTS.
>
> Everything appears fine until it gets to compiling "gzip", which fails with 
> the cryptic error trace below. Searching leads me to this page which has 
> almost identical output (apart from the version), but there's apparently no 
> navigation from there to whatever the solution must have been:
>
> https://errors.yoctoproject.org/Errors/Details/852396/
>
> I suspect the real issue is that somehow the ARM compiler dislikes whatever 
> gzit is feeding it. However, it's such a common embedded platform that I 
> can't imagine that I'd be the only one in the world to bump against this.
>
> The error I get now is:
>
> DEBUG: Executing python function extend_recipe_sysroot
> NOTE: Direct dependencies are 
> ['/.../oe-core/meta/recipes-core/glibc/glibc_2.43.bb:do_populate_sysroot', 
> '/.../oe-core/meta/recipes-devtools/gcc/gcc-cross_15.3.bb:do_populate_sysroot', 
> '/.../oe-core/meta/recipes-devtools/gcc/gcc-runtime_15.3.bb:do_populate_sysroot', 
> '/.../oe-core/meta/recipes-devtools/quilt/quilt-native_0.69.bb:do_populate_sysroot', 
> 'virtual:native:/.../oe-core/meta/recipes-devtools/patch/patch_2.8.bb:do_populate_sysroot', 
> 'virtual:native:/.../oe-core/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot'] 
>
> NOTE: Installed into sysroot: []
> NOTE: Skipping as already exists in sysroot: ['gettext-minimal-native', 
> 'glibc', 'binutils-cross-arm', 'gcc-cross-arm', 'gcc-runtime', 'libgcc', 
> 'libtool-native', 'm4-native', 'quilt-native', 'texinfo-dummy-native', 
> 'linux-libc-headers', 'zlib-native', 'flex-native', 'gnu-config-native', 
> 'patch-native', 'pseudo-native', 'xz-native', 'zstd-native', 'attr-native', 
> 'gmp-native', 'libmpc-native', 'mpfr-native', 'sqlite3-native']
> DEBUG: Python function extend_recipe_sysroot finished
> DEBUG: Executing shell function do_configure
> Compiler error reporting is too harsh for 
> /.../build/tmp/work/cortexa9t2hf-neon-oe-linux-gnueabi/zlib/1.3.2/sources/zlib-1.3.2/configure 
> (perhaps remove -Werror).
> ** 
> /.../build/tmp/work/cortexa9t2hf-neon-oe-linux-gnueabi/zlib/1.3.2/sources/zlib-1.3.2/configure 
> aborting.
> WARNING: 
> /.../build/tmp/work/cortexa9t2hf-neon-oe-linux-gnueabi/zlib/1.3.2/temp/run.do_configure.817951:133 
> exit 1 from 'LDCONFIG=true 
> /.../build/tmp/work/cortexa9t2hf-neon-oe-linux-gnueabi/zlib/1.3.2/sources/zlib-1.3.2/configure 
> --prefix=/usr --shared --libdir=/usr/lib --uname=GNU'
> WARNING: Backtrace (BB generated script):
>         #1: do_configure, 
> /.../build/tmp/work/cortexa9t2hf-neon-oe-linux-gnueabi/zlib/1.3.2/temp/run.do_configure.817951, 
> line 133
>         #2: main, 
> /.../build/tmp/work/cortexa9t2hf-neon-oe-linux-gnueabi/zlib/1.3.2/temp/run.do_configure.817951, 
> line 137
> ~
>
>
>




           reply	other threads:[~2026-08-05  9:21 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <18C8DAA25FC16448.3417489@lists.openembedded.org>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0f67a28b-d316-4fb4-b7e7-069a44dbca18@topic.nl \
    --to=mike.looijmans@topic.nl \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox