Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 417441 - =sys-kernel/linux-headers-3.4 doesn't install special_insns.h file
Summary: =sys-kernel/linux-headers-3.4 doesn't install special_insns.h file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: Alpha Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL: http://comments.gmane.org/gmane.linux...
Whiteboard:
Keywords:
: 425500 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-05-25 02:22 UTC by Matt Turner
Modified: 2012-07-10 08:04 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Turner gentoo-dev 2012-05-25 02:22:40 UTC
Upstream kernel commit ec2212088c42ff7d1362629ec26dda4f3e8bdad3 added a special_insns.h header, which is for some reason not installed by linux-headers-3.4.ebuild.

Not having the file causes glibc to fail to build.

/usr/include/asm/fpu.h:4:31: fatal error: asm/special_insns.h: No such file or directory

I see that x86 and parisc also have this file, but I'm not sure if it's installed properly or not by linux-headers-3.4.
Comment 1 SpanKY gentoo-dev 2012-05-25 05:40:54 UTC
the header isn't installed because the alpha build system didn't tell it to.  if you want random files installed, you need to add it to the Kbuild file:

--- a/arch/alpha/include/asm/Kbuild
+++ b/arch/alpha/include/asm/Kbuild
@@ -7,4 +7,5 @@ header-y += gentrap.h
 header-y += pal.h
 header-y += reg.h
 header-y += regdef.h
+header-y += special_insns.h
 header-y += sysinfo.h

however, in this case, i don't think that header belongs in userspace.  i sent you a patch you can merge.
Comment 2 SpanKY gentoo-dev 2012-07-10 06:02:24 UTC
*** Bug 425500 has been marked as a duplicate of this bug. ***