Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

powershell based macos arm project build error#4864

lingyphone started this conversation inGeneral
Discussion options

I have just tried the macos build on my apple silicon base macbook pro with the "release/2.4" branch, then I saw the only one error at the end, so I am not sure if the build process had completely done or not.

What build step causes the last error below for both x64 and arm64 builds?

PS /Users/xxx/msquic> ./scripts/build.ps1 -Config Debug -Arch arm64 -Static -Tls openssl3 -Clean....[100%] Built target msquictest/opt/homebrew/bin/cmake -E cmake_progress_start /Users/xxx/msquic/build/macos/x64_openssl3/CMakeFiles 0error: cannot parse the debug map for '/Users/xxx/msquic/artifacts/bin/macos/arm64_Debug_openssl3/libmsquic.a': The file was not recognized as a valid object filePS /Users/xxx/msquic> ./scripts/build.ps1 -Config Release -Arch x64 -Static -Tls openssl3 -Clean....[100%] Built target msquictest/opt/homebrew/bin/cmake -E cmake_progress_start /Users/xxx/msquic/build/macos/x64_openssl3/CMakeFiles 0error: cannot parse the debug map for '/Users/xxx/msquic/artifacts/bin/macos/x64_Release_openssl3/libmsquic.a': The file was not recognized as a valid object file
You must be logged in to vote

Replies: 3 comments 1 reply

Comment options

Compared to Windows build artifacts, the macos artifacts has not quicetw and recvfuzz. Not sure the following warning is related or not.

cd /Users/xxx/msquic/build/macos/x64_openssl3/src/bin && libtool -static -o "/Users/xxx/msquic/artifacts/bin/macos/x64_Release_openssl3/libmsquic.a" @/Users/xxx/msquic/build/macos/x64_openssl3/src/bin/Release/quicdeps.txt/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning duplicate member name 'inline.c.o' from '/Users/xxx/msquic/build/macos/x64_openssl3/obj/Release/libmsquic_platform.a(inline.c.o)' and '/Users/xxx/msquic/build/macos/x64_openssl3/obj/Release/libcore.a(inline.c.o)'
You must be logged in to vote
1 reply
@nibanks
Comment options

nibanksFeb 27, 2025
Collaborator

I believe both of those artifacts are Windows only, so they shouldn't be present on mac.

Comment options

nibanks
Feb 27, 2025
Collaborator

@wfurt any ideas on the mac build errors above?

You must be logged in to vote
0 replies
Comment options

wfurt
Feb 27, 2025
Collaborator

I see the error but it does not fail the build for me e.g. result code from the script is 0.
It also disappears when one remove the-static and build shared libraries.
It seems like we are (incorrectly) trying to extract debug symbols but it is not working on static library.

I also tried -DisableTools -DisableTest -DisablePerf but that still tries to extract the debug info.

You must be logged in to vote
0 replies
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
General
Labels
None yet
3 participants
@lingyphone@wfurt@nibanks

[8]ページ先頭

©2009-2025 Movatter.jp