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

Bug 547956

Summary: dev-lisp/sbcl-1.2.10 on PPC64 - In file included from where-is-mcontext.c:21: /usr/include/gnu/stubs.h:8:27: fatal error: gnu/stubs-32.h: No such file or directory
Product: Gentoo Linux Reporter: Jeroen Roovers (RETIRED) <jer>
Component: Current packagesAssignee: Panagiotis Christopoulos (RETIRED) <pchrist>
Status: RESOLVED OBSOLETE    
Severity: normal CC: bugs, common-lisp, nvinson234, ppc64, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: PPC64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 506890    
Attachments: dev-lisp:sbcl-1.2.10:20150426-054355.log.xz

Description Jeroen Roovers (RETIRED) gentoo-dev 2015-04-28 04:30:35 UTC
Created attachment 402134 [details]
dev-lisp:sbcl-1.2.10:20150426-054355.log.xz

+ make -C tools-for-build where-is-mcontext -I ../src/runtime
make: Entering directory '/dev/shm/portage/dev-lisp/sbcl-1.2.10/work/sbcl-1.2.10/tools-for-build'
powerpc64-unknown-linux-gnu-gcc -g -m32 -I../src/runtime -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed  where-is-mcontext.c  -ldl -o where-is-mcontext
In file included from /usr/include/features.h:390:0,
                 from /usr/include/stdio.h:27,
                 from where-is-mcontext.c:21:
/usr/include/gnu/stubs.h:8:27: fatal error: gnu/stubs-32.h: No such file or directory
 # include <gnu/stubs-32.h>
                           ^
compilation terminated.
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2015-04-28 15:02:41 UTC
Have seen this before in xen re non multilib.  stubs-32.h is a file for x86 systems.  Any reference to it in a non x86 build would I think need deleting.
Comment 2 Pacho Ramos gentoo-dev 2016-05-28 08:47:37 UTC
is this valid with 1.3.5?
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2016-05-30 10:53:07 UTC
Yes, the problem isn't fixed magically-by-version. Someone needs to put work into explaining to the build system that "-m32" is not what we want on a 64-bit system.
Comment 4 Andrey Grozin gentoo-dev 2017-01-22 16:50:33 UTC
No longer in the tree.