LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 03-10-2023, 03:59 AM   #1
rima8eou
Member
 
Registered: Nov 2018
Location: Germany
Distribution: Xubuntu, Debian, CentOS
Posts: 31

Rep: Reputation: Disabled
Question Compiling linux-kernel-6.2: error


With "make menuconfig" I configured the manually downloaded kernel 6.2. After a "make clean" I compiled with "make". At the end of the process I get this message:

Code:
In file included from <command-line>:0:0:
drivers/gpu/drm/i915_sw_fence_work.c: In function ‘dma_fence_work_init‘:
drivers/gpu/drm/i915_sw_fence.h:57:20: error: the comparison will always evaluate as ‘false‘ for the address of ‘fence_notify‘ will never be NULL [-Werror=address] BUILD_BUG_ON((fn) == NULL);
Beneath the "==" there is a circumflex under the first "="
==
^

I searched a lot, but no solution all over the world wide web.

See also: https://elixir.bootlin.com/linux/lat...915_sw_fence.h
 
Old 03-10-2023, 06:39 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,910

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
I don't know what did you download and from where. I can't find that circumflex in https://cdn.kernel.org/pub/linux/ker...x-6.2.3.tar.xz . And also the file is located in i915, not in drm.
 
Old 03-10-2023, 09:09 AM   #3
rima8eou
Member
 
Registered: Nov 2018
Location: Germany
Distribution: Xubuntu, Debian, CentOS
Posts: 31

Original Poster
Rep: Reputation: Disabled
I downloaded the kernel from kernel.org (latest release 6.2). The circumflex is beneath the first "=" in
Code:
BUILD_BUG_ON((fn) == NULL);
(= error message).
 
Old 03-10-2023, 10:34 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,910

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
exactly what and how did you download? That situation is quite strange for me.
 
Old 03-10-2023, 10:48 AM   #5
rima8eou
Member
 
Registered: Nov 2018
Location: Germany
Distribution: Xubuntu, Debian, CentOS
Posts: 31

Original Poster
Rep: Reputation: Disabled
Hope, this is what you want to know: linux-6.2.tar.xz via http from kernel.org.
 
Old 03-10-2023, 12:04 PM   #6
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,910

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
Quote:
Originally Posted by rima8eou View Post
Hope, this is what you want to know: linux-6.2.tar.xz via http from kernel.org.
No, I gave you a link where you can download it and check it (that's what I did). I could not find that circumflex in that linux-6.2.tar.xz. Probably it is my mistake, but we need to know the steps to find it. Furthermore I think you ought to download it again and test again, if it is really-really-really there.
(The main goal here is to make it reproducible for us)
 
Old 03-13-2023, 07:11 AM   #7
rima8eou
Member
 
Registered: Nov 2018
Location: Germany
Distribution: Xubuntu, Debian, CentOS
Posts: 31

Original Poster
Rep: Reputation: Disabled
Step by step:

I downloaded the archive from here:

https://cdn.kernel.org/pub/linux/ker...nux-6.2.tar.xz

Please also notice the attachment.
Attached Thumbnails
Click image for larger version

Name:	make-screenshot.png
Views:	22
Size:	132.7 KB
ID:	40612  
 
Old 03-16-2023, 02:24 PM   #8
yvesjv
Member
 
Registered: Sep 2015
Location: Australia
Distribution: Slackware, Devuan, Freebsd
Posts: 573

Rep: Reputation: Disabled
Talking

Quote:
Originally Posted by rima8eou View Post
With "make menuconfig" I configured the manually downloaded kernel 6.2. After a "make clean" I compiled with "make". At the end of the process I get this message:
I do it differently if just upgrading the kernel on your everyday workstation/laptop.
In the extracted directory of your new kernel, I copy over the config of the running kernel
zcat /proc/config.gz > .config
Followed with:
yes "" | make oldconfig
Then I do a make menuconfig to modify it further
Up to today, no hurdles seen... yet
 
Old 03-20-2023, 03:25 AM   #9
rima8eou
Member
 
Registered: Nov 2018
Location: Germany
Distribution: Xubuntu, Debian, CentOS
Posts: 31

Original Poster
Rep: Reputation: Disabled
Thumbs up

I downloaded a 64 bit kernel. On the Harddisk is a 32 bit operating system. But: I bootet the hard drive via Sata-USB-Adapter. Nevertheless I found a diffrent solution for loading reiserfs-Modules: loading the 4.9-Kernel, that is the oldest and self made on this disk. For my experimental purpose no more compiling necessary.
 
  


Reply

Tags
compiling



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error when compiling kernel linux-2.6.22 : make: ***[_modinst_post] Error 137 ngoclan.it Linux - General 1 12-11-2007 06:54 AM
Error when compiling kernel linux-2.6.22 : make: ***[_modinst_post] Error 137 ngoclan.it Linux - Newbie 0 12-11-2007 06:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 12:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration