public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/13893] New: cross compile issue with prefix: ld.so.conf not found
@ 2012-03-22 22:54 glibc at sailorcire dot homelinux.com
2012-03-22 23:21 ` [Bug build/13893] " glibc at sailorcire dot homelinux.com
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: glibc at sailorcire dot homelinux.com @ 2012-03-22 22:54 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=13893
Bug #: 13893
Summary: cross compile issue with prefix: ld.so.conf not found
Product: glibc
Version: 2.14
Status: NEW
Severity: minor
Priority: P2
Component: build
AssignedTo: unassigned@sourceware.org
ReportedBy: glibc@sailorcire.homelinux.com
CC: carlos@systemhalted.org
Classification: Unclassified
host/build/target:
i696/2.14.1/arm
uname -a (modified hostname):
Linux computer.site.tld 2.6.37.6-0.11-desktop #1 SMP PREEMPT 2011-12-19
23:39:38 +0100 i686 i686 i386 GNU/Linux
configure options:
configure --target=arm-linux --prefix=/usr/local/arm-linux --enable-add-on
gcc -v:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i586-suse-linux/4.5/lto-wrapper
Target: i586-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada
--enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.5
--enable-ssp --disable-libssp --disable-plugin
--with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux'
--disable-libgcj --disable-libmudflap --with-slibdir=/lib --with-system-zlib
--enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch
--enable-version-specific-runtime-libs --program-suffix=-4.5
--enable-linux-futex --without-system-libunwind --enable-gold
--with-plugin-ld=/usr/bin/gold --with-arch-32=i586 --with-tune=generic
--build=i586-suse-linux
Thread model: posix
gcc version 4.5.1 20101208 [gcc-4_5-branch revision 167585] (SUSE Linux)
ld -v:
GNU ld (GNU Binutils; openSUSE 11.4) 2.21
How to replicate:
After configure I then run make, which works fine. When it gets to the make
install I see this error:
Can't open configuration file /usr/local/arm-linux/etc/ld.so.conf: No such file
or directory make[1]: Leaving directory
I was able to fix this by doing the following:
mkdir -p /usr/local/arm-linux/etc
touch /usr/local/arm-linux/etc/ld.so.conf
Then running configure, make, make install.
As a suggestion, in the configure script, if the prefix is passed in that a
check is performed for a ld.so.conf; if there is not then touch it.
If there is anything else I can provide, let me know.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug build/13893] cross compile issue with prefix: ld.so.conf not found
2012-03-22 22:54 [Bug build/13893] New: cross compile issue with prefix: ld.so.conf not found glibc at sailorcire dot homelinux.com
@ 2012-03-22 23:21 ` glibc at sailorcire dot homelinux.com
2012-05-08 19:08 ` aj at suse dot de
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: glibc at sailorcire dot homelinux.com @ 2012-03-22 23:21 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=13893
glibc at sailorcire dot homelinux.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |glibc_2.14
Target| |arm
CC| |glibc at sailorcire dot
| |homelinux.com
Host| |i686
Build| |2.14.1
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug build/13893] cross compile issue with prefix: ld.so.conf not found
2012-03-22 22:54 [Bug build/13893] New: cross compile issue with prefix: ld.so.conf not found glibc at sailorcire dot homelinux.com
2012-03-22 23:21 ` [Bug build/13893] " glibc at sailorcire dot homelinux.com
@ 2012-05-08 19:08 ` aj at suse dot de
2012-05-09 4:12 ` aj at suse dot de
2014-06-26 13:44 ` fweimer at redhat dot com
3 siblings, 0 replies; 5+ messages in thread
From: aj at suse dot de @ 2012-05-08 19:08 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=13893
Andreas Jaeger <aj at suse dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |aj at suse dot de
--- Comment #1 from Andreas Jaeger <aj at suse dot de> 2012-05-08 19:07:26 UTC ---
do you mean something like:
test ! -x /home/aj/build/glibc/testing/elf/ldconfig || LC_ALL=C LANGUAGE=C \
/home/aj/build/glibc/testing/elf/ldconfig -r /tmp/test-glibc-install \
/lib64 /usr/lib64
/home/aj/build/glibc/testing/elf/ldconfig: Can't open configuration file
/tmp/test-glibc-install/etc/ld.so.conf: No such file or directory
make[1]: Leaving directory `/home/aj/cvs/glibc'
This is not a problem at all, ldconfig just returns since no config is
available. You can ignore this.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug build/13893] cross compile issue with prefix: ld.so.conf not found
2012-03-22 22:54 [Bug build/13893] New: cross compile issue with prefix: ld.so.conf not found glibc at sailorcire dot homelinux.com
2012-03-22 23:21 ` [Bug build/13893] " glibc at sailorcire dot homelinux.com
2012-05-08 19:08 ` aj at suse dot de
@ 2012-05-09 4:12 ` aj at suse dot de
2014-06-26 13:44 ` fweimer at redhat dot com
3 siblings, 0 replies; 5+ messages in thread
From: aj at suse dot de @ 2012-05-09 4:12 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=13893
Andreas Jaeger <aj at suse dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
AssignedTo|unassigned at sourceware |aj at suse dot de
|dot org |
--- Comment #2 from Andreas Jaeger <aj at suse dot de> 2012-05-09 04:11:55 UTC ---
I've changed the message now to:
Warning: ignoring configuration file that cannot be opened:
Commit to git.
2012-05-09 Andreas Jaeger <aj@suse.de>
[BZ #13983]
* elf/ldconfig.c (parse_conf): Change string to make clear that
ldconfig only issued a warning if ld.so.conf does not exist.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug build/13893] cross compile issue with prefix: ld.so.conf not found
2012-03-22 22:54 [Bug build/13893] New: cross compile issue with prefix: ld.so.conf not found glibc at sailorcire dot homelinux.com
` (2 preceding siblings ...)
2012-05-09 4:12 ` aj at suse dot de
@ 2014-06-26 13:44 ` fweimer at redhat dot com
3 siblings, 0 replies; 5+ messages in thread
From: fweimer at redhat dot com @ 2014-06-26 13:44 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=13893
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags| |security-
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-06-26 13:44 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-22 22:54 [Bug build/13893] New: cross compile issue with prefix: ld.so.conf not found glibc at sailorcire dot homelinux.com
2012-03-22 23:21 ` [Bug build/13893] " glibc at sailorcire dot homelinux.com
2012-05-08 19:08 ` aj at suse dot de
2012-05-09 4:12 ` aj at suse dot de
2014-06-26 13:44 ` fweimer at redhat dot com
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).