Thanks for the information. I don't see why it should use llvm, on the
other hand the kernel Makefile is rather clear when to use it. Can you
check if you an still reproduce the problem?
* Claude Heiland-Allen <
cla...@mathr.co.uk> [2023-05-25 11:47]:
>Hi Jochen,
>
>I didn't set any non-standard compiler options as far as I recall.
>I certainly was not intending to build with LLVM.
>Unfortunately I have not kept the log of the failing build,
>but I remember seeing that gcc was used for the majority of the
>compilation.
>
>Regards,
>
>
>Claude
>
>PS: export output as requested:
>
>$ export
>declare -x ANDROID_HOME="/home/claude/opt/android"
>declare -x ANDROID_NDK_HOME="/home/claude/opt/android/ndk/21.4.7075529"
>declare -x CLUTTER_IM_MODULE="ibus"
>declare -x COLORTERM="truecolor"
>declare -x DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"
>declare -x DESKTOP_SESSION="xfce"
>declare -x DISPLAY=":0.0"
>declare -x GDMSESSION="xfce"
>declare -x GNOME_TERMINAL_SCREEN="/org/gnome/Terminal/screen/0b1a867e_925f_4768_96f3_643cc3c21d91"
>declare -x GNOME_TERMINAL_SERVICE=":1.84"
>declare -x GTK_IM_MODULE="ibus"
>declare -x GTK_MODULES="gail:atk-bridge"
>declare -x HOME="/home/claude"
>declare -x LANG="en_GB.UTF-8"
>declare -x LANGUAGE="en_GB:en"
>declare -x LD_LIBRARY_PATH="/home/claude/opt/lib"
>declare -x LOGNAME="claude"
>declare -x LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35
>:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:"
>declare -x OLDPWD
>declare -x PANEL_GDK_CORE_DEVICE_EVENTS="0"
>declare -x PATH="/home/claude/opt/vbcc/vbcc/bin:/opt/amiga/bin:/home/claude/opt/android/ndk/21.4.7075529:/home/claude/opt/android/platform-tools:/home/claude/opt/android/tools:/home/claude/opt/bin:/home/claude/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/claude/opt/bin"
>declare -x PWD="/home/claude"
>declare -x QT_ACCESSIBILITY="1"
>declare -x QT_IM_MODULE="ibus"
>declare -x QT_QPA_PLATFORMTHEME="gtk2"
>declare -x SESSION_MANAGER="local/eiskaffee:@/tmp/.ICE-unix/1911,unix/eiskaffee:/tmp/.ICE-unix/1911"
>declare -x SHELL="/bin/bash"
>declare -x SHLVL="1"
>declare -x SSH_AGENT_PID="2048"
>declare -x SSH_AUTH_SOCK="/tmp/ssh-XXXXXXtd5uft/agent.1911"
>declare -x TERM="xterm-256color"
>declare -x USER="claude"
>declare -x VBCC="/opt/amiga/vbcc"
>declare -x VTE_VERSION="7003"
>declare -x XAUTHORITY="/home/claude/.Xauthority"
>declare -x XDG_CONFIG_DIRS="/etc/xdg"
>declare -x XDG_CURRENT_DESKTOP="XFCE"
>declare -x XDG_DATA_DIRS="/usr/share/xfce4:/usr/local/share/:/usr/share/:/usr/share"
>declare -x XDG_GREETER_DATA_DIR="/var/lib/lightdm/data/claude"
>declare -x XDG_MENU_PREFIX="xfce-"
>declare -x XDG_RUNTIME_DIR="/run/user/1000"
>declare -x XDG_SEAT="seat0"
>declare -x XDG_SEAT_PATH="/org/freedesktop/DisplayManager/Seat0"
>declare -x XDG_SESSION_CLASS="user"
>declare -x XDG_SESSION_DESKTOP="xfce"
>declare -x XDG_SESSION_ID="2"
>declare -x XDG_SESSION_PATH="/org/freedesktop/DisplayManager/Session0"
>declare -x XDG_SESSION_TYPE="x11"
>declare -x XDG_VTNR="7"
>declare -x XMODIFIERS="@im=ibus"
>
>
>
>On 2023-05-25 09:20, Jochen Sprickerhof wrote:
>>Hi Claude,
>>
>>the Debian kernel is compiled with GCC:
>>
>>
https://buildd.debian.org/status/fetch.php?pkg=linux&arch=amd64&ver=6.1.27-1&stamp=1683630698&raw=0
>>
>>and compiles just fine.
>>
>>To compile the kernel with llvm you either need to set CC or LLVM
>>variables:
>>
>>
https://www.kernel.org/doc/html/latest/kbuild/llvm.html
>>
>>Can you send the output of `export` to check what is set in your
>>environment?
>>
>>Given that you don't use the default compiler and that the default
>>toolchain is provided by the build-essential package, I don't think
>>this is a dependency issue and I would close this bug.
>>
>>Cheers Jochen
>>
>>* Claude Heiland-Allen <
cla...@mathr.co.uk> [2023-05-11 12:57]:
>--
>
https://mathr.co.uk