From: ericonr <ericonr@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [WIP] linux5.11: try to build scripts/ for cross targets.
Date: Fri, 02 Apr 2021 21:03:27 +0200 [thread overview]
Message-ID: <20210402190327.kFlcBc9pjQnm5v_jTyy-x3z1GDvrKkBmoVG3JLz7TWs@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-29952@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 2104 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/29952#issuecomment-812667442
Comment:
I can't make it not rebuild `fixdep` using the new `HOSTCC`. One plan was to build it for host first, build the others programs and finally rebuild it for the target.
See `make -d` output:
```
Updating goal targets....
Considering target file '__build'.
File '__build' does not exist.
Considering target file 'scripts/basic/fixdep'.
Considering target file 'scripts/basic/fixdep.c'.
Looking for an implicit rule for 'scripts/basic/fixdep.c'.
Trying pattern rule with stem 'fixdep.c'.
Trying implicit prerequisite 'scripts/basic/fixdep.c_shipped'.
Trying pattern rule with stem 'fixdep.c'.
Trying implicit prerequisite 'scripts/basic/fixdep.c_shipped'.
Looking for a rule with intermediate file 'scripts/basic/fixdep.c_shipped'.
Avoiding implicit rule recursion.
No implicit rule found for 'scripts/basic/fixdep.c'.
Finished prerequisites of target file 'scripts/basic/fixdep.c'.
No need to remake target 'scripts/basic/fixdep.c'.
Considering target file 'FORCE'.
File 'FORCE' does not exist.
Finished prerequisites of target file 'FORCE'.
Must remake target 'FORCE'.
Successfully remade target file 'FORCE'.
Considering target file 'FORCE'.
File 'FORCE' was considered already.
Finished prerequisites of target file 'scripts/basic/fixdep'.
Prerequisite 'scripts/basic/fixdep.c' is older than target 'scripts/basic/fixdep'.
Prerequisite 'FORCE' of target 'scripts/basic/fixdep' does not exist.
Must remake target 'scripts/basic/fixdep'.
Putting child 0x55fc06c6f1c0 (scripts/basic/fixdep) PID 9052 on the chain.
Live child 0x55fc06c6f1c0 (scripts/basic/fixdep) PID 9052
HOSTCC scripts/basic/fixdep
/bin/sh: line 1: scripts/basic/fixdep: cannot execute binary file: Exec format error
```
I have no idea how to bypass this `FORCE` thing. `FORCE` is a `PHONY`, so it isn't even possible to temporarily create a file named FORCE.
next prev parent reply other threads:[~2021-04-02 19:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-02 15:41 [PR PATCH] " ericonr
2021-04-02 15:43 ` [PR PATCH] [Updated] " ericonr
2021-04-02 19:00 ` [WIP] " ericonr
2021-04-02 19:03 ` ericonr [this message]
2021-04-02 19:05 ` ericonr
2021-04-09 1:06 ` sgn
2021-06-24 14:05 ` ericonr
2021-06-24 14:05 ` [PR PATCH] [Closed]: " ericonr
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=20210402190327.kFlcBc9pjQnm5v_jTyy-x3z1GDvrKkBmoVG3JLz7TWs@z \
--to=ericonr@users.noreply.github.com \
--cc=ml@inbox.vuxu.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;
as well as URLs for NNTP newsgroup(s).