he lack of FILECMD was causing failures for mips64 builds as -m elf was
being passed to LD which isn't supported on our targets.
Signed-off-by: Richard Purdie
---
m4/libtool.m4 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index c5be6436..bbf2d2
clang uses -rtlib and --unwindlib to select proper compiler runtime in
some cases. Therefore pass these options to linker when found in
ldflags
* build-aux/ltmain.in: Handle clang linker options
---
build-aux/ltmain.in | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/build-a
If lto is enabled, we need the prefix-map variables to be passed to the linker
to correctly link the objects using correctly mapped paths.
Add these to the list of options libtool passes through.
* build-aux/ltmain.in: Handle prefix-map compiler options
---
build-aux/ltmain.in | 2 ++
1 file cha
If $CC has --sysroot=/, it is a valid configuration however libtool will
then set lt_sysroot to "/".
This means references like $lt_sysroot$libdir become //usr/lib instead
of the more normally expected /usr/lib. This may or may not break something
but certainly is confusing to the user and gives c
On Tue, 2024-01-16 at 20:47 -0500, Mike Frysinger wrote:
> On 16 Jan 2024 15:14, Richard Purdie wrote:
> > --- a/build-aux/ltmain.in
> > +++ b/build-aux/ltmain.in
> > @@ -7,7 +7,6 @@
> > # Copyright (C) 1996-2019, 2021-2024 Free Software Foundation, Inc.
> >
On Mon, 2024-01-15 at 17:00 -0500, Mike Frysinger wrote:
> On 25 Oct 2021 15:33, Richard Purdie wrote:
> > Update libtool.m4 to resolve a problem with lt_sysroot not being properly
> > updated if the option '--with[-libtool]-sysroot' is not provided when
> > runni
If $CC has --sysroot=/, it is a valid configuration however libtool will
then set lt_sysroot to "/".
This means references like $lt_sysroot$libdir become //usr/lib instead
of the more normally expected /usr/lib. This may or may not break something
but certainly is confusing to the user and gives c
On Mon, 2024-01-15 at 20:10 -0500, Mike Frysinger wrote:
> On 25 Oct 2021 15:33, Richard Purdie wrote:
> > We don't want to add RPATHS which match default linker search paths, they're
> > a waste of space. This patch filters libtools list of paths to encoode and
> >
If lto is enabled, we need the prefix-map variables to be passed to the linker
to correctly link the objects using correctly mapped paths.
Add these to the list of options libtool passes through.
* build-aux/ltmain.in: Handle prefix-map compiler options
---
build-aux/ltmain.in | 3 ++-
1 file ch
clang uses -rtlib and --unwindlib to select proper compiler runtime in
some cases. Therefore pass these options to linker when found in
ldflags
* build-aux/ltmain.in: Handle clang linker options
---
build-aux/ltmain.in | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/build-a
The name of the system contains the string "nios2". This string
is caught by the some of the greedy checks for OS/2 in libtool,
in particular the *os2* branches of switch statements match for
the nios2 string, which results in incorrect behavior of libtool.
Switch to use $host_os instead of $host
Somehow my original reply ended up blank, sorry. I've retyped it from
memory as best I can.
On Mon, 2024-01-15 at 20:08 -0500, Mike Frysinger wrote:
> On 25 Oct 2021 15:33, Richard Purdie wrote:
> > This patch renames the --with-sysroot option to --with-libtool-sysroot
> >
On Sat, 2022-11-19 at 18:32 +, Sam James wrote:
>
> > On 16 Apr 2022, at 18:58, Sam James wrote:
> >
> > Done after discussion w/ Alex (thanks!). Rebased on master after
> > 2.4.7 release.
>
> Ping. Could we maybe get the easy ones in and then revisit
> the bits which received comments (unc
On Wed, 2022-04-20 at 01:12 +0100, Sam James wrote:
>
> > On 17 Apr 2022, at 05:55, Alex Ameen wrote:
> >
> > This was all green down the line on the test suite on multiple systems (
> > don't get too excited yet ) until I found bugs in the testsuite...
> >
> > I see how this flew under the rad
oesn't see the paths as equal. Strip both paths to ensure this works
reliably.
Signed-off-by: Richard Purdie
---
build-aux/ltmain.in | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index 96b37003..3d5dcd0a 100644
--- a/buil
There is a bug where RPATHs could end up containing sysroot values when
cross compiling which is obviously incorrect. Strip out sysroot components
from libdir when building RPATH values to avoid this.
Signed-off-by: Richard Purdie
---
build-aux/ltmain.in | 14 --
1 file changed, 12
utoheader run before autoconf to avoid this race.
Signed-off-by: Mingli Yu
Signed-off-by: Richard Purdie
---
Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index 6b546092..84795d87 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -370,7 +370,7
Update libtool.m4 to resolve a problem with lt_sysroot not being properly
updated if the option '--with[-libtool]-sysroot' is not provided when
running the 'configure' script for a package so that "/" as a sysroot
is handled correctly by libtool.
Signed-off-by: Rich
fore comparision.
Signed-off-by: Richard Purdie
---
build-aux/ltmain.in | 34 --
1 file changed, 28 insertions(+), 6 deletions(-)
diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index 96238350..6fb58ed2 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltma
From: Khem Raj
When using a sysroot we should append it to libdir, which is helpful in
cross builds as the system is staged in the sysroot. For normal builds,
i.e. when lt_sysroot is not set, it will still behave the same and add
-L/usr/lib to the relink command.
Signed-off-by: Richard Purdie
the above race.
Signed-off-by: Mingli Yu
Signed-off-by: Richard Purdie
---
Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index 84795d87..8c9949ed 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -333,7 +333,7 @@ EXTRA_DIST += $(lt_
If lto is enabled, we need the prefix-map variables to be passed to the linker.
Add these to the list of options libtool passes through.
Signed-off-by: Richard Purdie
---
build-aux/ltmain.in | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/build-aux/ltmain.in b/build-aux
ch adds an explicit check for *nios2* before the *os2*
checks to prevent the OS/2 check incorrectly trapping the nios2
as well.
Signed-off-by: Marek Vasut
Signed-off-by: Richard Purdie
---
build-aux/ltmain.in | 20
1 file changed, 20 insertions(+)
diff --git a/build-aux/l
aries.
Signed-off-by: Khem Raj
Signed-off-by: Richard Purdie
---
m4/libtool.m4 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index 180dd9d1..022c1292 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -7560,7 +7560,7 @@ if AC_TRY_EVAL(ac_compile);
For reproducibilty, stop encoding the hostname into the libtool script, this
isn't
really adding much to debugging and most distros are carrying such a patch now
as
reproducibility is important.
Signed-off-by: Richard Purdie
---
m4/libtool.m4 | 1 -
1 file changed, 1 deletion(-)
diff --
: Richard Purdie
---
m4/libtool.m4| 12 ++--
tests/sysroot.at | 6 +++---
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index f2d1f398..de2f1ebf 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -1246,28 +1246,28 @@ _LT_DECL([], [ECHO], [1], [An
ies
Marek Vasut (1):
libtool: Fix support for NIOS2 processor
Mingli Yu (2):
Makefile.am: make sure autoheader run before autoconf
Makefile.am: make sure autoheader run before automake
Richard Purdie (6):
ltmain.in: Handle trailing slashes on install commands correctly
ltmain.sh: Fix sys
On Fri, 2008-05-02 at 01:03 -0500, Peter O'Gorman wrote:
> Peter O'Gorman wrote:
> > Richard Purdie wrote:
> >> Hi,
> >>
> >> As previously mentioned, I've been stress testing libtool 2.2.2 with
> >> Poky a bit.
> >>
> &g
Hi Ralf,
On Tue, 2008-04-22 at 21:43 +0200, Ralf Wildenhues wrote:
> Thanks for the bug report, and especially for providing an example to
> reproduce it!
>
> > libtool: link: ccache -static gcc -O20 -ffast-math -D_REENTRANT
> > -fsigned-char -DUSE_MEMORY_H -o decoder_example decoder_example.o
30 matches
Mail list logo