Displaying 14 results from an estimated 14 matches for "solibhash".
2013 Aug 21
2
Build problems: klibc with Linux 3.10.7
leroy christophe dixit:
> Also you can see that it does try to create /lib instead of
> /tmp/klibc-install/lib hence my second patch.
That actually seems to be by design. I always set
SHLIBDIR on the make command line, so it overrides that.
bye,
//mirabilos
--
> Wish I had pine to hand :-( I'll give lynx a try, thanks.
Michael Schmitz on
2013 Aug 20
0
Build problems: klibc with Linux 3.10.7
...13
We had to introduce those patches when going from kernel 3.6 to kernel 3.7
Hope it helps.
Christophe
-------------- next part --------------
--- Kbuild.orig 2011-08-22 22:16:56.000000000 +0200
+++ Kbuild 2012-04-27 10:03:04.000000000 +0200
@@ -178,4 +178,4 @@
$(Q)$(install-lib) $(obj)/klibc-$(SOLIBHASH).so \
$(INSTALLROOT)$(INSTALLDIR)/$(KLIBCCROSS)lib
$(Q)$(install-lib) $(obj)/klibc-$(SOLIBHASH).so \
- $(INSTALLROOT)$(SHLIBDIR)
+ $(INSTALLROOT)$(INSTALLDIR)/$(SHLIBDIR)
-------------- next part --------------
diff -ur klibc-2.0...
2013 Aug 22
2
Build problems: klibc with Linux 3.10.7
...LLDIR)
$(Q)-rm -rf $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include
$(Q)mkdir -p $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include
--- a/usr/klibc/Kbuild 2011-08-22 22:16:56.000000000 +0200
+++ b/usr/klibc/Kbuild 2012-04-27 10:03:04.000000000 +0200
@@ -178,4 +178,4 @@
$(Q)$(install-lib) $(obj)/klibc-$(SOLIBHASH).so \
$(INSTALLROOT)$(INSTALLDIR)/$(KLIBCCROSS)lib
$(Q)$(install-lib) $(obj)/klibc-$(SOLIBHASH).so \
- $(INSTALLROOT)$(SHLIBDIR)
+ $(INSTALLROOT)$(INSTALLDIR)/$(SHLIBDIR)
2019 Jan 20
0
[klibc:master] Build and install shared binaries only if KLIBCSHAREDFLAGS is defined
...CRT0), \
+ $(shell $(install-data) $(f) \
+ $(INSTALLROOT)$(INSTALLDIR)/$(KLIBCCROSS)lib))
+ifdef KLIBCSHAREDFLAGS
+ $(Q)$(foreach f, $(SOLIB) $(INTERP_O), \
$(shell $(install-data) $(f) \
$(INSTALLROOT)$(INSTALLDIR)/$(KLIBCCROSS)lib))
$(Q)$(install-lib) $(obj)/klibc-$(SOLIBHASH).so \
$(INSTALLROOT)$(INSTALLDIR)/$(KLIBCCROSS)lib
$(Q)$(install-lib) $(obj)/klibc-$(SOLIBHASH).so \
$(INSTALLROOT)$(SHLIBDIR)
+endif
diff --git a/usr/utils/Kbuild b/usr/utils/Kbuild
index 05aa794..38abb8f 100644
--- a/usr/utils/Kbuild
+++ b/usr/uti...
2013 Aug 19
3
Build problems: klibc with Linux 3.10.7
Gauche as it may be, I am reviving an old thread from January:
http://www.zytor.com/pipermail/klibc/2013-January/003402.html.
Building Smoothwall Express 3.1 in a chroot jail works well. (gcc 4.7.2, linux
3.4.58, klibc 2.0.1, et alia).
I'm now working on 'express-next' to prepare for a future release (linux
3.10.7, klibc 2.0.2, et alia). Same build system, worked through some
2019 Jan 25
0
[klibc:master] Fix errlist.c generation in out-of-tree build
...IBCCPPFLAGS).
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
usr/klibc/Kbuild | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild
index 9efbb4e..526442d 100644
--- a/usr/klibc/Kbuild
+++ b/usr/klibc/Kbuild
@@ -107,7 +107,8 @@ SOLIBHASH = $(shell cat $(SOLIB).hash)
# Readable errormessages extracted from src..
targets += errlist.c
quiet_cmd_errlist = GEN $@
- cmd_errlist = $(PERL) $< $(KLIBCCPPFLAGS) -errlist > $@ || rm -f $@
+ cmd_errlist = $(PERL) $< $(call flags,KLIBCCPPFLAGS) -errlist > $@ \
+...
2020 Feb 29
0
[klibc:master] Kbuild: Tell gas we don't want executable stacks
...ld
index b462fbec..19ccfbec 100644
--- a/usr/klibc/Kbuild
+++ b/usr/klibc/Kbuild
@@ -180,6 +180,7 @@ quiet_cmd_interp = BUILD $@
cmd_interp = $(KLIBCCC) $(klibccflags) -D__ASSEMBLY__ \
-DLIBDIR=\"$(SHLIBDIR)\" \
-DSOHASH=\"$(SOLIBHASH)\" \
+ -Wa,--noexecstack \
-c -o $@ $<
$(INTERP_O): $(obj)/interp.S $(SOLIB).hash
2020 Jul 25
0
[klibc:master] Revert " Kbuild: Tell gas we don't want executable stacks"
...ld
index 24bad07d..bec9cdb4 100644
--- a/usr/klibc/Kbuild
+++ b/usr/klibc/Kbuild
@@ -185,7 +185,6 @@ quiet_cmd_interp = BUILD $@
cmd_interp = $(KLIBCCC) $(klibccflags) -D__ASSEMBLY__ \
-DLIBDIR=\"$(SHLIBDIR)\" \
-DSOHASH=\"$(SOLIBHASH)\" \
- -Wa,--noexecstack \
-c -o $@ $<
$(INTERP_O): $(obj)/interp.S $(SOLIB).hash
2020 Jul 25
0
[klibc:master] Kbuild: Add a per-architecture option to disable exectable stacks
...ld
index bec9cdb4..c6338851 100644
--- a/usr/klibc/Kbuild
+++ b/usr/klibc/Kbuild
@@ -185,6 +185,7 @@ quiet_cmd_interp = BUILD $@
cmd_interp = $(KLIBCCC) $(klibccflags) -D__ASSEMBLY__ \
-DLIBDIR=\"$(SHLIBDIR)\" \
-DSOHASH=\"$(SOLIBHASH)\" \
+ $(KLIBCSTACKFLAGS) \
-c -o $@ $<
$(INTERP_O): $(obj)/interp.S $(SOLIB).hash
2020 Apr 29
2
[PATCH klibc 1/3] Revert " Kbuild: Tell gas we don't want executable stacks"
...ld
index 24bad07d..bec9cdb4 100644
--- a/usr/klibc/Kbuild
+++ b/usr/klibc/Kbuild
@@ -185,7 +185,6 @@ quiet_cmd_interp = BUILD $@
cmd_interp = $(KLIBCCC) $(klibccflags) -D__ASSEMBLY__ \
-DLIBDIR=\"$(SHLIBDIR)\" \
-DSOHASH=\"$(SOLIBHASH)\" \
- -Wa,--noexecstack \
-c -o $@ $<
$(INTERP_O): $(obj)/interp.S $(SOLIB).hash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
UR...
2020 Aug 29
0
[klibc:riscv64-enable-relax] Kbuild, klcc: Support multiple objects in KLIBCCRTSHARED
...(KLIBCOBJ)/libc.so
# How to tell the linker main() is the entrypoint
KLIBCEMAIN ?= -e main
diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild
index 0a1933e6..dea94d06 100644
--- a/usr/klibc/Kbuild
+++ b/usr/klibc/Kbuild
@@ -208,3 +208,6 @@ ifdef KLIBCSHAREDFLAGS
$(Q)$(install-lib) $(obj)/klibc-$(SOLIBHASH).so \
$(INSTALLROOT)$(SHLIBDIR)
endif
+
+# Directories to visit during clean and install
+subdir- := arch/$(KLIBCARCHDIR)/
2006 Jul 09
6
[PATCH/RFC] klibc/kbuild: use separate kbuild files for each klibc subdirectory
...$(call objectify,$(LIB))
+always := $(LIBC) $(SOLIB) $(SOHASH) $(INTERP_O)
+LIBC := $(call objectify,$(LIBC))
SOLIB := $(call objectify,$(SOLIB))
SOHASH := $(call objectify,$(SOHASH))
CRT0 := $(call objectify,$(CRT0))
@@ -87,17 +83,10 @@ INTERP_O := $(call objectify,$(INTERP_O)
SOLIBHASH = $(shell cat $(SOLIB).hash)
-targets += arch/$(KLIBCARCHDIR)/crt0.o
-targets += $(libc-y) $(KLIBCARCHOBJS)
-
# Generate syscall stubs
-subdir-y += syscalls
+klib-y += syscalls/
# Generate socket calls stubs
-subdir-y += socketcalls
-
-# Tell make to descend before building libs
-$(obj)/sysca...
2006 May 11
0
[patch] klibc: merge s390 and s390x
...definitions
LIB := libc.a
SOLIB := libc.so
SOHASH := klibc.so
-CRT0 := arch/$(KLIBCARCH)/crt0.o
+CRT0 := arch/$(KLIBCARCHDIR)/crt0.o
INTERP_O := interp.o
always := $(CRT0) $(LIB) $(SOLIB) $(SOHASH) $(INTERP_O)
@@ -87,7 +87,7 @@ INTERP_O := $(call objectify,$(INTERP_O)
SOLIBHASH = $(shell cat $(SOLIB).hash)
-targets += arch/$(KLIBCARCH)/crt0.o
+targets += arch/$(KLIBCARCHDIR)/crt0.o
targets += $(libc-y) $(KLIBCARCHOBJS)
# Generate syscall stubs
diff -purN a/usr/klibc/arch/s390/MCONFIG b/usr/klibc/arch/s390/MCONFIG
--- a/usr/klibc/arch/s390/MCONFIG 2006-05-11 08:09...
2006 May 24
1
[patch] klibc: merge s390/s390x 2nd try
...definitions
LIB := libc.a
SOLIB := libc.so
SOHASH := klibc.so
-CRT0 := arch/$(KLIBCARCH)/crt0.o
+CRT0 := arch/$(KLIBCARCHDIR)/crt0.o
INTERP_O := interp.o
always := $(CRT0) $(LIB) $(SOLIB) $(SOHASH) $(INTERP_O)
@@ -87,7 +87,7 @@ INTERP_O := $(call objectify,$(INTERP_O)
SOLIBHASH = $(shell cat $(SOLIB).hash)
-targets += arch/$(KLIBCARCH)/crt0.o
+targets += arch/$(KLIBCARCHDIR)/crt0.o
targets += $(libc-y) $(KLIBCARCHOBJS)
# Generate syscall stubs
diff -purN a/usr/klibc/arch/s390/MCONFIG b/usr/klibc/arch/s390/MCONFIG
--- a/usr/klibc/arch/s390/MCONFIG 2006-05-24 15:19...