Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 715640 - sys-libs/libhugetlbfs-2.22 : morecore.c: error: unknown type name ptrdiff_t
Summary: sys-libs/libhugetlbfs-2.22 : morecore.c: error: unknown type name ptrdiff_t
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2020-03-31 15:55 UTC by Toralf Förster
Modified: 2024-04-13 14:46 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.28 KB, text/plain)
2020-03-31 15:55 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,165.02 KB, text/plain)
2020-03-31 15:55 UTC, Toralf Förster
Details
environment (environment,87.00 KB, text/plain)
2020-03-31 15:55 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,19.33 KB, application/x-bzip)
2020-03-31 15:55 UTC, Toralf Förster
Details
sys-libs:libhugetlbfs-2.22:20200331-130044.log (sys-libs:libhugetlbfs-2.22:20200331-130044.log,5.19 KB, text/plain)
2020-03-31 15:55 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,21.21 KB, application/x-bzip)
2020-03-31 15:55 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-03-31 15:55:38 UTC
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>?

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200328-141627

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.42.0 *

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Tue Mar 31 11:38:57 UTC 2020
/var/db/repos/musl	Fri Mar 27 00:25:27 UTC 2020

emerge -qpvO sys-libs/libhugetlbfs
[ebuild  N    ] sys-libs/libhugetlbfs-2.22  USE="-static-libs -test"
Comment 1 Toralf Förster gentoo-dev 2020-03-31 15:55:41 UTC
Created attachment 628010 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-31 15:55:44 UTC
Created attachment 628012 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-31 15:55:47 UTC
Created attachment 628014 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-31 15:55:49 UTC
Created attachment 628016 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-31 15:55:52 UTC
Created attachment 628018 [details]
sys-libs:libhugetlbfs-2.22:20200331-130044.log
Comment 6 Toralf Förster gentoo-dev 2020-03-31 15:55:55 UTC
Created attachment 628020 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2021-10-25 13:28:13 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9215f11d48a5f54263e700e10d91613b5735e1b9

commit 9215f11d48a5f54263e700e10d91613b5735e1b9
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-10-25 13:24:36 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-25 13:27:50 +0000

    profiles: last-rite sys-libs/libhugetlbfs
    
    Bug: https://bugs.gentoo.org/630128
    Bug: https://bugs.gentoo.org/715640
    Bug: https://bugs.gentoo.org/806079
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/package.mask | 6 ++++++
 1 file changed, 6 insertions(+)