Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919849 - sys-apps/smc-sum-2.13.0.20230825 - /.../sum_bios.c: error: initialization of char from _u64 {aka long long unsigned int} makes pointer from integer wi
Summary: sys-apps/smc-sum-2.13.0.20230825 - /.../sum_bios.c: error: initialization of ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Conrad Kostecki
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-13 20:50 UTC by Toralf Förster
Modified: 2024-01-05 13:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.96 KB, text/plain)
2023-12-13 20:50 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,60.42 KB, text/plain)
2023-12-13 20:50 UTC, Toralf Förster
Details
environment (environment,103.27 KB, text/plain)
2023-12-13 20:50 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,116.25 KB, text/plain)
2023-12-13 20:50 UTC, Toralf Förster
Details
sys-apps:smc-sum-2.13.0.20230825:20231213-163354.log (sys-apps:smc-sum-2.13.0.20230825:20231213-163354.log,11.72 KB, text/plain)
2023-12-13 20:50 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-12-13 20:50:00 UTC
too long lines were shrinked:

make -f ./scripts/Makefile.build obj=/var/tmp/portage/sys-apps/smc-sum-2.13.0.20230825/work/sum_2.13.0_Linux_x86_64/driver/Source/Linux need-builtin=1 need-modorder=1 
# CC [M]  /var/tmp/portage/sys-apps/smc-sum-2.13.0.20230825/work/sum_2.13.0_Linux_x86_64/driver/Source/Linux/sum_bios.o
  /usr/bin/x86_64-pc-linux-gnu-gcc -Wp,-MMD,/var/tmp/portage/sys-apps/smc-sum-2.13.0.20230825/work/sum_2.13.0_Linux_x86_64/driver/Source/Linux/.sum_bios.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./in
# cmd_mod /var/tmp/portage/sys-apps/smc-sum-2.13.0.20230825/work/sum_2.13.0_Linux_x86_64/driver/Source/Linux/sum_bios.mod
  printf '%s\n'   sum_bios.o | awk '!x[$0]++ { print("/var/tmp/portage/sys-apps/smc-sum-2.13.0.20230825/work/sum_2.13.0_Linux_x86_64/driver/Source/Linux/"$0) }' > /var/tmp/portage/sys-apps/smc-sum-2.13.0.20230825/work/sum_2.13.0_Linux_x86_64/driver/Source/Linux/sum_bios.mod
/var/tmp/portage/sys-apps/smc-sum-2.13.0.20230825/work/sum_2.13.0_Linux_x86_64/driver/Source/Linux/sum_bios.c: In function sum_bios_ioctl:
/var/tmp/portage/sys-apps/smc-sum-2.13.0.20230825/work/sum_2.13.0_Linux_x86_64/driver/Source/Linux/sum_bios.c:78:21: error: initialization of char * from __u64 {aka long long unsigned int} makes pointer from integer without a cast [-Wint-conversion]
   78 |         char* ptr = m_Exchange_Info_p->KernelVirtualAddr;
      |                     ^~~~~~~~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_systemd_merged_usr-20231212-201019

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
/usr/lib/llvm/17
17.0.6
Python 3.11.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.74.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21 

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.21.5 linux/amd64

  HEAD of ::gentoo
commit fc34ee0ec51fc779f0a595473dfac985ea1d6041
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Dec 13 14:46:57 2023 +0000

    2023-12-13 14:46:56 UTC

emerge -qpvO sys-apps/smc-sum
[ebuild  N    ] sys-apps/smc-sum-2.13.0.20230825  USE="module strip -dist-kernel -modules-sign"
Comment 1 Toralf Förster gentoo-dev 2023-12-13 20:50:01 UTC
Created attachment 879259 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-13 20:50:02 UTC
Created attachment 879260 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-12-13 20:50:03 UTC
Created attachment 879261 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-13 20:50:05 UTC
Created attachment 879262 [details]
qlist-info.txt
Comment 5 Toralf Förster gentoo-dev 2023-12-13 20:50:05 UTC
Created attachment 879263 [details]
sys-apps:smc-sum-2.13.0.20230825:20231213-163354.log
Comment 6 Conrad Kostecki gentoo-dev 2024-01-05 13:35:27 UTC
*sign* I contacted Supermicro about this, but they are not really interessted in fixing this yet, since Gentoo Linux is not a supported distro..

@sam: Do you know anyone, who has knowledge to fix this kernel module?