This patch enables building glibc-2.2.5 using TCC and GNU Make 4.x and Mes C Library. * Makefile: Do not assemble from stdin, use file indirection. * Makefile: Add new target: install-lib-all. * Makefile: Avoid building stub DOC. * [_LIBC_REENTRANT]: Add missing guarding. * [MES_BOOTSTRAP]: Disable some GCC extensions. * [MES_BOOTSTRAP]: Add missing GCC div/mod defines. Upstream status: Not presented upstream. diff -purN -x .git -x fubar -x fubar.c -x Makefile -x config.status -x config.h -x BOOT -x BOOT-GCC -x texis -x '*.info*' ../glibc-2.2.5/config.h.in glibc-2.2.5/config.h.in --- ../glibc-2.2.5/config.h.in 2001-11-16 02:02:56.000000000 +0100 +++ glibc-2.2.5/config.h.in 2018-06-17 21:30:02.313029074 +0200 @@ -1,3 +1,10 @@ +#if MES_BOOTSTRAP && BOOTSTRAP_GLIBC +#undef __umoddi3 +#define __umoddi3(a,b) ((a)%(b)) +#undef __udivdi3 +#define __udivdi3(a,b) ((a)/(b)) +#endif + #if !defined ASSEMBLER && !defined _ISOMAC && !defined __OPTIMIZE__ # error "glibc cannot be compiled without optimization
aboutsummaryrefslogtreecommitdiff
path: root/tests/processes.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-06-06 22:52:28 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-06-06 23:40:02 +0300
commit2df940ab273a79311e1a7275fb5d491c96b4115f (patch)
tree94eccb1c2742e529fde41f5f2de9a0430e0bc332 /tests/processes.scm
parentf056d4f168e18c764ba586de960c00f531ac6d65 (diff)
downloadguix-2df940ab273a79311e1a7275fb5d491c96b4115f.tar.gz
guix-2df940ab273a79311e1a7275fb5d491c96b4115f.zip
gnu: kirigami-addons: Update to 0.8.0.
* gnu/packages/kde.scm (kirigami-addons): Update to 0.8.0. [source]: Download using git-fetch.
Diffstat (limited to 'tests/processes.scm')
0 files changed, 0 insertions, 0 deletions
#if _LIBC_REENTRANT /* Free the lock. */ __libc_cleanup_region_end (1); +#endif } #ifdef _LIBC_REENTRANT diff -purN -x .git -x fubar -x fubar.c -x Makefile -x config.status -x config.h -x BOOT -x BOOT-GCC -x texis -x '*.info*' ../glibc-2.2.5/Rules glibc-2.2.5/Rules --- ../glibc-2.2.5/Rules 2001-08-30 00:44:35.000000000 +0200 +++ glibc-2.2.5/Rules 2018-06-09 08:15:54.880683675 +0200 @@ -218,7 +218,7 @@ endif fopen_max=`sed -n 's/^#define OPEN_MAX //1p' $(@:st=hT)`; \ filename_max=`sed -n 's/^#define PATH_MAX //1p' $(@:st=hT)`; \ iov_max=`sed -n 's/^#define UIO_MAXIOV //p' $(@:st=hT)`; \ - fopen_max=$${fopen_max:-16}; \ + fopen_max=$${fu_fopen_max:-16}; \ filename_max=$${filename_max:-1024}; \ if [ -z $$iov_max ]; then \ define_iov_max="# undef IOV_MAX"; \ diff -purN -x .git -x fubar -x fubar.c -x Makefile -x config.status -x config.h -x BOOT -x BOOT-GCC -x texis -x '*.info*' ../glibc-2.2.5/stdio-common/perror.c glibc-2.2.5/stdio-common/perror.c --- ../glibc-2.2.5/stdio-common/perror.c 2001-09-01 07:33:01.000000000 +0200 +++ glibc-2.2.5/stdio-common/perror.c 2018-06-09 10:42:25.909899529 +0200 @@ -48,6 +48,9 @@ perror_internal (FILE *fp, const char *s } +#if MES_BOOTSTRAP +#define fileno_unlocked(x) 1 +#endif /* Print a line on stderr consisting of the text in S, a colon, a space, a message describing the meaning of the contents of `errno' and a newline. If S is NULL or "", the colon and space are omitted. */ diff -purN -x .git -x fubar -x fubar.c -x Makefile -x config.status -x config.h -x BOOT -x BOOT-GCC -x texis -x '*.info*' ../glibc-2.2.5/sysdeps/i386/fpu/ftestexcept.c glibc-2.2.5/sysdeps/i386/fpu/ftestexcept.c --- ../glibc-2.2.5/sysdeps/i386/fpu/ftestexcept.c 2001-07-06 06:55:53.000000000 +0200 +++ glibc-2.2.5/sysdeps/i386/fpu/ftestexcept.c 2018-06-09 09:45:13.363031424 +0200 @@ -25,8 +25,10 @@ fetestexcept (int excepts) { int temp; +#if !MES_BOOTSTRAP /* Get current exceptions. */ __asm__ ("fnstsw %0" : "=a" (temp)); +#endif return temp & excepts & FE_ALL_EXCEPT; } diff -purN -x .git -x fubar -x fubar.c -x Makefile -x config.status -x config.h -x BOOT -x BOOT-GCC -x texis -x '*.info*' ../glibc-2.2.5/sysdeps/unix/make-syscalls.sh glibc-2.2.5/sysdeps/unix/make-syscalls.sh --- ../glibc-2.2.5/sysdeps/unix/make-syscalls.sh 2001-09-13 00:19:30.000000000 +0200 +++ glibc-2.2.5/sysdeps/unix/make-syscalls.sh 2018-06-20 15:16:01.813004453 +0200 @@ -173,7 +173,7 @@ shared-only-routines += $file done # And finally, pipe this all into the compiler. - echo ' ) | $(COMPILE.S) -x assembler-with-cpp -o $@ -' + echo ' ) > stdin.c; $(COMPILE.S) -x assembler-with-cpp -o $@ stdin.c' case $weak in *@*) @@ -284,7 +284,7 @@ shared-only-routines += $file echo "\ echo ''; \\ echo '#include '; \\ - ) | \$(COMPILE.c) -x c -o \$@ -" + ) > stdin.c; \$(COMPILE.c) -x c -o \$@ stdin.c" ### Use this for debugging intermediate output: ### ) >\$(@:.ob=.c) ### \$(subst -c,-E,\$(COMPILE.c)) -o \$(@:.ob=.ib) \$(@:.ob=.c) diff -purN -x .git -x fubar -x fubar.c -x Makefile -x config.status -x config.h -x BOOT -x BOOT-GCC -x texis -x '*.info*' ../glibc-2.2.5/sysdeps/unix/sysv/linux/sys/timex.h glibc-2.2.5/sysdeps/unix/sysv/linux/sys/timex.h --- ../glibc-2.2.5/sysdeps/unix/sysv/linux/sys/timex.h 2001-07-06 06:56:21.000000000 +0200 +++ glibc-2.2.5/sysdeps/unix/sysv/linux/sys/timex.h 2018-06-09 20:09:07.713806647 +0200 @@ -54,10 +54,12 @@ struct timex long int errcnt; /* calibration errors (ro) */ long int stbcnt; /* stability limit exceeded (ro) */ +#if !MES_BOOTSTRAP /* ??? */ int :32; int :32; int :32; int :32; int :32; int :32; int :32; int :32; int :32; int :32; int :32; int :32; +#endif }; /* Mode codes (timex.mode) */ --- ../glibc-2.2.5/manual/Makefile 2001-08-28 10:05:40.000000000 +0200 +++ glibc-2.2.5/manual/Makefile 2018-06-09 10:13:03.093633660 +0200 @@ -247,7 +247,11 @@ .PHONY: stubs stubs: $(objpfx)stubs endif -$(objpfx)stubs ../po/manual.pot $(objpfx)stamp%: +po/manual.pot $(objpfx)stubs: + $(make-target-directory) + touch $@ + +$(objpfx)stamp%: $(make-target-directory) touch $@