Ondřej Čertík

Results 1626 comments of Ondřej Čertík

Thank you @Thirumalai-Shaktivel, this was a huge help! We just need to fix the interactive mode (ctest) and we can close this issue.

So everything works at the CI now, I am going to close this issue now. I am sure there will be bugs, so let's just open new issues for each...

@junghans thanks for trying it! I reported the failure at https://github.com/lfortran/lfortran/issues/5072. It seems unrelated.

It's weird indeed, but the issue does seem to come from the uppercase vs lower case paths in: ``` │ - Default pixi location: C:\Users\ondrejcertik\.pixi\bin\pixi.exe │ - Pixi location detected:...

Indeed, this workaround works: ```console ~$ pixi self-update × pixi is not installed in the default location: │ │ - Default pixi location: C:\Users\ondrejcertik\.pixi\bin\pixi.exe │ - Pixi location detected: C:\Users\ondrejcertik\.pixi\bin\pixi.EXE...

Yes, this is likely due to a mismatch between the version of the standard library used to compile the code and the version used to link it. LFortran requires C++...

It seems it is using the wrong C++ runtime library for some reason. If LLVM 19 and LFortran are both compiled with `CMAKE_CXX_STANDARD=17` then I would expect this line `/usr/include/c++/14/bits/locale_facets.h`...

Build it with WITH_STACKTRACE off. Here is a recommended way to build it: https://github.com/conda-forge/lfortran-feedstock/blob/68d9df49cfa0407481a9929f06436bdf15f27341/recipe/build.sh#L60.

I can reproduce it locally in Ubuntu using the conda installed package: ``` (lf41) ondrej@laptop:~/.../lfortran/integration_tests(main)$ lfortran intrinsics_316.f90 --fast 1.20000005e+00 2.29999995e+00 1.20000005e+00 2.29999995e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00 1.00000000e+00 (lf41) ondrej@laptop:~/.../lfortran/integration_tests(main)$ lfortran intrinsics_316.f90...

It's LLVM 17, the conda package uses that, but it might not be specific to LLVM 17. Your error is: ``` 2024-10-13T20:37:58.4181140Z 655/1146 Test #655: where_10_FAST .................................***Failed 0.01 sec 2024-10-13T20:37:58.4182182Z...