Skip to content

make[2]: /bin/sh: Argument list too long #289

@zoujiaying1995

Description

@zoujiaying1995

I am encountering an Argument list too long error during the build process. The error occurs while running make and appears to be related to a script or command being passed too many arguments. Below is the relevant portion of the build output:

Consolidate compiler generated dependencies of target f07bfc66-958c-4a15-99c0-260e4e7375dd.plugin
Consolidate compiler generated dependencies of target xtest
[  5%] Built target f07bfc66-958c-4a15-99c0-260e4e7375dd.plugin
[100%] Built target xtest
make[2]: /bin/sh: Argument list too long
make[2]: *** [package/pkg-generic.mk:294: /path/to/build/optee_test_ext-1.0/.stamp_built] Error 127
make[1]: *** [Makefile:23: _all] Error 2
make[1]: Leaving directory '/path/to/buildroot'
make: *** [common.mk:336: buildroot] Error 2

Steps to Reproduce

$ repo init -u https://github.com/OP-TEE/manifest.git -m qemu_v8.xml -b 4.0.0
$ repo sync
$ cd build
$ make toolchains
$ make run

Any guidance on how to resolve this issue would be greatly appreciated. Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions