Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 880429 - dev-libs/libx86-1.1-r5 - thunk.c: error: incompatible function pointer types initializing
Summary: dev-libs/libx86-1.1-r5 - thunk.c: error: incompatible function pointer types ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sergey Popov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting, clang-16-porting
  Show dependency tree
 
Reported: 2022-11-08 15:44 UTC by Toralf Förster
Modified: 2022-11-09 01:46 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.52 KB, text/plain)
2022-11-08 15:44 UTC, Toralf Förster
Details
dev-libs:libx86-1.1-r5:20221108-145830.log (dev-libs:libx86-1.1-r5:20221108-145830.log,5.96 KB, text/plain)
2022-11-08 15:44 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,70.12 KB, text/plain)
2022-11-08 15:44 UTC, Toralf Förster
Details
environment (environment,79.41 KB, text/plain)
2022-11-08 15:44 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,22.66 KB, application/x-bzip)
2022-11-08 15:44 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,21.03 KB, application/x-bzip)
2022-11-08 15:44 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 2022-11-08 15:44:01 UTC
      cannot be negative
        if (abs(div) > 0xffffffff) {
            ^~~
clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-delete-null-pointer-checks -DX86EMU -fPIC   -c -o thunk.o thunk.c
thunk.c:160:3: error: incompatible function pointer types initializing
      'x86emuu32 (*)(X86EMU_pioAddr)' (aka 'unsigned int (*)(unsigned short)')
      with an expression of type 'unsigned long (*)(unsigned short)'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib-j4-20221108-023017

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.4
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.4
Python 3.10.8
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.6
php cli (if any):
GNU Make 4.4

  HEAD of ::gentoo
commit 9c04c03548eb33ec7940ae3519122d834e82a55b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Nov 8 14:16:57 2022 +0000

    2022-11-08 14:16:56 UTC

emerge -qpvO dev-libs/libx86
[ebuild  N    ] dev-libs/libx86-1.1-r5
Comment 1 Toralf Förster gentoo-dev 2022-11-08 15:44:02 UTC
Created attachment 829319 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-08 15:44:02 UTC
Created attachment 829321 [details]
dev-libs:libx86-1.1-r5:20221108-145830.log
Comment 3 Toralf Förster gentoo-dev 2022-11-08 15:44:04 UTC
Created attachment 829323 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-11-08 15:44:05 UTC
Created attachment 829325 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-11-08 15:44:06 UTC
Created attachment 829327 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-08 15:44:07 UTC
Created attachment 829329 [details]
temp.tar.bz2