Displaying 20 results from an estimated 35 matches for "shlibdir".
2013 Aug 22
2
Build problems: klibc with Linux 3.10.7
...rit :
> Le 22/08/2013 00:59, Thorsten Glaser a ?crit :
>> 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
> Yes, indeed I found out that instead of doing 'make install
> prefix=/tmp/klibc-install', I shall do 'make install
> INSTALLROOT=/tmp/klibc-install prefix=/'
>
In fact no, it...
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 nntp://news.gmane.org/gmane.linux.debian.ports.68k
a.k.a. {news.gmane.org/nntp}#news.gmane.linux.debian.ports.68k in pine
2013 Aug 22
3
Build problems: klibc with Linux 3.10.7
Le 22/08/2013 14:36, Thorsten Glaser a ?crit :
> leroy christophe dixit:
>
>> If I set prefix to / and INSTALLROOT to /opt/klibc, klcc is not able to find
>> the include files
>> If I set prefix to /opt/klibc and SHLIBDIR to /opt/klibc/lib, it is the target
>> that tries to load klibc.so from /tmp/klibc-install/lib instead of /lib
> INSTALLROOT is some sort of DESTDIR: it?s a pr?fix only present
> at *file installation* time but n?o?t? at runtime.
>
> klibc assumes that, even if you want to install...
2005 May 20
0
patch-bugfix: actually install shared lib to INSTALLROOT
.../klibc/Makefile 2005-04-11 18:35:20.000000000 +0300
+++ klibc-1.0.8/klibc/Makefile 2005-05-17 19:30:09.000000000 +0300
@@ -185,7 +185,7 @@
$(INSTALL_EXEC) klibc-`cat $(SOLIB).hash`.so \
$(INSTALLROOT)$(INSTALLDIR)/$(CROSS)lib
$(INSTALL_EXEC) klibc-`cat $(SOLIB).hash`.so \
- $(INSTALLROOT)/$(SHLIBDIR)
+ $(INSTALLROOT)/$(INSTALLDIR)/$(SHLIBDIR)
ifneq ($(wildcard $(DIR).*.d),)
include $(wildcard $(DIR).*.d)
2005 May 24
2
klibc-1.0.12 released
Hopefully I should be up to date with all patches; haven't integrated
the module-init-tools, and some of Erik's patches didn't make it for
different reasons, which hopefully can be resolved soon.
If you have sent another patch which I haven't applied, please do let me
know.
-hpa
2013 Aug 22
0
Build problems: klibc with Linux 3.10.7
...y from /lib on the target is with the
> attached patch.
And, again, your patch is wrong because this _seems_ to be by design,
unless it?s by accident.
> If I set prefix to / and INSTALLROOT to /opt/klibc, klcc is not able to find
> the include files
> If I set prefix to /opt/klibc and SHLIBDIR to /opt/klibc/lib, it is the target
> that tries to load klibc.so from /tmp/klibc-install/lib instead of /lib
INSTALLROOT is some sort of DESTDIR: it?s a pr?fix only present
at *file installation* time but n?o?t? at runtime.
klibc assumes that, even if you want to install it under /opt/klibc/l...
2013 Aug 22
0
Build problems: klibc with Linux 3.10.7
leroy christophe dixit:
> But I'm building a klibc/klcc for cross-compilation, and I don't need (and
> don't want) a powerpc klibc.so in /lib in the middle of all other i386 libs.
Of course you don?t. You?re just needing to set SHLIBDIR explicitly
for this specific use case.
> As I say above your answer, when I set prefix to /opt/klibc and SHLIBDIR to
> /opt/klibc/lib, the target tried to load klibc.so from /opt/klibc/lib instead
> of /lib
That?s correct of course, except?
> But ok, I found the way to achieve what I...
2005 Feb 13
0
[PATCH] make install support
...WITH NO FINAL SLASH.
Index: klibc/Makefile
===================================================================
--- klibc/Makefile (revision 1009)
+++ klibc/Makefile (working copy)
@@ -152,6 +152,13 @@
objects-static: $(STATIC)
touch $(DIR)static.obj
+install-shared:
+ $(INSTALL) -d $(DESTDIR)$(SHLIBDIR)
+ $(INSTALL) -m 0755 klibc-`cat $(SOLIB).hash`.so $(DESTDIR)$(SHLIBDIR)
+
+install-static:
+ :
+
clean: archclean
find . -type f -a \( -name \*.[isoa] -o -name \*.l[iso] \) -print0 | xargs -0rt rm -f
rm -f *.a *.so *.hash *.syms *.stripped
Index: ipconfig/Makefile
============================...
2013 Aug 20
0
Build problems: klibc with Linux 3.10.7
...: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.2/scripts/Kbuild.install klibc-2.0.2.new/scripts/Kbuild.install
--- klibc-2.0.2/scripts/Kbuild.install 2012-10-03 18:41:43.000000000 +0200
+++ klibc-2.0.2.new/scripts/Kbuild.i...
2020 Jul 13
3
CentOS 8 & HandBrakeCLI
...enable-version3
--enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid
--enable-libzimg --enable-libzvbi --enable-avfilter --enable-avresample
--enable-libmodplug --enable-postproc --enable-pthreads --disable-static
--enable-shared --enable-gpl --disable-debug --disable-stripping
--shlibdir=/usr/lib64 --enable-libmfx --enable-runtime-cpudetect
? libavutil????? 56. 31.100 / 56. 31.100
? libavcodec???? 58. 54.100 / 58. 54.100
? libavformat??? 58. 29.100 / 58. 29.100
? libavdevice??? 58.? 8.100 / 58.? 8.100
? libavfilter???? 7. 57.100 /? 7. 57.100
? libavresample?? 4.? 0.? 0 /? 4.?...
2005 Jul 29
1
move kbuild files to reflect dir structure in kernel
...REDFLAGS)
-USERCRT0 := $(objtree)/$(KLIBSRC)/arch/$(ARCH)/crt0.o
-USERLIBC := $(objtree)/$(KLIBSRC)/libc.a
-
-#
-# This indicates the location of the final version of the shared library.
-# THIS MUST BE AN ABSOLUTE PATH WITH NO FINAL SLASH.
-# Leave this empty to make it the root.
-#
-SHLIBDIR = /lib
-
-export USERLD USERCC USERAR USERSTRIP USERNM
-export USERCFLAGS USERAFLAGS USERLIBGCC USERSHAREDFLAGS USERSTRIPFLAGS
-export USERCRT0 USERLIBC SHLIBDIR
-
-# kernel configuration
-include .config
-
-# Add $(obj)/ for paths that is not absolute
-objectify = $(foreach o,$(1),$(if $(filter /%...
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
2020 Feb 29
0
[klibc:master] Kbuild: Tell gas we don't want executable stacks
...libgcc)
diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild
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"
...libgcc)
diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild
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
....note
diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild
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
2013 Aug 22
0
Build problems: klibc with Linux 3.10.7
Le 22/08/2013 00:59, Thorsten Glaser a ?crit :
> 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
Yes, indeed I found out that instead of doing 'make install
prefix=/tmp/klibc-install', I shall do 'make install
INSTALLROOT=/tmp/klibc-install prefix=/'
2020 Apr 29
2
[PATCH klibc 1/3] Revert " Kbuild: Tell gas we don't want executable stacks"
...libgcc)
diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild
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: applicati...
2005 Mar 02
2
[PATCH] klcc compatibility with gcc
...application, managed with GNU automake/autoconf. Packagers should be
able to build the application with klibc if available, with plain gcc
otherwise, as follows:
$ cd ~/klibc-0.202
$ ... make linux symlink
$ make bindir=$HOME/local/bin \
mandir=$HOME/local/man \
INSTALLDIR=$HOME/local \
SHLIBDIR=$HOME/local/shlib \
install
$ cd ~/myapp
$ ./configure --prefix=$HOME/local CC=$HOME/local/bin/klcc
It turns out klcc needs a few tweaks to function as a drop-in gcc
replacement, specifically:
* support -D -U -I options
* fix klcc -c myapp.o myapp.c
* fix klcc -o myapp myapp.o
Regards,
Er...
2006 Jun 26
0
[klibc 19/43] klibc basic build infrastructure
...rp.o
+KLIBCLIBCSHARED := $(KLIBCOBJ)/libc.so
+# How to tell the linker main() is the entrypoint
+KLIBCEMAIN ?= -e main
+
+#
+# This indicates the location of the final version of the shared library.
+# THIS MUST BE AN ABSOLUTE PATH WITH NO FINAL SLASH.
+# Leave this empty to make it the root.
+#
+SHLIBDIR = /lib
+
+export KLIBCLD KLIBCCC KLIBCAR KLIBCSTRIP KLIBCNM
+export KLIBCCFLAGS KLIBCAFLAGS KLIBCLIBGCC KLIBCSHAREDFLAGS KLIBCSTRIPFLAGS
+export KLIBCCRT0 KLIBCLIBC SHLIBDIR
+
+# kernel configuration
+include .config
+
+# Add $(obj)/ for paths that is not absolute
+objectify = $(foreach o,$(1),$(if...
2020 Aug 29
0
[klibc:riscv64-enable-relax] Kbuild, klcc: Support multiple objects in KLIBCCRTSHARED
...he 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)/