Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919121 - dev-debug/gdb-13.2-r2[sim] - [clang] sem.c: error: incompatible function pointer types passing void (SIM_CPU , UINT, UDI) (aka void (struct _sim_cpu , unsigned int
Summary: dev-debug/gdb-13.2-r2[sim] - [clang] sem.c: error: incompatible function poin...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-12-03 11:02 UTC by Toralf Förster
Modified: 2024-01-13 11:00 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.66 KB, text/plain)
2023-12-03 11:02 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,185.76 KB, text/plain)
2023-12-03 11:02 UTC, Toralf Förster
Details
environment (environment,125.28 KB, text/plain)
2023-12-03 11:02 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2023-12-03 11:02 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,28.38 KB, application/x-xz)
2023-12-03 11:02 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,124.99 KB, application/x-xz)
2023-12-03 11:02 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,51.55 KB, application/x-xz)
2023-12-03 11:02 UTC, Toralf Förster
Details
sys-devel:gdb-13.2-r2:20231203-035730.log.xz (sys-devel:gdb-13.2-r2:20231203-035730.log.xz,64.07 KB, application/x-xz)
2023-12-03 11:02 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,96.19 KB, application/x-xz)
2023-12-03 11:02 UTC, Toralf Förster
Details
var.tmp.clang.tar.xz (var.tmp.clang.tar.xz,1.05 KB, application/x-xz)
2023-12-03 11:02 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-03 11:02:05 UTC
sem.c:24284:16: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
 24284 |     DI opval = MAKEDI (0xffffff80, 0);
       |                ^~~~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/sys-devel/gdb-13.2-r2/work/gdb-13.2/sim/frv/../common/cgen-types.h:77:43: note: expanded from macro 'MAKEDI'
   77 | #define MAKEDI(hi, lo) ((((DI) (SI) (hi)) << 32) | ((UDI) (USI) (lo)))
      |                          ~~~~~~~~~~~~~~~~ ^
sem.c:24343:41: error: incompatible function pointer types passing 'void (SIM_CPU *, UINT, UDI)' (aka 'void (struct _sim_cpu *, unsigned int, unsigned long)') to parameter of type 'void (*)(SIM_CPU *, UINT, DI)' (aka 'void (*)(struct _sim_cpu *, unsigned int, long)') [-Wincompatible-function-pointer-types]
 24343 |     sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, FLD (f_ACC40Uk), opval);
       |                                         ^~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd_merged_usr-20231128-203237

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

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.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php8.1 *
  [2]   php8.2
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit e0d8948ec06bf496b65a64b068f20591f20de768
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Dec 3 03:46:59 2023 +0000

    2023-12-03 03:46:59 UTC

emerge -qpvO sys-devel/gdb
[ebuild  N    ] sys-devel/gdb-13.2-r2  USE="lzma multitarget nls server sim source-highlight xml (-cet) -debuginfod -guile -python -test -vanilla -xxhash -zstd" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2023-12-03 11:02:06 UTC
Created attachment 876571 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-03 11:02:07 UTC
Created attachment 876572 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-12-03 11:02:08 UTC
Created attachment 876573 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-03 11:02:09 UTC
Created attachment 876574 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-03 11:02:10 UTC
Created attachment 876575 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-03 11:02:11 UTC
Created attachment 876576 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-03 11:02:12 UTC
Created attachment 876577 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-03 11:02:14 UTC
Created attachment 876578 [details]
sys-devel:gdb-13.2-r2:20231203-035730.log.xz
Comment 9 Toralf Förster gentoo-dev 2023-12-03 11:02:15 UTC
Created attachment 876579 [details]
temp.tar.xz
Comment 10 Toralf Förster gentoo-dev 2023-12-03 11:02:16 UTC
Created attachment 876580 [details]
var.tmp.clang.tar.xz