public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/41818]  New: Error building cross compiler caused by changing LD_LIBRARY_PATH environment variable in Makefile
@ 2009-10-24 20:08 denis dot onischenko at gmail dot com
  2009-10-24 20:23 ` [Bug bootstrap/41818] " denis dot onischenko at gmail dot com
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: denis dot onischenko at gmail dot com @ 2009-10-24 20:08 UTC (permalink / raw)
  To: gcc-bugs

The following error occurs when compiling "x86_64 to powerpc64"
cross compiler, as soon as the libgcc_s.so.1 has appeared in obj/gcc
directory:

...
# Now that we have built all the objects, we need to copy
# them back to the GCC directory.  Too many things (other
# in-tree libraries, and DejaGNU) know about the layout
# of the build tree, for now.
make install-leaf DESTDIR=../.././gcc \
 slibdir= libsubdir= MULTIOSDIR=.
make[5]: Entering directory
`/a/linux/.powerpc/gcc/obj/powerpc64-unknown-linux-gnu/libgcc'
/bin/bash ../../../src/libgcc/../mkinstalldirs ../.././gcc
/usr/bin/install -c -m 644 libgcc_eh.a ../.././gcc/
chmod 644 ../.././gcc/libgcc_eh.a
/a/linux/.powerpc/cross-tools/powerpc64-unknown-linux-gnu/bin/ranlib
../.././gcc/libgcc_eh.a
/bin/bash ../../../src/libgcc/../mkinstalldirs ../.././gcc;
/usr/bin/install -c -m 644 ./libgcc_s.so.1 ../.././gcc/libgcc_s.so.1;
rm -f ../.././gcc/libgcc_s.so; ln -s libgcc_s.so.1
../.././gcc/libgcc_s.so
/bin/bash ../../../src/libgcc/../mkinstalldirs ../.././gcc
/usr/bin/install -c -m 644 libgcc.a ../.././gcc/
chmod 644 ../.././gcc/libgcc.a
/a/linux/.powerpc/cross-tools/powerpc64-unknown-linux-gnu/bin/ranlib
../.././gcc/libgcc.a
/usr/bin/install -c -m 644 libgcov.a ../.././gcc/
chmod 644 ../.././gcc/libgcov.a
/a/linux/.powerpc/cross-tools/powerpc64-unknown-linux-gnu/bin/ranlib
../.././gcc/libgcov.a
parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o ecrti.o
ecrtn.o ncrti.o ncrtn.o"; \
for file in $parts; do \
 rm -f ../.././gcc/$file; \
 /usr/bin/install -c -m 644 $file ../.././gcc/; \
done
make[5]: Leaving directory
`/a/linux/.powerpc/gcc/obj/powerpc64-unknown-linux-gnu/libgcc'
make[4]: Leaving directory
`/a/linux/.powerpc/gcc/obj/powerpc64-unknown-linux-gnu/libgcc'
Checking multilib configuration for libgomp...
mkdir -p -- powerpc64-unknown-linux-gnu/libgomp
Configuring in powerpc64-unknown-linux-gnu/libgomp
configure: creating cache ./config.cache
checking for --enable-version-specific-runtime-libs... no
checking for --enable-generated-files-in-srcdir... no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... powerpc64-unknown-linux-gnu
checking target system type... powerpc64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for powerpc64-unknown-linux-gnu-strip...
/a/linux/.powerpc/cross-tools/powerpc64-unknown-linux-gnu/bin/strip
checking for powerpc64-unknown-linux-gnu-gcc...
/a/linux/.powerpc/gcc/obj/./gcc/xgcc
-B/a/linux/.powerpc/gcc/obj/./gcc/
-B/a/linux/.powerpc/cross-tools/powerpc64-unknown-linux-gnu/bin/
-B/a/linux/.powerpc/cross-tools/powerpc64-unknown-linux-gnu/lib/
-isystem /a/linux/.powerpc/cross-tools/powerpc64-unknown-linux-gnu/include
-isystem /a/linux/.powerpc/cross-tools/powerpc64-unknown-linux-gnu/sys-include
checking for C compiler default output file name... configure: error:
in `/a/linux/.powerpc/gcc/obj/powerpc64-unknown-linux-gnu/libgomp':
configure: error: C compiler cannot create executables
See `config.log' for more details.
make[3]: *** [configure-target-libgomp] Error 1
make[3]: Leaving directory `/a/linux/.powerpc/gcc/obj'

The obj/powerpc64-unknown-linux-gnu/libgomp/config.log content is:

...
configure:2569: checking for C compiler default output file name
configure:2572: /a/linux/.powerpc/gcc/obj/./gcc/xgcc
-B/a/linux/.powerpc/gcc/obj/./gcc/
-B/a/linux/.powerpc/cross-tools/powerpc64-unknown-linux-gnu/bin/
-B/a/linux/.powerpc/cross-tools/powerpc64-unknown-linux-gnu/lib/
-isystem /a/linux/.powerpc/cross-tools/powerpc64-unknown-linux-gnu/include
-isystem /a/linux/.powerpc/cross-tools/powerpc64-unknown-linux-gnu/sys-include
-g -O2     conftest.c  >&5
/a/linux/.powerpc/gcc/obj/./gcc/cc1: error while loading shared
libraries: /a/linux/.powerpc/gcc/obj/./gcc/libgcc_s.so.1: ELF file
data encoding not little-endian
configure:2575: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "GNU OpenMP Runtime Library"
| #define PACKAGE_TARNAME "libgomp"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU OpenMP Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libgomp"
| #define VERSION "1.0"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2613: error: in
`/a/linux/.powerpc/gcc/obj/powerpc64-unknown-linux-gnu/libgomp':
configure:2616: error: C compiler cannot create executables
See `config.log' for more details.
...


It seems that host cc1 executable tries to load target libgcc_s.so.1
from obj/gcc directory, rather than host libgcc_s.so.1 from /lib.

I have successfully build the cross-compiler with overriden RPATH_ENVVAR
variable, as following:

make RPATH_ENVVAR=MY_LD_LIBRARY_PATH

 So error was indeed caused by changing LD_LIBRARY_PATH environment variable
during the build

HOST gcc version is:

Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.1-4ubuntu4'
--with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared
--enable-multiarch --enable-linker-build-id --with-system-zlib
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls
--enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-objc-gc
--disable-werror --with-arch-32=i486 --with-tune=generic
--enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu
--target=x86_64-linux-gnu
Thread model: posix
gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu4) 


gcc versions I was tried to build are 4.4.1 and 4.5.0 (rev 153504)


-- 
           Summary: Error building cross compiler caused by changing
                    LD_LIBRARY_PATH environment variable in Makefile
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: denis dot onischenko at gmail dot com
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: powerpc64-unknown-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41818


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/41818] Error building cross compiler caused by changing LD_LIBRARY_PATH environment variable in Makefile
  2009-10-24 20:08 [Bug bootstrap/41818] New: Error building cross compiler caused by changing LD_LIBRARY_PATH environment variable in Makefile denis dot onischenko at gmail dot com
@ 2009-10-24 20:23 ` denis dot onischenko at gmail dot com
  2009-10-25 21:00 ` pinskia at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: denis dot onischenko at gmail dot com @ 2009-10-24 20:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from denis dot onischenko at gmail dot com  2009-10-24 20:23 -------
I run the configure script as follows:

../src/configure --build=x86_64-unknown-linux-gnu
--host=x86_64-unknown-linux-gnu --target=powerpc64-unknown-linux-gnu
--prefix=$(BUILDDIR)/cross-tools --disable-werror --with-sysroot=$(SYSROOT)
--enable-languages=c,c++ --disable-multilib
--disable-nls


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41818


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/41818] Error building cross compiler caused by changing LD_LIBRARY_PATH environment variable in Makefile
  2009-10-24 20:08 [Bug bootstrap/41818] New: Error building cross compiler caused by changing LD_LIBRARY_PATH environment variable in Makefile denis dot onischenko at gmail dot com
  2009-10-24 20:23 ` [Bug bootstrap/41818] " denis dot onischenko at gmail dot com
@ 2009-10-25 21:00 ` pinskia at gcc dot gnu dot org
  2009-10-25 21:01 ` pinskia at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-10-25 21:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2009-10-25 21:00 -------
@if gcc-bootstrap
        $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed
's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
@endif gcc-bootstrap


That is only happens when doing a native bootstrap and never when doing a cross
build.  


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41818


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/41818] Error building cross compiler caused by changing LD_LIBRARY_PATH environment variable in Makefile
  2009-10-24 20:08 [Bug bootstrap/41818] New: Error building cross compiler caused by changing LD_LIBRARY_PATH environment variable in Makefile denis dot onischenko at gmail dot com
  2009-10-24 20:23 ` [Bug bootstrap/41818] " denis dot onischenko at gmail dot com
  2009-10-25 21:00 ` pinskia at gcc dot gnu dot org
@ 2009-10-25 21:01 ` pinskia at gcc dot gnu dot org
  2010-01-06 13:53 ` jocke at vmlinux dot org
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-10-25 21:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2009-10-25 21:01 -------
Actually, wait:
        $(RPATH_ENVVAR)=`echo
"$(HOST_LIB_PATH)$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed
's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);

For BASE_TARGET_EXPORTS.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41818


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/41818] Error building cross compiler caused by changing LD_LIBRARY_PATH environment variable in Makefile
  2009-10-24 20:08 [Bug bootstrap/41818] New: Error building cross compiler caused by changing LD_LIBRARY_PATH environment variable in Makefile denis dot onischenko at gmail dot com
                   ` (2 preceding siblings ...)
  2009-10-25 21:01 ` pinskia at gcc dot gnu dot org
@ 2010-01-06 13:53 ` jocke at vmlinux dot org
  2010-01-06 17:33 ` rwild at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: jocke at vmlinux dot org @ 2010-01-06 13:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jocke at vmlinux dot org  2010-01-06 13:53 -------
I can confirm this issue while building an armeb-unknown-uclibcgnueabi
(big-endian) cross toolchain on i686 (Ubuntu 9.10 32-bit) using crosstool-NG. 
However, I cannot replicate it on any host running x86_64 (Ubuntu 9.04 or 9.10,
64-bit).  Also, when building a arm-unknown-uclibcgnueabi (little-endian) this
bug is not triggered.  Maybe that helps.

Some of the messages in the official mailing list archive related to this issue
have somehow been lost (?),
http://gcc.gnu.org/ml/gcc-bugs/2009-10/msg02122.html (see the thread view).  I
found
http://old.nabble.com/Re:-Error-when-building-cross-compiler-td25755999.html
where Kai Ruottu gave some interesting insight.

The bug can be worked around by adding the --disable-shared configure option to
the last (final) stage in the compiler build.


-- 

jocke at vmlinux dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jocke at vmlinux dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41818


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/41818] Error building cross compiler caused by changing LD_LIBRARY_PATH environment variable in Makefile
  2009-10-24 20:08 [Bug bootstrap/41818] New: Error building cross compiler caused by changing LD_LIBRARY_PATH environment variable in Makefile denis dot onischenko at gmail dot com
                   ` (3 preceding siblings ...)
  2010-01-06 13:53 ` jocke at vmlinux dot org
@ 2010-01-06 17:33 ` rwild at gcc dot gnu dot org
  2010-01-06 20:19 ` denis dot onischenko at gmail dot com
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: rwild at gcc dot gnu dot org @ 2010-01-06 17:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rwild at gcc dot gnu dot org  2010-01-06 17:33 -------
Created an attachment (id=19486)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19486&action=view)
patch to add TARGET_LIB_PATH only when bootstrapping

Please try this patch.  Thanks.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41818


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/41818] Error building cross compiler caused by changing LD_LIBRARY_PATH environment variable in Makefile
  2009-10-24 20:08 [Bug bootstrap/41818] New: Error building cross compiler caused by changing LD_LIBRARY_PATH environment variable in Makefile denis dot onischenko at gmail dot com
                   ` (4 preceding siblings ...)
  2010-01-06 17:33 ` rwild at gcc dot gnu dot org
@ 2010-01-06 20:19 ` denis dot onischenko at gmail dot com
  2010-01-06 20:32 ` jocke at vmlinux dot org
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: denis dot onischenko at gmail dot com @ 2010-01-06 20:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from denis dot onischenko at gmail dot com  2010-01-06 20:19 -------
(In reply to comment #5)
> Created an attachment (id=19486)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19486&action=view) [edit]
> patch to add TARGET_LIB_PATH only when bootstrapping
> 
> Please try this patch.  Thanks.
> 

I have successfuly compiled cross compiler with this patch. gcc revision is
155559. host is x86_64-unknown-linux-gnu, target is
powerpc64-unknown-linux-gnu.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41818


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/41818] Error building cross compiler caused by changing LD_LIBRARY_PATH environment variable in Makefile
  2009-10-24 20:08 [Bug bootstrap/41818] New: Error building cross compiler caused by changing LD_LIBRARY_PATH environment variable in Makefile denis dot onischenko at gmail dot com
                   ` (5 preceding siblings ...)
  2010-01-06 20:19 ` denis dot onischenko at gmail dot com
@ 2010-01-06 20:32 ` jocke at vmlinux dot org
  2010-01-07 19:54 ` rwild at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: jocke at vmlinux dot org @ 2010-01-06 20:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from jocke at vmlinux dot org  2010-01-06 20:31 -------
Yep, works for me too, using crosstool-NG to build an
armeb-unknown-linux-uclibcgnueabi for i686 host. Thanks Ralf!


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41818


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/41818] Error building cross compiler caused by changing LD_LIBRARY_PATH environment variable in Makefile
  2009-10-24 20:08 [Bug bootstrap/41818] New: Error building cross compiler caused by changing LD_LIBRARY_PATH environment variable in Makefile denis dot onischenko at gmail dot com
                   ` (6 preceding siblings ...)
  2010-01-06 20:32 ` jocke at vmlinux dot org
@ 2010-01-07 19:54 ` rwild at gcc dot gnu dot org
  2010-01-07 19:57 ` rwild at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: rwild at gcc dot gnu dot org @ 2010-01-07 19:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from rwild at gcc dot gnu dot org  2010-01-07 19:54 -------
Subject: Bug 41818

Author: rwild
Date: Thu Jan  7 19:53:50 2010
New Revision: 155706

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155706
Log:
Fix PR bootstrap/41818.

/:
        PR bootstrap/41818
        * Makefile.tpl (BASE_TARGET_EXPORTS): Only add TARGET_LIB_PATH
        to $(RPATH_ENVVAR) if bootstrapping.  Fix typo in comment.
        * Makefile.in: Regenerate.


Modified:
    trunk/ChangeLog
    trunk/Makefile.in
    trunk/Makefile.tpl


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41818


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/41818] Error building cross compiler caused by changing LD_LIBRARY_PATH environment variable in Makefile
  2009-10-24 20:08 [Bug bootstrap/41818] New: Error building cross compiler caused by changing LD_LIBRARY_PATH environment variable in Makefile denis dot onischenko at gmail dot com
                   ` (7 preceding siblings ...)
  2010-01-07 19:54 ` rwild at gcc dot gnu dot org
@ 2010-01-07 19:57 ` rwild at gcc dot gnu dot org
  2010-02-27  1:21 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: rwild at gcc dot gnu dot org @ 2010-01-07 19:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from rwild at gcc dot gnu dot org  2010-01-07 19:57 -------
Fixed.


-- 

rwild at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41818


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/41818] Error building cross compiler caused by changing LD_LIBRARY_PATH environment variable in Makefile
  2009-10-24 20:08 [Bug bootstrap/41818] New: Error building cross compiler caused by changing LD_LIBRARY_PATH environment variable in Makefile denis dot onischenko at gmail dot com
                   ` (8 preceding siblings ...)
  2010-01-07 19:57 ` rwild at gcc dot gnu dot org
@ 2010-02-27  1:21 ` pinskia at gcc dot gnu dot org
  2010-08-05 23:29 ` lacombar at gmail dot com
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-02-27  1:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from pinskia at gcc dot gnu dot org  2010-02-27 01:20 -------
*** Bug 43194 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |viriketo at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41818


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/41818] Error building cross compiler caused by changing LD_LIBRARY_PATH environment variable in Makefile
  2009-10-24 20:08 [Bug bootstrap/41818] New: Error building cross compiler caused by changing LD_LIBRARY_PATH environment variable in Makefile denis dot onischenko at gmail dot com
                   ` (9 preceding siblings ...)
  2010-02-27  1:21 ` pinskia at gcc dot gnu dot org
@ 2010-08-05 23:29 ` lacombar at gmail dot com
  2010-08-06  0:01 ` lacombar at gmail dot com
  2010-08-07 14:18 ` rwild at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: lacombar at gmail dot com @ 2010-08-05 23:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from lacombar at gmail dot com  2010-08-05 23:29 -------
I encountered that issue with gcc 4.3.4 on the following target:
mips-unknown-linux-uclibc. I'm currently confirming with gcc 4.3.5. If it still
happen, would it be worth pulling to the 4.3 branch ?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41818


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/41818] Error building cross compiler caused by changing LD_LIBRARY_PATH environment variable in Makefile
  2009-10-24 20:08 [Bug bootstrap/41818] New: Error building cross compiler caused by changing LD_LIBRARY_PATH environment variable in Makefile denis dot onischenko at gmail dot com
                   ` (10 preceding siblings ...)
  2010-08-05 23:29 ` lacombar at gmail dot com
@ 2010-08-06  0:01 ` lacombar at gmail dot com
  2010-08-07 14:18 ` rwild at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: lacombar at gmail dot com @ 2010-08-06  0:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from lacombar at gmail dot com  2010-08-06 00:01 -------
ok, 3.4.5, same target is bad too:

./mips-unknown-linux-uclibc/libstdc++-v3/config.log:
error while loading shared libraries:
/targets/mips-unknown-linux-uclibc/build/build-cc/./gcc/libgcc_s.so.1: ELF file
data encoding not little-endian


-- 

lacombar at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lacombar at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41818


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/41818] Error building cross compiler caused by changing LD_LIBRARY_PATH environment variable in Makefile
  2009-10-24 20:08 [Bug bootstrap/41818] New: Error building cross compiler caused by changing LD_LIBRARY_PATH environment variable in Makefile denis dot onischenko at gmail dot com
                   ` (11 preceding siblings ...)
  2010-08-06  0:01 ` lacombar at gmail dot com
@ 2010-08-07 14:18 ` rwild at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: rwild at gcc dot gnu dot org @ 2010-08-07 14:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from rwild at gcc dot gnu dot org  2010-08-07 14:18 -------
(In reply to comment #11)
> I encountered that issue with gcc 4.3.4 on the following target:
> mips-unknown-linux-uclibc. I'm currently confirming with gcc 4.3.5. If it still
> happen, would it be worth pulling to the 4.3 branch ?

Can you please confirm that the patch from comment #8 fixes the issue for you
on the 4.3 (and maybe also 4.4) branch?  I'd propose the backport on
gcc-patches then.  Thanks.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41818


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2010-08-07 14:18 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-24 20:08 [Bug bootstrap/41818] New: Error building cross compiler caused by changing LD_LIBRARY_PATH environment variable in Makefile denis dot onischenko at gmail dot com
2009-10-24 20:23 ` [Bug bootstrap/41818] " denis dot onischenko at gmail dot com
2009-10-25 21:00 ` pinskia at gcc dot gnu dot org
2009-10-25 21:01 ` pinskia at gcc dot gnu dot org
2010-01-06 13:53 ` jocke at vmlinux dot org
2010-01-06 17:33 ` rwild at gcc dot gnu dot org
2010-01-06 20:19 ` denis dot onischenko at gmail dot com
2010-01-06 20:32 ` jocke at vmlinux dot org
2010-01-07 19:54 ` rwild at gcc dot gnu dot org
2010-01-07 19:57 ` rwild at gcc dot gnu dot org
2010-02-27  1:21 ` pinskia at gcc dot gnu dot org
2010-08-05 23:29 ` lacombar at gmail dot com
2010-08-06  0:01 ` lacombar at gmail dot com
2010-08-07 14:18 ` rwild at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).