* [PATCH] Fix bootstrap after changes to libcpp
@ 2004-06-06 9:51 Andrew Pinski
2004-06-06 12:36 ` Gerald Pfeifer
2004-06-06 16:49 ` [PATCH] Fix bootstrap after changes to libcpp (part 2) Roger Sayle
0 siblings, 2 replies; 3+ messages in thread
From: Andrew Pinski @ 2004-06-06 9:51 UTC (permalink / raw)
To: GCC Patches; +Cc: Andrew Pinski
After Zack's recent changes to libcpp, bootstrap broke because
makedepend was not linking with libintl at all, this patch fixes
this problem.
I committed this as obvious as I can now get passed the build
of libcpp on powerpc-apple-darwin.
Thanks,
Andrew Pinski
ChangeLog:
* Makefile.am (LIBINTL): Declare
(makedepend_LDADD): Use LIBINTL.
* Makefile.in: Regenerate.
Patch:
Index: Makefile.am
===================================================================
RCS file: /cvs/gcc/gcc/libcpp/Makefile.am,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile.am
--- Makefile.am 5 Jun 2004 20:57:58 -0000 1.3
+++ Makefile.am 6 Jun 2004 04:20:18 -0000
@@ -13,8 +13,9 @@ noinst_HEADERS = \
include/cpplib.h include/line-map.h include/mkdeps.h \
include/symtab.h internal.h system.h ucnid.h
+LIBINTL = @LIBINTL@
noinst_PROGRAMS = makedepend
-makedepend_LDADD = libcpp.a ../libiberty/libiberty.a
+makedepend_LDADD = libcpp.a ../libiberty/libiberty.a $(LIBINTL)
XGETTEXT = @XGETTEXT@
GMSGFMT = @GMSGFMT@
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Fix bootstrap after changes to libcpp
2004-06-06 9:51 [PATCH] Fix bootstrap after changes to libcpp Andrew Pinski
@ 2004-06-06 12:36 ` Gerald Pfeifer
2004-06-06 16:49 ` [PATCH] Fix bootstrap after changes to libcpp (part 2) Roger Sayle
1 sibling, 0 replies; 3+ messages in thread
From: Gerald Pfeifer @ 2004-06-06 12:36 UTC (permalink / raw)
To: Andrew Pinski; +Cc: GCC Patches
On Sun, 6 Jun 2004, Andrew Pinski wrote:
> After Zack's recent changes to libcpp, bootstrap broke because
> makedepend was not linking with libintl at all, this patch fixes
> this problem.
Thanks.
> I committed this as obvious as I can now get passed the build
> of libcpp on powerpc-apple-darwin.
This also fixes the issue on i386-unknown-freebsd4.9.
Gerald
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] Fix bootstrap after changes to libcpp (part 2)
2004-06-06 9:51 [PATCH] Fix bootstrap after changes to libcpp Andrew Pinski
2004-06-06 12:36 ` Gerald Pfeifer
@ 2004-06-06 16:49 ` Roger Sayle
1 sibling, 0 replies; 3+ messages in thread
From: Roger Sayle @ 2004-06-06 16:49 UTC (permalink / raw)
To: gcc-patches; +Cc: Andrew Pinski, Zack Weinberg
Although Andrew Pinski's patch fixes bootstrap on both
powerpc-apple-darwin and i386-unknown-freebsd4.9, its not enough
to cure the failure on i686-pc-cygwin. In addition to -lintl,
libcpp's makedepend also needs to link against -liconv. However,
thanks to Andrew's patch, I now know what the necessary fix looks
like.
The following patch allows bootstrap on i686-pc-cygwin to proceed past
the makedepend link failure in libcpp. I've not committed this as obvious
as I'm not sure this might not create problems on hosts without -liconv.
Ok for mainline?
[p.s. I think the AC_PREREQ(2.57) in libcpp/configure.ac needs to be
upgraded to 2.58, as libcpp/aclocal.m4 contains an AC_PREREQ(2.58).
Whilst investigating this problem, I upgraded autoconf to 2.57 on the
advice of the error message, only to be informed by a second error
that I need to upgrade again to 2.58!]
2004-06-06 Roger Sayle <roger@eyesopen.com>
Andrew Pinski <pinskia@physics.uc.edu>
* Makefile.am (LIBICONV): Declare.
(makedepend_LDADD): Use LIBICONV.
* Makefile.in: Regenerate.
Index: Makefile.am
===================================================================
RCS file: /cvs/gcc/gcc/libcpp/Makefile.am,v
retrieving revision 1.4
diff -c -3 -p -u -p -r1.4 Makefile.am
--- Makefile.am 6 Jun 2004 04:23:01 -0000 1.4
+++ Makefile.am 6 Jun 2004 13:55:42 -0000
@@ -14,8 +14,9 @@ noinst_HEADERS = \
include/symtab.h internal.h system.h ucnid.h
LIBINTL = @LIBINTL@
+LIBICONV = @LIBICONV@
noinst_PROGRAMS = makedepend
-makedepend_LDADD = libcpp.a ../libiberty/libiberty.a $(LIBINTL)
+makedepend_LDADD = libcpp.a ../libiberty/libiberty.a $(LIBINTL) $(LIBICONV)
XGETTEXT = @XGETTEXT@
GMSGFMT = @GMSGFMT@
Roger
--
Roger Sayle, E-mail: roger@eyesopen.com
OpenEye Scientific Software, WWW: http://www.eyesopen.com/
Suite 1107, 3600 Cerrillos Road, Tel: (+1) 505-473-7385
Santa Fe, New Mexico, 87507. Fax: (+1) 505-473-0833
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-06-06 14:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-06 9:51 [PATCH] Fix bootstrap after changes to libcpp Andrew Pinski
2004-06-06 12:36 ` Gerald Pfeifer
2004-06-06 16:49 ` [PATCH] Fix bootstrap after changes to libcpp (part 2) Roger Sayle
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).