Bug 13056 - import new libltdl
Summary: import new libltdl
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: libgcj (show other bugs)
Version: 3.4.0
: P2 normal
Target Milestone: 3.4.0
Assignee: Not yet assigned to anyone
URL:
Keywords:
: 12940 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-11-14 20:37 UTC by Tom Tromey
Modified: 2003-12-31 19:23 UTC (History)
3 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2003-11-14 20:48:24


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Tromey 2003-11-14 20:37:12 UTC
Our version of libltdl is starting to show its age.
A newer version would benefit some platforms, I think
OS X and Cygwin were the two mentioned.
Comment 1 Andrew Pinski 2003-11-14 20:48:23 UTC
Confirmed.
Comment 2 Andrew Pinski 2003-11-19 19:01:30 UTC
This needs to be done before 3.4 to really support libgcj on Darwin.
Comment 3 GCC Commits 2003-12-16 21:48:28 UTC
Subject: Bug 13056

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	mkoch@gcc.gnu.org	2003-12-16 21:48:25

Modified files:
	libjava        : ChangeLog 
	libjava/java/lang: natRuntime.cc 
	libjava/libltdl: Makefile.am Makefile.in README acinclude.m4 
	                 aclocal.m4 config-h.in configure config.guess 
	                 config.sub ltdl.c ltdl.h ltmain.sh install-sh 
	                 missing 
Removed files:
	libjava/libltdl: config.h.in configure.in 

Log message:
	2003-12-16  Michael Koch  <konqueror@gmx.de>
	
	Fix for PR libgcj/13056.
	* libltdl/configure.in,
	libltdl/config.h.in: Removed.
	* libltdl/configure.ac,
	libltdl/config-h.in,
	libltdl/install-sh,
	libltdl/config.guess,
	libltdl/config.sub,
	libltdl/missing,
	libltdl/mkinstalldirs,
	libltdl/ltmain.sh: New files.
	* libltdl/Makefile.am,
	libltdl/acinclude.m4,
	libltdl/aclocal.m4,
	libltdl/ltdl.c,
	libltdl/ltdl.h,
	libltdl/README: Update to versions from libtool 1.5.
	libltdl/configure,
	* libltdl/Makefile.in: Regenerated.
	* java/lang/natRuntime.cc (find_symbol):
	Use type 'lt_ptr' instead of 'lt_ptr_t'.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&r1=1.2447&r2=1.2448
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/java/lang/natRuntime.cc.diff?cvsroot=gcc&r1=1.39&r2=1.40
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/libltdl/Makefile.am.diff?cvsroot=gcc&r1=1.4&r2=1.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/libltdl/Makefile.in.diff?cvsroot=gcc&r1=1.6&r2=1.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/libltdl/README.diff?cvsroot=gcc&r1=1.2&r2=1.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/libltdl/acinclude.m4.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/libltdl/aclocal.m4.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/libltdl/config-h.in.diff?cvsroot=gcc&r1=1.1.1.1&r2=1.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/libltdl/configure.diff?cvsroot=gcc&r1=1.8&r2=1.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/libltdl/config.guess.diff?cvsroot=gcc&r1=1.1.1.1&r2=1.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/libltdl/config.sub.diff?cvsroot=gcc&r1=1.1.1.1&r2=1.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/libltdl/ltdl.c.diff?cvsroot=gcc&r1=1.4&r2=1.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/libltdl/ltdl.h.diff?cvsroot=gcc&r1=1.2&r2=1.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/libltdl/ltmain.sh.diff?cvsroot=gcc&r1=1.1.1.1&r2=1.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/libltdl/install-sh.diff?cvsroot=gcc&r1=1.1.1.1&r2=1.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/libltdl/missing.diff?cvsroot=gcc&r1=1.1.1.1&r2=1.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/libltdl/config.h.in.diff?cvsroot=gcc&r1=1.4&r2=NONE
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/libltdl/configure.in.diff?cvsroot=gcc&r1=1.7&r2=NONE

Comment 4 Andrew Pinski 2003-12-16 22:45:19 UTC
Fixed for 3.4.
Comment 5 Jim Wilson 2003-12-17 06:13:37 UTC
There is a stamp-h.in file in the libltdl directory that is no longer used by
the Makefile.  It looks like it should have been deleted as part of the import.

Also, I ran into a problem with the contrib/gcc_update script.  It went into an
infinite loop because the libltdl/configure.in file no longer exists, and is
mentioned in this file as a dependency.  I already have a patch for this, which
I expect to check in shortly.
Comment 6 Michael Koch 2003-12-17 16:29:20 UTC
I removed the file stamp-h.in now. Thanks for the hint, Jim. 
Comment 7 Andrew Pinski 2003-12-31 19:23:37 UTC
*** Bug 12940 has been marked as a duplicate of this bug. ***