Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linking of the package fails on ppc64le #1296

Open
mcepl opened this issue Jul 20, 2024 · 1 comment
Open

linking of the package fails on ppc64le #1296

mcepl opened this issue Jul 20, 2024 · 1 comment

Comments

@mcepl
Copy link

mcepl commented Jul 20, 2024

Building of swipl (9.3.7) package on openSUSE fails on ppc64le architecture with this error:

[  213s] [2274/2598] : && /usr/bin/cc -fPIC -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -O2 -gdwarf-2 -g3  -flto=auto -Wl,--as-needed -shared  -o packages/xpce/pl2xpce.so [ ... zillion of .o object files ... ]  /usr/lib64/libXinerama.so  /usr/lib64/libXpm.so  /usr/lib64/libXext.so  /usr/lib64/libXt.so  /usr/lib64/libX11.so  /usr/lib64/libSM.so  /usr/lib64/libICE.so  /usr/lib64/libXft.so  /usr/lib64/libfreetype.so  /usr/lib64/libfontconfig.so  /usr/lib64/libjpeg.so && :
[  213s] /home/abuild/rpmbuild/BUILD/swipl-9.3.7/packages/xpce/src/h/kernel.h:1417:20: warning: type of ‘builtin_names’ does not match original declaration [-Wlto-type-mismatch]
[  213s]  1417 | extern struct name builtin_names[];     /* object-array of built-in's */
[  213s]       |                    ^
[  213s] /home/abuild/rpmbuild/BUILD/swipl-9.3.7/packages/xpce/src/ker/name.c:58:14: note: type ‘struct bname’ should match type ‘struct name’
[  213s]    58 | struct bname builtin_names[] =
[  213s]       |              ^
[  213s] /home/abuild/rpmbuild/BUILD/swipl-9.3.7/packages/xpce/src/ker/name.c:58:14: note: ‘builtin_names’ was previously declared here
[  213s] /home/abuild/rpmbuild/BUILD/swipl-9.3.7/packages/xpce/src/ker/name.c:58:14: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
[  213s] ninja: build stopped: subcommand failed.

Complete build log

@JanWielemaker
Copy link
Member

Thanks. Fixed with SWI-Prolog/packages-xpce@8110891

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants