Open revelator opened 3 years ago
Portions Copyright (c) 1992-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.
Error A2104: No filename specified.
make[2]: *** [projects/openmp/runtime/src/CMakeFiles/omp.dir/build.make:473: projects/openmp/runtime/src/CMakeFiles/omp.dir/z_Windows_NT-586_asm.asm.obj] Fejl 1```
Are you sure you are building latest out latest mingw-w64-clang PKGBUILD with makepkg-mingw
?
pkgver=11.0.0 pkgrel=4
so i think so ? i had just updated via git.
You could try reverting https://github.com/msys2/MINGW-packages/commit/906397957572b7c424ebd0853abc2ed6f2ae1886 on your machine. Maybe there is different amount of spaces. IIRC I did this change because CI was failing with the same error as yours.
ill try that, hang on for results.
Yep that fixed it, not sure why it causes ci build to break though.
Does ci use a different shell ?
FWIW currently committed version builds for me. Shell should not matter here, maybe specific set of installed packages somehow causes CMake to generate slightly different config. I'll tweak the regex or use patch instead over the weekend.
Hmm now error crops up further down the build
The C compiler
"E:/mingw-w64-clang/src/build-x86_64/bin/clang.exe"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: E:/mingw-w64-clang/src/build-libcxx-shared-x86_64/CMakeFiles/CMakeTmp
Run Build Command(s):C:/Msys64/usr/bin/make.exe cmTC_1e2ec/fast && /usr/bin/make -f CMakeFiles/cmTC_1e2ec.dir/build.make CMakeFiles/cmTC_1e2ec.dir/build
make[1]: Går til katalog "/e/mingw-w64-clang/src/build-libcxx-shared-x86_64/CMakeFiles/CMakeTmp"
Building C object CMakeFiles/cmTC_1e2ec.dir/testCCompiler.c.obj
/E/mingw-w64-clang/src/build-x86_64/bin/clang.exe -march=x86-64 -mtune=generic -O2 -pipe -o CMakeFiles/cmTC_1e2ec.dir/testCCompiler.c.obj -c /E/mingw-w64-clang/src/build-libcxx-shared-x86_64/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_1e2ec.exe
/E/Msys64/mingw64/bin/cmake.exe -E rm -f CMakeFiles/cmTC_1e2ec.dir/objects.a
/E/mingw-w64-clang/src/build-x86_64/bin/llvm-ar cr CMakeFiles/cmTC_1e2ec.dir/objects.a "CMakeFiles/cmTC_1e2ec.dir/testCCompiler.c.obj"
E:\mingw-w64-clang\src\build-x86_64\bin\llvm-ar.exe: error: unable to open 'CMakeFiles/cmTC_1e2ec.dir/objects.a': No such file or directory
make[1]: *** [CMakeFiles/cmTC_1e2ec.dir/build.make:107: cmTC_1e2ec.exe] Fejl 1
make[1]: Forlader katalog "/e/mingw-w64-clang/src/build-libcxx-shared-x86_64/CMakeFiles/CMakeTmp"
make: *** [Makefile:141: cmTC_1e2ec/fast] Fejl 2```
still not able to build this ... if i revert the sed change the error comes later but it still fails.
Sorry I forgot about this issue. No clue about error: unable to open 'CMakeFiles/cmTC_1e2ec.dir/objects.a': No such file or directory
though.
weird indeed, i can build the previous version no problem so it seems to be a change in the source package causing this.
when building libomp i get an uasm error about it not being able to find the source file ?!?