Hi,

On Tue, Oct 17, 2023 at 11:45:22AM +0200, Mircea Ciocan wrote:
> I was trying to compile the OSELAS-2023.07.0 from the original sources on a 
> Ubuntu 22.04 and got the following error: 
> 
> --------------------------- 
> target: cross-clang.extract 
> --------------------------- 
> 
> extract: pkg_src=OSELAS.Toolchain-2023.07.0x/src/clang-16.0.6.src.tar.xz 
> extract: 
> pkg_extract_dir=OSELAS.Toolchain-2023.07.0x/platform-arm-v7a-linux-gnueabihf-gcc-13.1.1-clang-16.0.6-glibc-2.37-binutils-2.40-kernel-6.3.6-sanitized/build-cross/clang-16.0.6
>  
> patchin: no patches found 
> finished target cross-clang.extract 
> make: *** No rule to make target 
> '/home/dev/Software/Toolchain/OSELAS.Toolchain-2023.07.0x/platform-arm-v7a-linux-gnueabihf-gcc-13.1.1-clang-16.0.6-glibc-2.37-binutils-2.40-kernel-6.3.6-sanitized/sysroot-cross/bin/llvm-config',
>  needed by 
> '/home/dev/Software/Toolchain/OSELAS.Toolchain-2023.07.0x/platform-arm-v7a-linux-gnueabihf-gcc-13.1.1-clang-16.0.6-glibc-2.37-binutils-2.40-kernel-6.3.6-sanitized/state/cross-llvm.prepare'.
>  Stop. 
> make: *** [build_all_v2.mk:44: 
> gstate/arm-v7a-linux-gnueabihf-gcc-13.1.1-clang-16.0.6-glibc-2.37-binutils-2.40-kernel-6.3.6-sanitized.build]
>  Error 2 
> 
> It seems that the build directory is not even created. 
> Do you have any idea what can I do ? 

Just a wild guess: You're using ptxdist-2023.10.0 to build the toolchain.
Don't do that. Use ptxdist-2023.07.0 as specified in the config files.

Regards,
Michael

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

Reply via email to