Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#1414 - mbedtls: building with ccache: /staging_dir/host/bin/ccache: invalid option -- 'd' #6367

Open
openwrt-bot opened this issue Mar 6, 2018 · 0 comments
Labels
flyspray toolchain pull request/issue with toolchain related changes

Comments

@openwrt-bot
Copy link

dreieck:

I am currently trying to compile OpenWRT for

CONFIG_TARGET_LANTIQ=Y
CONFIG_TARGET_LANTIQ_XWAY=Y
CONFIG_TARGET_lantiq_xway_DEVICE_arcadyan_arv752dpw22=y

I am using

CONFIG_DEVEL=y
CONFIG_CCACHE=y

I am building in the following way:

The build was carried out on a ''git clone git://github.com/openwrt/openwrt.git'', later brought up to date with a ''git pull'', with latest commit from 2018-03-05T10:44:20+01:00, commit hash 5cbd22b.

Into this ''git clone'' a previously generated .config seed, made previously by ''make menuconfig'' and ''./scripts/diffconfig.sh'', was copied over to ''./.config''.

From there on, the following commands were issued:

./scripts/feeds update -a
./scripts/feeds install -a
make -j1 V=s defconfig
make -j1 V=s download
make -j1 V=s IGNORE_ERRORS=m | tee make.log

When it comed to building mbedtls, there are the following lines of output which indicate something is wrong:

[...]
make[3]: [Makefile:75: /home/felics/download/router/OS/OpenWRT/source_build/source/batch_builds/2018-02-26_12-04-45_-custom-wo-pie_feeds-rooter-custom/build_dir/target-mips_24kc_musl/mbedtls-2.7.0/.configured_68b329da9893e34099c7d8ad5cb9c940] Error 123 (ignored)
[...]
/home/felics/download/router/OS/OpenWRT/source_build/source/batch_builds/2018-02-26_12-04-45
-_custom-wo-pie_feeds-rooter-custom/staging_dir/host/bin/ccache: invalid option -- 'd'
Usage:
ccache [options]
[...]

Build continues, (seemingliy) successfully: Indicated by the further output of ''make'', and issuing later a ''make -j1 V=s'' (i.e. without ''IGNORE_ERRORS=m''), does not bring this up again.

The toolchain (''./staging_dir/toolchain-*'') is ''mips_24kc_gcc-5.5.0_musl''.

Build is carried out on an x86_64 Arch Linux machine.

Attached are the following files:

  • ''.config-diffconfig-seed'': The .config-seed used for make defconfig,
  • ''.config'': The ''.config'' created by the make defconfig and used for the build,
  • ''mbedtls.log'': The pa[.config-diffconfig-seed.txt](https://github.com/openwrt/packages/files/1782373/default.config-diffconfig-rt of the output of ''make -j1 V=s IGNORE_ERRORS=m'' regarding building mbedtls,
  • ''make.log.stdout.xz'': For your interest, the full output of ''make -j1 V=s IGNORE_ERRORS=m'' (.xz compressed; decompresses to about 29 MB) (Note that at the end another build error occurs, which seems not to be related to embedtls),
  • ''feeds.conf'': The ''feeds.conf'' used.

(Note that I just forgot to capture stderr too, but the error messages seem to be present in stdout. Since a full rebuild takes a day on my machine, I won't do that if not necessary.)

@aparcar aparcar added the toolchain pull request/issue with toolchain related changes label Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray toolchain pull request/issue with toolchain related changes
Projects
None yet
Development

No branches or pull requests

2 participants