Description
While packaging the project in https://github.com/LLT21/dotnet9.git with the command docker build --rm -f test.dockerfile . -t img-test, the following error occurs with .NET 9 preview:

Reproduction Steps
- Clone the project in https://github.com/LLT21/dotnet9.git on a Mac M1 (ARM)
- Build the docker file with:
docker build --rm -f test.dockerfile . -t img-test
Expected behavior
With dotnet version 8 this compiles well in aot; would like this also to work in dotnet 9
Actual behavior
In dotnet 9 there is this error: 12.32 /usr/bin/ld.bfd:obj/Release/net9.0/linux-arm64/native/test.exports:3: syntax error in VERSION script
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
No response
Description
While packaging the project in https://github.com/LLT21/dotnet9.git with the command
docker build --rm -f test.dockerfile . -t img-test, the following error occurs with .NET 9 preview:Reproduction Steps
docker build --rm -f test.dockerfile . -t img-testExpected behavior
With dotnet version 8 this compiles well in aot; would like this also to work in dotnet 9
Actual behavior
In dotnet 9 there is this error:
12.32 /usr/bin/ld.bfd:obj/Release/net9.0/linux-arm64/native/test.exports:3: syntax error in VERSION scriptRegression?
No response
Known Workarounds
No response
Configuration
No response
Other information
No response