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

identifier z crashes LLVM used in Emscripten #23106

Open
3 of 6 tasks
bottle2 opened this issue Jan 14, 2025 · 1 comment
Open
3 of 6 tasks

identifier z crashes LLVM used in Emscripten #23106

bottle2 opened this issue Jan 14, 2025 · 1 comment
Labels

Comments

@bottle2
Copy link

bottle2 commented Jan 14, 2025

Description / Steps to reproduce the issue

hi, I reported this upstream: emscripten-core/emscripten#23383

I made the mistake of also reporting too upstream too early: llvm/llvm-project#122793

steps to reproduce:

  1. create a file test.c solely with this content: int z; or int z(int);
  2. compile object with emcc -c test.c

affects version 3.1.74, but not 3.1.72.

I wanted to use my PKGBUILD and Arch Linux knowledge from 5 years ago to git bisect the culprit commit, but... I'm tired and I my laptop is crappy and I'm afraid of compile times. would you please bump the LLVM version to a version where this crash doesn't happen?

https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-emscripten/PKGBUILD

furthermore, if PKGBUILD will be changed, I think you should remove the installation of file /clang64/share/licenses/LICENSE, which maybe is related to this issue: msys2/MSYS2-packages#5122

Expected behavior

It'd compile fine

Actual behavior

LLVM crashes

Verification

Windows Version

MSYS_NT-10.0-19045

MINGW environments affected

  • MINGW64
  • MINGW32
  • UCRT64
  • CLANG64
  • CLANGARM64

Are you willing to submit a PR?

I'm not in the mood...

@bottle2 bottle2 added the bug label Jan 14, 2025
@raedrizqie
Copy link
Contributor

furthermore, if PKGBUILD will be changed, I think you should remove the installation of file /clang64/share/licenses/LICENSE, which maybe is related to this issue: msys2/MSYS2-packages#5122

typo in

install -Dm644 LICENSE "$pkgdir"${MINGW_PREFIX}/share/licenses/${_relaname}/LICENSE

${_relaname} should be ${_realname}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants