Discussion:
[Bug build/17901] New: No rule to make target libreadline
naroyce at hotmail dot com
2015-01-29 11:16:25 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=17901

Bug ID: 17901
Summary: No rule to make target libreadline
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: build
Assignee: unassigned at sourceware dot org
Reporter: naroyce at hotmail dot com

Debian 8 (jessie/testing)
Order of trunk items built/installed:
Automake
Help2man
Autoconf
libtool
intltool
Xz
texlive(Portable)
zlib
Bzip
pkg-config1
expat
perl
cpython
libgpg-error
libgcrypt
libxml2
libxslt
docbook (xsl,4.2,4.3)
gtk-doc
libffi
glib
pkg-config2
ncurses
texinfo
flex
bison
gperf
netpbm
groff
gettext
m4
gawk
file
curl
gmp
mpfr
mpc
isl
cloog
***binutils

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.8.3-13'
--with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs
--enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.8 --enable-shared --enable-linker-build-id
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls
--with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug
--enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap
--enable-plugin --with-system-zlib --disable-browser-plugin
--enable-java-awt=gtk --enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64
--with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar
--enable-objc-gc --enable-multiarch --with-arch-32=i586 --with-abi=m64
--with-multilib-list=m32,m64,mx32 --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.8.3 (Debian 4.8.3-13)

$ CFLAGS="${buildCFLAGS}" CXXFLAGS="${buildCXXFLAGS}" LDFLAGS="${buildLDFLAGS}"
CPPFLAGS="${buildCPPFLAGS}" AR=ar AS=as ./configure --prefix=/cross-tools
--host=${CLFS_HOST} --target=${CLFS_TARGET} --with-sysroot=${CLFS}
--with-lib-path=/${CLFS_TARGET}/lib --disable-nls --disable-static
--disable-multilib --disable-werror

$ make

commit 0f81d3f0a799c6e8c2a89d7f519916e3c9c0f65e
Date: Thu Jan 29 20:33:26 2015 +1030
*****
Making init.c
gcc -O3 -pipe -march=corei7 -mtune=corei7 -I. -I. -I./common -I./config
-DLOCALEDIR="\"/cross-tools/share/locale\"" -DHAVE_CONFIG_H
-I./../include/opcode -I./../opcodes/.. -I./../readline/.. -I../bfd -I./../bfd
-I./../include -I../libdecnumber -I./../libdecnumber -I./gnulib/import
-Ibuild-gnulib/import -DTUI=1 -I/cross-tools/include -Wall
-Wdeclaration-after-statement -Wpointer-arith -Wpointer-sign -Wno-unused
-Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts
-Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body
-Wmissing-parameter-type -Wold-style-declaration -Wold-style-definition
-Wformat-nonliteral -c -o init.o -MT init.o -MMD -MP -MF .deps/init.Tpo init.c
make[2]: *** No rule to make target '../readline/libreadline.a', needed by
'gdb'. Stop.
make[2]: Leaving directory '/home/user/Desktop/binutils-gdb/gdb'
Makefile:9963: recipe for target 'all-gdb' failed
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory '/home/user/Desktop/binutils-gdb'
Makefile:837: recipe for target 'all' failed
make: *** [all] Error 2
*****

Cross-compiling is not being done yet. Only the prelude to the tools has been
done.
--
You are receiving this mail because:
You are on the CC list for the bug.
tromey at sourceware dot org
2018-08-07 22:18:19 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=17901

Tom Tromey <tromey at sourceware dot org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
CC| |tromey at sourceware dot org

--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
Is this still a problem?
Anyway I think the problem probably occurred earlier,
since readline is built before gdb.
What happened there?
--
You are receiving this mail because:
You are on the CC list for the bug.
naroyce at hotmail dot com
2018-08-07 22:25:38 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=17901

--- Comment #2 from naroyce at hotmail dot com ---
Daaang! Over 3 years old. I don't even remember what this was all about. Maybe
I was trying linuxfromscratch stuff.
In any case, I'm sure I've moved on and this can be closed, but I can't say
whether it's been resolved or not.
--
You are receiving this mail because:
You are on the CC list for the bug.
tromey at sourceware dot org
2018-08-07 17:05:27 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=17901

Tom Tromey <tromey at sourceware dot org> changed:

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

--- Comment #3 from Tom Tromey <tromey at sourceware dot org> ---
Ok, I will close it.
I'm sorry nobody replied sooner.
--
You are receiving this mail because:
You are on the CC list for the bug.
Loading...