Age | Commit message (Collapse) | Author | Files |
|
strol_l is not available on musl
delete charset.alias as well its not needed
Use internal gc function on musl
We get errors on certain functions not being available in boeheme gc
when built with musl. Therefore use the internal versions
e.g.
Undefined gc_set_finalizer_notifier
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Its used in several packages
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
We have rootfs intercepts which fail on musl because ld.so on musl is an
absolute symlink to /usr/lib/libc.so and then it fails to load when run
with qemu user mode.
Fixes rootfs failures like
WARNING: The postinstall intercept hook 'update_pixbuf_cache' failed
(exit code: 255)! See log for details!
WARNING: The postinstalls for the following packages will be postponed
for first boot: libgdk-pixbuf-2.0-loader-jpeg li
bgdk-pixbuf-2.0-loader-png libgdk-pixbuf-2.0-loader-gif
libgdk-pixbuf-2.0-loader-xpm
WARNING: [log_check] core-image-sato: found a warning message in the
logfile (keyword 'WARNING:'):
[log_check] WARNING: The postinstall intercept hook
'update_pixbuf_cache' failed (exit code: 255)! See log for details!
WARNING: [log_check] core-image-sato: found a warning message in the
logfile (keyword 'WARNING:'):
[log_check] WARNING: The postinstalls for the following packages will be
postponed for first boot: libgdk-pixbuf-2.0-lo
ader-jpeg libgdk-pixbuf-2.0-loader-png libgdk-pixbuf-2.0-loader-gif
libgdk-pixbuf-2.0-loader-xpm
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
pass --hash-style explicitly to linker
and ensure that mips does not use gnu hash style
This inoculates fts when compiler does not pass
hash style option e.g. clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
enable largefile support if its in DISTRO_FEATURES
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
nss's build system assumes that cdefs.h is always available on linux
which is not the case with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Fix error like below
| apmd.c:372:41: error: use of undeclared identifier '__WCOREFLAG'
| status = __W_EXITCODE(0, SIGTERM) | __WCOREFLAG;
| ^
| apmd.c:392:41: error: use of undeclared identifier '__WCOREFLAG'
| status = __W_EXITCODE(0, SIGTERM) | __WCOREFLAG;
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
parallel build patch was removing dependencies on .c files mistakenly
just adding src/yacc_config.h to dependencies in existing rule should
have fixed the original build race
include sys/types.h in lex_config.l for getting u_long definition
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Fixes errors e.g.
vmcore-dmesg/vmcore-dmesg.c:370:32: error: unknown type name 'loff_t'
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
systemd on musl doesn't yet work even though we have patches to make it
compile it fails to run, therefore lets skip building it for now
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Doesnt build with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
let musl depend on these headers so they are staged along with libc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
This was not only getting included for libc5 but also for not-glibc libc
implementations e.g. musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Helps compile with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Fixes build on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Fix build with musl
uclibc and glibc dont agree on structure of the struct, musl rightly
adds padding elements, so when doing anonymous initialization struct
elements gets wrongly mapped on 64bit arches
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
There are several BSD specific assumptions
and some GNU specific ones.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
It only considered linux-gnu hosts when cross compiling
here we add linux-musl to the mix as well
Fixes errors e.g.
1.28-r0/tar-1.28/src/tar.c:1351:5: error: 'SAVEDIR_SORT_INODE'
undeclared here (not in a function)
| SAVEDIR_SORT_INODE
| ^
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Makery hard sets CC to be some form of gcc, make it set only if CC
variable is absent in environment.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
backtrace is glibc only feature on linux so check for glibc before using
it
Clangs clear_cache has different signature than gcc provided builtin
make it compatible for both
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
wait is not union per posix it is int
remove assumption about glibc is linux
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Fix bug exposed on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Make backtrace() API's use conditional on glibc
this helps make libunwind compile on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Turn bzip2 support into a PACKAGECONFIG
zlibs is a must have and therefore add it to DEPENDS will make the build
consistent
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Fixes build failures with musl where gcc5 flags it used before
initialized.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Remove a glibc specific patch to be applied only for native version,
this is a dpkg-native specific patch needed for Centos 5.8, this patch
should be redone to be glibc independent for it to be applied to all
types of dpkg recipes
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
musl relies on external rpc implemetation (libtirpc)
and exposed a bug in configury when checking for rlim_t
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
This patch is generic but is found during compiling watchdog with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
gzip 1.6 uses an older version of gnulib when cross compiling it treats
fseeko as broken since it cant do runtime checks for it during configure
this only shows up on musl since for glibc since it has special check
for gnu c library, so we aid the system by telling it that fflush on
stdin works well with musl
Use NO_ASM to avoid textrels
Delete charset.alias for musl which is again another issue in gnulib not
knowing musl platform
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
compar_fn_t, sigval_t and non-posix recursive mutexes
are not available in musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
libintl is needed explicitly on linker cmdline on uclibc since the APIs
are not in libc itelf.
Fix build on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
unlike glibc, uclibc does not have internal APIs implemented for
libiconv, so it needs to depend upon libiconv
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
unlike glibc, uclibc does not have internal APIs implemented for
libiconv, so it needs to depend upon libiconv
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
uclibc has its own implementation for libargp
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
This package is not provided by non-glibc libcs therefore add it only
when libc is glibc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
musl doesnt implement error() API, hence provide one
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
This helps packages like gnutls to compile with musl
any package that needs glibc's implementation of argp
can link to this library
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
inb/outb are implemented for ARM on glibc but not on linux in general
therefore the conditional has to reflect that
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
We now check at configure time of libc has pktinfo struct
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
fts is not implemented in musl but many packages depend on it
glibc implements it even though posix does not requir it to do so.
So provide an alternative provider for fts
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|