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

aspnetcore build failing in arm64 and PGO with link time error #60999

Closed
mmitche opened this issue Mar 18, 2025 · 1 comment
Closed

aspnetcore build failing in arm64 and PGO with link time error #60999

mmitche opened this issue Mar 18, 2025 · 1 comment
Assignees
Labels
area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework

Comments

@mmitche
Copy link
Member

mmitche commented Mar 18, 2025

https://dev.azure.com/dnceng/internal/_build/results?buildId=2666323&view=logs&j=19a960bc-8d4f-5e80-bd27-7dc57cce51ff&t=74518be8-137d-5bb3-fcab-954773b7b47d&l=4059

LINK : fatal error LNK1181: cannot open input file 'D:\a\_work\1\s\src\aspnetcore\artifacts\obj\\AspNetCoreModuleForwarders\..\AspNetCoreModuleShim\x64\Release\aspnetcoremodule.res' [D:\a\_work\1\s\src\aspnetcore\src\Installers\Windows\AspNetCoreModule-Setup\Forwarders\build.proj]
##[error]LINK(0,0): error LNK1181: (NETCORE_ENGINEERING_TELEMETRY=Build) cannot open input file 'D:\a\_work\1\s\src\aspnetcore\artifacts\obj\\AspNetCoreModuleForwarders\..\AspNetCoreModuleShim\x64\Release\aspnetcoremodule.res'

Seems to have shown up around 3/17 midday

@mmitche mmitche moved this to Ready in .NET Unified Build Mar 18, 2025
@dotnet-issue-labeler dotnet-issue-labeler bot added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label Mar 18, 2025
@wtgodbe wtgodbe self-assigned this Mar 18, 2025
@wtgodbe
Copy link
Member

wtgodbe commented Mar 18, 2025

CC @halter73 this is related to the work to bring up arm64 hosting bundle support - I'm working around it by temporarily disabling

<Target Name="BeforeBuild" Condition="'$(Platform)' == 'arm64'">
<MSBuild Projects="..\Forwarders\build.proj" />
</Target>
in the VMR, but for Preview4 I'll probably move the Arm64 build of that project into Build Pass 2 (the issue is that we're trying to access x64 bits from an arm64 vertical, where they won't exist)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework
Projects
Status: Done
Development

No branches or pull requests

2 participants