Skip to content

Instantly share code, notes, and snippets.

@gut
Created September 21, 2015 18:42
Show Gist options
  • Save gut/f1554ded7671af4e6e58 to your computer and use it in GitHub Desktop.
Save gut/f1554ded7671af4e6e58 to your computer and use it in GitHub Desktop.
asm/prctl.h does not exist for ppc64
$ uname -a
Linux gut-x86-64 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24) x86_64 GNU/Linux
$ dpkg -l linux-libc-dev
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===============================================-============================-============================-===============================================
ii linux-libc-dev:amd64 3.16.7-ckt11-1 amd64 Linux support headers for userspace development
$ dpkg -S prctl.h
libc6-dev:amd64: /usr/include/x86_64-linux-gnu/sys/prctl.h
linux-libc-dev:amd64: /usr/include/x86_64-linux-gnu/asm/prctl.h
linux-libc-dev:amd64: /usr/include/linux/prctl.h
[root@gut-x86-64 15:39:15 ~]$
$ uname -a
Linux debian-std-le 3.16.0-4-powerpc64le #1 SMP Debian 3.16.7-ckt7-1 (2015-03-01) ppc64le GNU/Linux
$ dpkg -l linux-libc-dev
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===============================================-============================-============================-===============================================
ii linux-libc-dev:ppc64el 3.16.7-ckt7-1 ppc64el Linux support headers for userspace development
$ dpkg -S prctl.h
libc6-dev:ppc64el: /usr/include/powerpc64le-linux-gnu/sys/prctl.h
linux-libc-dev:ppc64el: /usr/include/linux/prctl.h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment