Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 628018 Details for
Bug 715640
sys-libs/libhugetlbfs-2.22 : morecore.c: error: unknown type name ptrdiff_t
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
sys-libs:libhugetlbfs-2.22:20200331-130044.log
sys-libs:libhugetlbfs-2.22:20200331-130044.log (text/plain), 5.19 KB, created by
Toralf Förster
on 2020-03-31 15:55:52 UTC
(
hide
)
Description:
sys-libs:libhugetlbfs-2.22:20200331-130044.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2020-03-31 15:55:52 UTC
Size:
5.19 KB
patch
obsolete
> * Package: sys-libs/libhugetlbfs-2.22 > * Repository: gentoo > * Maintainer: base-system@gentoo.org > * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > * Using python3.7 to build >>>> Unpacking source... >>>> Unpacking libhugetlbfs-2.22.tar.gz to /var/tmp/portage/sys-libs/libhugetlbfs-2.22/work >>>> Source unpacked in /var/tmp/portage/sys-libs/libhugetlbfs-2.22/work >>>> Preparing source in /var/tmp/portage/sys-libs/libhugetlbfs-2.22/work/libhugetlbfs-2.22 ... > * Applying libhugetlbfs-2.6-fixup-testsuite.patch ... >patching file tests/run_tests.py >Hunk #1 succeeded at 72 with fuzz 2 (offset 16 lines). >Hunk #2 succeeded at 668 with fuzz 2 (offset 140 lines). > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/sys-libs/libhugetlbfs-2.22/work/libhugetlbfs-2.22 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/sys-libs/libhugetlbfs-2.22/work/libhugetlbfs-2.22 ... >make -j1 CC=x86_64-gentoo-linux-musl-gcc libs tools >./localversion version ./libhugetlbfs_testprobes.h ./libhugetlbfs_privutils.h ./libhugetlbfs_internal.h ./libhugetlbfs_debug.h ./kernel-features.h ./hugetlbfs.h *.c *.lds Makefile >version string: 2.22 >x86_64-gentoo-linux-musl-gcc -D__LIBHUGETLBFS__ -O2 -pipe -march=native -Wall -fPIC -o obj64/elflink.o -c elflink.c >x86_64-gentoo-linux-musl-gcc -D__LIBHUGETLBFS__ -o obj64/sys-elf_x86_64.o -c sys-elf_x86_64.S >x86_64-gentoo-linux-musl-gcc -D__LIBHUGETLBFS__ -O2 -pipe -march=native -Wall -fPIC -o obj64/hugeutils.o -c hugeutils.c >x86_64-gentoo-linux-musl-gcc -D__LIBHUGETLBFS__ -O2 -pipe -march=native -Wall -fPIC -o obj64/version.o -c version.c >version.c:3:19: warning: âlibhugetlbfs_versionâ defined but not used [-Wunused-const-variable=] > 3 | static const char libhugetlbfs_version[] = "VERSION: "VERSION; > | ^~~~~~~~~~~~~~~~~~~~ >x86_64-gentoo-linux-musl-gcc -D__LIBHUGETLBFS__ -O2 -pipe -march=native -Wall -fPIC -o obj64/init.o -c init.c >x86_64-gentoo-linux-musl-gcc -D__LIBHUGETLBFS__ -O2 -pipe -march=native -Wall -fPIC -o obj64/morecore.o -c morecore.c >morecore.c:69:33: error: unknown type name âptrdiff_tâ > 69 | static void *hugetlbfs_morecore(ptrdiff_t increment) > | ^~~~~~~~~ >morecore.c:35:1: note: âptrdiff_tâ is defined in header â<stddef.h>â; did you forget to â#include <stddef.h>â? > 34 | #include "libhugetlbfs_internal.h" > +++ |+#include <stddef.h> > 35 | >morecore.c:222:27: error: unknown type name âptrdiff_tâ > 222 | static void *thp_morecore(ptrdiff_t increment) > | ^~~~~~~~~ >morecore.c:222:27: note: âptrdiff_tâ is defined in header â<stddef.h>â; did you forget to â#include <stddef.h>â? >morecore.c: In function â__lh_hugetlbfs_setup_morecoreâ: >morecore.c:368:3: error: â__morecoreâ undeclared (first use in this function) > 368 | __morecore = &thp_morecore; > | ^~~~~~~~~~ >morecore.c:368:3: note: each undeclared identifier is reported only once for each function it appears in >morecore.c:368:17: error: âthp_morecoreâ undeclared (first use in this function) > 368 | __morecore = &thp_morecore; > | ^~~~~~~~~~~~ >morecore.c:370:17: error: âhugetlbfs_morecoreâ undeclared (first use in this function); did you mean âhugetlbfs_setup_morecoreâ? > 370 | __morecore = &hugetlbfs_morecore; > | ^~~~~~~~~~~~~~~~~~ > | hugetlbfs_setup_morecore >morecore.c:375:3: warning: implicit declaration of function âmalloptâ; did you mean âmallocâ? [-Wimplicit-function-declaration] > 375 | mallopt(M_TRIM_THRESHOLD, hpage_size + hpage_size / 2); > | ^~~~~~~ > | malloc >morecore.c:375:11: error: âM_TRIM_THRESHOLDâ undeclared (first use in this function) > 375 | mallopt(M_TRIM_THRESHOLD, hpage_size + hpage_size / 2); > | ^~~~~~~~~~~~~~~~ >morecore.c:378:10: error: âM_TOP_PADâ undeclared (first use in this function) > 378 | mallopt(M_TOP_PAD, hpage_size / 2); > | ^~~~~~~~~ >morecore.c:382:10: error: âM_MMAP_MAXâ undeclared (first use in this function); did you mean âTMP_MAXâ? > 382 | mallopt(M_MMAP_MAX, 0); > | ^~~~~~~~~~ > | TMP_MAX >At top level: >morecore.c:40:13: warning: âmapsizeâ defined but not used [-Wunused-variable] > 40 | static long mapsize; > | ^~~~~~~ >make: *** [Makefile:289: obj64/morecore.o] Error 1 > * ERROR: sys-libs/libhugetlbfs-2.22::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=sys-libs/libhugetlbfs-2.22::gentoo'`, > * the complete build log and the output of `emerge -pqv '=sys-libs/libhugetlbfs-2.22::gentoo'`. > * The complete build log is located at '/var/log/portage/sys-libs:libhugetlbfs-2.22:20200331-130044.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-libs/libhugetlbfs-2.22/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/sys-libs/libhugetlbfs-2.22/temp/environment'. > * Working directory: '/var/tmp/portage/sys-libs/libhugetlbfs-2.22/work/libhugetlbfs-2.22' > * S: '/var/tmp/portage/sys-libs/libhugetlbfs-2.22/work/libhugetlbfs-2.22'
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 715640
:
628010
|
628012
|
628014
|
628016
| 628018 |
628020