mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: John Graham <john.graham@codethink.co.uk>
To: ptxdist@pengutronix.de
Subject: [ptxdist] Building x86_64 without host libs (e.g. zlib)
Date: Fri, 31 Jan 2025 15:41:05 +0000	[thread overview]
Message-ID: <acdfa5e1-e715-4529-af87-1aa66a463e1c@codethink.co.uk> (raw)

I'm trying to build an x86_64 toolchain that's independent of the host. 
By default in the ptxconfigs/x86_64-unknown-linux-gnu_gcc config, it has 
e.g. `PTXCONF_HOST_SYSTEM_ZLIB=y`. I expected I could set this to `=n`, 
but when I do that, `ptxdist go` fails with:

```

ptxdist: error: 'host-system-zlib' is not selected.
ptxdist: error: This can happen if the ptxconfig is outdated or
ptxdist: error: the package is disabled for the current architecture

```

Can anyone tell me if this is the proper approach to disabling use of 
the host libraries, and/or what I'm doing wrong? Any help appreciated!

-- 
John Graham (he/him)
Software Engineer

Codethink Ltd
3rd Floor Dale House
35 Dale Street
Manchester
M1 2HF
United Kingdom

Codethink delivers cutting edge open source design, development and integration services.

http://codethink.co.uk
Office: 0161 236 5575




             reply	other threads:[~2025-01-31 15:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-31 15:41 John Graham [this message]
2025-02-02 11:42 ` Michael Olbrich
2025-02-03  8:37   ` John Graham

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=acdfa5e1-e715-4529-af87-1aa66a463e1c@codethink.co.uk \
    --to=john.graham@codethink.co.uk \
    --cc=ptxdist@pengutronix.de \
    /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