Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 919465

Summary: app-emulation/softgun-0.22-r1 - [slibtool] [clang] m16c/idecode_m16c.c: error: incompatible function pointer types
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo ARM Porters <arm>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
app-emulation:softgun-0.22-r1:20231208-134629.log.xz
emerge-history.txt.xz
environment
etc.clang.tar.xz
etc.portage.tar.xz
qlist-info.txt.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-12-08 13:49:55 UTC
too long lines were shrinked:

      |                      ^
./cycletimer.h:99:15: note: use function 'labs' instead
   99 |         if((uint64_t)abs(cycles) < (100*CycleTimerRate)) {
      |                      ^~~
      |                      labs
1 warning generated.
m16c/idecode_m16c.c:263:32: error: incompatible function pointer types
      initializing 'M16C_InstructionProc *' (aka 'void (*)(void)') with an
      expression of type clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -Wall -fno-strict-overflow -Wstrict-overflow=3 -Wno-unused-but-set-variable -fno-strict-aliasing  -D_GNU_SOURCE -Itools -I. -Iarm -Ippc -Iboards -Icontrol

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd_merged_usr-20231203-121010

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

CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/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 11.0.20.1_p1 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
3)	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-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21 

php cli (if any):
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit 592b055114e1be19375cdd462d187c0174ba1c08
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Dec 8 13:01:59 2023 +0000

    2023-12-08 13:01:58 UTC

emerge -qpvO app-emulation/softgun
[ebuild  N    ] app-emulation/softgun-0.22-r1
Comment 1 Toralf Förster gentoo-dev 2023-12-08 13:49:56 UTC
Created attachment 878360 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-08 13:49:56 UTC
Created attachment 878361 [details]
app-emulation:softgun-0.22-r1:20231208-134629.log.xz
Comment 3 Toralf Förster gentoo-dev 2023-12-08 13:49:58 UTC
Created attachment 878362 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2023-12-08 13:49:59 UTC
Created attachment 878363 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-12-08 13:50:00 UTC
Created attachment 878364 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-08 13:50:01 UTC
Created attachment 878365 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-08 13:50:02 UTC
Created attachment 878366 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-08 13:50:03 UTC
Created attachment 878367 [details]
temp.tar.xz
Comment 9 Agostino Sarubbo gentoo-dev 2023-12-21 07:54:25 UTC
gcc14_tinderbox detected this bug as duplicate of 919167 - If this an error, please let me know

*** This bug has been marked as a duplicate of bug 919167 ***