Skip to content

Compile error with system compiler (packaging) #23994

Open
@davlgd

Description

@davlgd

Describe the bug

Since v 0.4.9 I can't compile V on ARM anymore through my distribution package manager (Exherbo/Paludis) which needs to use system compiler in build process, I get this error:

signal 11: segmentation fault
make: *** [GNUmakefile:114: all] Error 139

Reproduction Steps

My compile command which fails within the packager (using Makefile and declaring the compiler with VFLAGS) is:

make -j12 local=1
aarch64-unknown-linux-gnueabi-cc -O3 -pipe -std=gnu99 -w -o v1 ./vc/v.c -lm -lpthread -Wl,-O1 -Wl,--as-needed || cmd/tools/cc_compilation_failed_non_windows.sh
./v1 -no-parallel -o v2 -cc aarch64-unknown-linux-gnueabi-cc cmd/v

Expected Behavior

The compile ends without error

Current Behavior

Compile commands lead to an error

Possible Solution

No response

Additional Information/Context

No response

V version

0.4.9
0.4.10

Environment details (OS name and version, etc.)

Exherbo/Paludis

https://gitlab.exherbo.org/davlgd/CleverCloud/-/tree/patch-1/packages/dev-lang/v?ref_type=heads

Note

You can use the 👍 reaction to increase the issue's priority for developers.

Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Arch: ARMBugs/feature requests, that are related to architecture ARM.BuildV build error on any OS/CPU architecture.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions