Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 829321 Details for
Bug 880429
dev-libs/libx86-1.1-r5 - thunk.c: error: incompatible function pointer types initializing
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-libs:libx86-1.1-r5:20221108-145830.log
dev-libs:libx86-1.1-r5:20221108-145830.log (text/plain), 5.96 KB, created by
Toralf Förster
on 2022-11-08 15:44:02 UTC
(
hide
)
Description:
dev-libs:libx86-1.1-r5:20221108-145830.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-11-08 15:44:02 UTC
Size:
5.96 KB
patch
obsolete
> * Package: dev-libs/libx86-1.1-r5:0 > * Repository: gentoo > * Maintainer: pinkbyte@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking libx86-1.1.tar.gz to /var/tmp/portage/dev-libs/libx86-1.1-r5/work >>>> Source unpacked in /var/tmp/portage/dev-libs/libx86-1.1-r5/work >>>> Preparing source in /var/tmp/portage/dev-libs/libx86-1.1-r5/work/libx86-1.1 ... > * Applying libx86-0.99-ifmask.patch ... > [ ok ] > * Applying libx86-1.1-makefile.patch ... > [ ok ] > * Applying libx86-1.1-x86emu.patch ... > [ ok ] >>>> Source prepared. > * Clang 16 testing: this build is using a /etc/portage/bashrc hook! >>>> Configuring source in /var/tmp/portage/dev-libs/libx86-1.1-r5/work/libx86-1.1 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-libs/libx86-1.1-r5/work/libx86-1.1 ... >make -j4 BACKEND=x86emu LIBRARY=shared shared >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-delete-null-pointer-checks -DX86EMU -fPIC -c -o x86emu/debug.o x86emu/debug.c >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-delete-null-pointer-checks -DX86EMU -fPIC -c -o x86emu/ops2.o x86emu/ops2.c >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-delete-null-pointer-checks -DX86EMU -fPIC -c -o x86emu/decode.o x86emu/decode.c >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-delete-null-pointer-checks -DX86EMU -fPIC -c -o x86emu/ops.o x86emu/ops.c >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-delete-null-pointer-checks -DX86EMU -fPIC -c -o x86emu/prim_ops.o x86emu/prim_ops.c >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-delete-null-pointer-checks -DX86EMU -fPIC -c -o x86emu/fpu.o x86emu/fpu.c >x86emu/prim_ops.c:2284:6: warning: absolute value function 'abs' given an > argument of type 'x86emus64' (aka 'long long') but has parameter of type > 'int' which may cause truncation of value [-Wabsolute-value] > if (abs(div) > 0x7fffffff) { > ^ >x86emu/prim_ops.c:2284:6: note: use function 'llabs' instead > if (abs(div) > 0x7fffffff) { > ^~~ > llabs >x86emu/prim_ops.c:2357:6: warning: taking the absolute value of unsigned type > 'x86emuu32' (aka 'unsigned int') has no effect [-Wabsolute-value] > if (abs(div) > 0xff) { > ^ >x86emu/prim_ops.c:2357:6: note: remove the call to 'abs' since unsigned values > cannot be negative > if (abs(div) > 0xff) { > ^~~ >x86emu/prim_ops.c:2380:6: warning: taking the absolute value of unsigned type > 'x86emuu32' (aka 'unsigned int') has no effect [-Wabsolute-value] > if (abs(div) > 0xffff) { > ^ >x86emu/prim_ops.c:2380:6: note: remove the call to 'abs' since unsigned values > cannot be negative > if (abs(div) > 0xffff) { > ^~~ >x86emu/prim_ops.c:2409:6: warning: taking the absolute value of unsigned type > 'x86emuu64' (aka 'unsigned long long') has no effect [-Wabsolute-value] > if (abs(div) > 0xffffffff) { > ^ >x86emu/prim_ops.c:2409:6: note: remove the call to 'abs' since unsigned values > 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)' > [-Werror,-Wincompatible-function-pointer-types] > (&x_inl), > ^~~~~~~~ >thunk.c:163:3: error: incompatible function pointer types initializing 'void > (*)(X86EMU_pioAddr, x86emuu32)' (aka 'void (*)(unsigned short, unsigned > int)') with an expression of type > 'void (*)(unsigned short, unsigned long)' > [-Werror,-Wincompatible-function-pointer-types] > (&x_outl) > ^~~~~~~~~ >thunk.c:178:11: warning: cast to smaller integer type 'unsigned int' from > 'void *' [-Wvoid-pointer-to-int-cast] > X86_SS = (unsigned int) stack >> 4; > ^~~~~~~~~~~~~~~~~~~~ >thunk.c:182:2: warning: indirection of non-volatile null pointer will be > deleted, not trap [-Wnull-dereference] > *((char *)0) = 0x4f; /* Make sure that we end up jumping back to a > ^~~~~~~~~~~~ >thunk.c:182:2: note: consider using __builtin_trap() or qualifying pointer with > 'volatile' >thunk.c:210:19: warning: cast to smaller integer type 'unsigned int' from > 'void *' [-Wvoid-pointer-to-int-cast] > X86_SS = (unsigned int) stack >> 4; > ^~~~~~~~~~~~~~~~~~~~ >3 warnings and 2 errors generated. >make: *** [<builtin>: thunk.o] Error 1 shuffle=4191437685 >make: *** Waiting for unfinished jobs.... >4 warnings generated. > * ERROR: dev-libs/libx86-1.1-r5::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=dev-libs/libx86-1.1-r5::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-libs/libx86-1.1-r5::gentoo'`. > * The complete build log is located at '/var/log/portage/dev-libs:libx86-1.1-r5:20221108-145830.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-libs/libx86-1.1-r5/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-libs/libx86-1.1-r5/temp/environment'. > * Working directory: '/var/tmp/portage/dev-libs/libx86-1.1-r5/work/libx86-1.1' > * S: '/var/tmp/portage/dev-libs/libx86-1.1-r5/work/libx86-1.1' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 880429
:
829319
| 829321 |
829323
|
829325
|
829327
|
829329