public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/13093] New: ../glibc-$VERS/[...]/ldd-rewrite.sed: No such file or directory
@ 2011-08-15  9:22 christophe.jarry at ouvaton dot org
  2011-08-15 18:17 ` [Bug libc/13093] " christophe.jarry at ouvaton dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: christophe.jarry at ouvaton dot org @ 2011-08-15  9:22 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=13093

             Bug #: 13093
           Summary: ../glibc-$VERS/[...]/ldd-rewrite.sed: No such file or
                    directory
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper.fsp@gmail.com
        ReportedBy: christophe.jarry@ouvaton.org
    Classification: Unclassified


Note: this test has been run with glibc-2.13 + ports, but git version of the
"problematic" file (elf/Makefile) has the same problem as the one described
below.

After having patched glibc sources with
http://sources.redhat.com/bugzilla/attachment.cgi?id=5897, I tried to
cross-compile glibc 2.13 + MIPS port with GCC 4.6.0 and:

echo "libc_cv_forced_unwind=yes" > config.cache
echo "libc_cv_c_cleanup=yes" >> config.cache
BUILD_CC="gcc" \
    CC="mips64el-unknown-linux-gnu-gcc -march=loongson2f -mabi=n32" \
    AR="mips64el-unknown-linux-gnu-ar" \
    RANLIB="mips64el-unknown-linux-gnu-ranlib" \
    ../glibc-2.13/configure \
    --prefix=/usr \
    --libexecdir=/usr/lib/glibc \
    --build=mipsel-cross-linux-gnu \
    --host=mips64el-unknown-linux-gnu \
    --disable-profile \
    --enable-add-ons \
    --with-tls \
    --enable-kernel=2.6.26 \
    --with-__thread \
    --with-binutils=/microcebus/cross-tools/bin \
    --with-headers=/microcebus/usr/include \
    --cache-file=config.cache
make

make gives me the following error message:

LC_ALL=C sed -e 's%@RTLD@%/lib32/ld.so.1%g' -e 's%@VERSION@%2.13%g' -e
's%@BASH@%/bin/bash%g' -e 's%@TEXTDOMAINDIR@%/usr/share/locale%g' < ldd.bash.in
| LC_ALL=C sed -f
../glibc-2.13/ports/sysdeps/unix/sysv/linux/mips/mips64/ldd-rewrite.sed >
/microcebus/build/glibc-build/elf/ldd.new
sed: couldn't open file
../glibc-2.13/ports/sysdeps/unix/sysv/linux/mips/mips64/ldd-rewrite.sed: No
such file or directory
make[2]: *** [/microcebus/build/glibc-build/elf/ldd] Error 4
make[2]: Leaving directory `/microcebus/build/glibc-2.13/elf'
make[1]: *** [elf/others] Error 2
make[1]: Leaving directory `/microcebus/build/glibc-2.13'
make: *** [all] Error 2

../glibc-2.13/elf/Makefile contains the line:

LC_ALL=C sed $($(ldd-shell)-ldd-rewrite) < $< | LC_ALL=C sed -f
$(ldd-rewrite-script) > $@.new

My glibc-build/config.make contains:

ldd-rewrite-script =
../glibc-2.13/ports/sysdeps/unix/sysv/linux/mips/mips64/ldd-rewrite.sed

So I replaced the following line of ../glibc-2.13/elf/Makefile:

LC_ALL=C sed $($(ldd-shell)-ldd-rewrite) < $< | LC_ALL=C sed -f
$(ldd-rewrite-script) > $@.new

by:

LC_ALL=C sed $($(ldd-shell)-ldd-rewrite) < $< | LC_ALL=C sed -f
../$(ldd-rewrite-script) > $@.new

Then, make works as intended.

-- 
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 libc/13093] ../glibc-$VERS/[...]/ldd-rewrite.sed: No such file or directory
  2011-08-15  9:22 [Bug libc/13093] New: ../glibc-$VERS/[...]/ldd-rewrite.sed: No such file or directory christophe.jarry at ouvaton dot org
@ 2011-08-15 18:17 ` christophe.jarry at ouvaton dot org
  2011-08-22 13:20 ` [Bug ports/13093] " schwab@linux-m68k.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: christophe.jarry at ouvaton dot org @ 2011-08-15 18:17 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=13093

--- Comment #1 from christophe.jarry at ouvaton dot org 2011-08-15 18:17:17 UTC ---
Of course, the following line in ../glibc-2.13/elf/Makefile:

LC_ALL=C sed $($(ldd-shell)-ldd-rewrite) < $< | LC_ALL=C sed -f
$(ldd-rewrite-script) > $@.new

can only be replaced by:

LC_ALL=C sed $($(ldd-shell)-ldd-rewrite) < $< | LC_ALL=C sed -f
../$(ldd-rewrite-script) > $@.new

if configure is called from a relative path.

-- 
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 ports/13093] ../glibc-$VERS/[...]/ldd-rewrite.sed: No such file or directory
  2011-08-15  9:22 [Bug libc/13093] New: ../glibc-$VERS/[...]/ldd-rewrite.sed: No such file or directory christophe.jarry at ouvaton dot org
  2011-08-15 18:17 ` [Bug libc/13093] " christophe.jarry at ouvaton dot org
@ 2011-08-22 13:20 ` schwab@linux-m68k.org
  2011-09-29  8:18 ` aj at suse dot de
  2014-06-27 12:29 ` fweimer at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: schwab@linux-m68k.org @ 2011-08-22 13:20 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=13093

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|libc                        |ports
         AssignedTo|drepper.fsp at gmail dot    |roland at gnu dot org
                   |com                         |

-- 
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 ports/13093] ../glibc-$VERS/[...]/ldd-rewrite.sed: No such file or directory
  2011-08-15  9:22 [Bug libc/13093] New: ../glibc-$VERS/[...]/ldd-rewrite.sed: No such file or directory christophe.jarry at ouvaton dot org
  2011-08-15 18:17 ` [Bug libc/13093] " christophe.jarry at ouvaton dot org
  2011-08-22 13:20 ` [Bug ports/13093] " schwab@linux-m68k.org
@ 2011-09-29  8:18 ` aj at suse dot de
  2014-06-27 12:29 ` fweimer at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: aj at suse dot de @ 2011-09-29  8:18 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=13093

Andreas Jaeger <aj at suse dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |aj at suse dot de
         Resolution|                            |FIXED

--- Comment #2 from Andreas Jaeger <aj at suse dot de> 2011-09-29 08:17:56 UTC ---
This should be fixed in current git for glibc 2.15.

-- 
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 ports/13093] ../glibc-$VERS/[...]/ldd-rewrite.sed: No such file or directory
  2011-08-15  9:22 [Bug libc/13093] New: ../glibc-$VERS/[...]/ldd-rewrite.sed: No such file or directory christophe.jarry at ouvaton dot org
                   ` (2 preceding siblings ...)
  2011-09-29  8:18 ` aj at suse dot de
@ 2014-06-27 12:29 ` fweimer at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: fweimer at redhat dot com @ 2014-06-27 12:29 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=13093

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-27 12:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-15  9:22 [Bug libc/13093] New: ../glibc-$VERS/[...]/ldd-rewrite.sed: No such file or directory christophe.jarry at ouvaton dot org
2011-08-15 18:17 ` [Bug libc/13093] " christophe.jarry at ouvaton dot org
2011-08-22 13:20 ` [Bug ports/13093] " schwab@linux-m68k.org
2011-09-29  8:18 ` aj at suse dot de
2014-06-27 12:29 ` 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).