SID configury, libtoolery updated
Jim Blandy <[email protected]>
| Newsgroups | gmane.comp.emulators.sid.devel |
|---|---|
| Message-ID | <[email protected]> |
I've upgraded SID's libtool, autoconf, and automake machinery, fixed some warnings, and fixed a long-standing problem with components that link against libiberty. SID's libtool was having problems building shared libraries on the x86_64; in particular, it was refusing to recognize the PIC version of libiberty. The bug was fixed in the latest libtool, 1.5.18. However, the latest libtool seemed to require newer aclocal.m4 macros. So I've regenerated all of SID's aclocal.m4, Makefile.in, and configure files with automake 1.9.5 and autoconf 2.59, and upgraded the libtool files as well. I fixed a few files that provoked warnings. Now all the generated files can be produced without noise from the autotools, except for one in bochs that seems to feel I ought to be using libtool instead of ranlib. The entire effort was out of scope anyway, so I left that as it was. And finally, the SID components that depend on libiberty were linking against the non-PIC version. I believe this worked on the i386 because the members of libiberty.a happened to have no non-PIC-friendly relocs. On the x86_64, that's not the case; SID couldn't even load a CGEN cpu component. Now it seems to work fine. One oddity is that the tree must be configured with --enable-shared; otherwise, there is no PIC libiberty built, and thus we can't produce shared libraries for the components that depend on it. SID should fail with some helpful error message when --enable-shared is omitted; I haven't done that. The patches are mostly to generated files, and the rest are mostly formulaic. If anyone is interested in seeing the actual patch, I did set it aside, but I thought people would probably be happier with just the ChangeLog entries. sid/include/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * configure.in: Remove call to AC_ARG_PROGRAM, to avoid autoconf warnings about multiple uses. * configure: Regenerated with autoconf 2.59. * aclocal.m4, Makefile.in: Regenerated with Automake 1.9.5. sid/bsp/pregen/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in: Regenerated with Automake 1.9.5. sid/bsp/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in, aclocal.m4: Regenerated with Automake 1.9.5. * configure: Regenerated with autoconf 2.59. sid/demos/voice-pager/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * configure.in: Remove call to AC_ARG_PROGRAM, to avoid autoconf warnings about multiple uses. * configure: Regenerated with autoconf 2.59. * aclocal.m4, Makefile.in: Regenerated with Automake 1.9.5. sid/demos/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * configure.in: Remove call to AC_ARG_PROGRAM, to avoid autoconf warnings about multiple uses. * configure: Regenerated with autoconf 2.59. * Makefile.in, aclocal.m4: Regenerated with Automake 1.9.5. sid/samples/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * configure.in: Remove call to AC_ARG_PROGRAM, to avoid autoconf warnings about multiple uses. * configure: Regenerated. * Makefile.in, aclocal.m4: Regenerated with Automake 1.9.5. sid/component/testsuite/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in: Regenerated with Automake 1.9.5. sid/component/gdb/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in: Regenerated with Automake 1.9.5. sid/component/consoles/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in: Regenerated with Automake 1.9.5. sid/component/bochs/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * dma/Makefile.in, harddrv/Makefile.in, vga/Makefile.in, keyboard/Makefile.in, floppy/Makefile.in, unmapped/Makefile.in, pit/Makefile.in, cpu/fpu/Makefile.in, cpu/memory/Makefile.in, cpu/Makefile.in, gui/Makefile.in, cmos/Makefile.in, pic/Makefile.in: Regenerated with Automake 1.9.5. * Makefile.in, aclocal.m4: Regenerated with Automake 1.9.5. * configure.in: Call m4_pattern_allow to reassure autoconf that the AS_DYNAMIC_OBJS and AS_DYNAMIC_INCS variables are not mistakes. * configure: Regenerated with autoconf 2.59. sid/component/timers/arm7t/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in, aclocal.m4: Regenerated with Automake 1.9.5. * configure: Regenerated with autoconf 2.59. sid/component/timers/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * configure.in: Apply AC_CONFIG_SUBDIRS only to literal strings. * configure: Regenerated. sid/component/profiling/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in: Regenerated with Automake 1.9.5. sid/component/cfgroot/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * configure.in: Remove call to AC_ARG_PROGRAM, to avoid autoconf warnings about multiple uses. * configure: Regenerated with autoconf 2.59. * Makefile.in, aclocal.m4: Regenerated with Automake 1.9.5. * libltdl: Updated with files from libtool 1.5.18. sid/component/tcl/ChangeLog: --- 1,8 ---- 2005-06-03 Jim Blandy <[email protected]> * Makefile.in, aclocal.m4: Regenerated with Automake 1.9.5. * configure: Regenerated with autoconf 2.59. sid/component/cgen-cpu/arm7t/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in, aclocal.m4: Regenerated with Automake 1.9.5. * configure: Regenerated with autoconf 2.59. sid/component/cgen-cpu/xstormy16/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in, aclocal.m4: Regenerated with Automake 1.9.5. * configure: Regenerated with autoconf 2.59. sid/component/cgen-cpu/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * configure.in: Apply AC_CONFIG_SUBDIRS to literal strings only. * acinclude.m4 (gcc_AC_CHECK_DECL, gcc_AC_CHECK_DECLS): Properly quote macro names. * configure: Regenerated. * Makefile.am (LIBIBERTY): Link against the libiberty.a from libiberty/pic, not the non-PIC version in libiberty. * Makefile.in, aclocal.m4: Regenerated with Automake 1.9.5. sid/component/cgen-cpu/m32r/ChangeLog: --- 1,8 ---- 2005-06-03 Jim Blandy <[email protected]> * Makefile.in, aclocal.m4: Regenerated with Automake 1.9.5. * configure: Regenerated with autoconf 2.59. sid/component/audio/ChangeLog: --- 1,8 ---- 2005-06-03 Jim Blandy <[email protected]> * Makefile.in, aclocal.m4: Regenerated with Automake 1.9.5. * configure: Regenerated with autoconf 2.59. sid/component/uart/testsuite/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in: Regenerated with Automake 1.9.5. sid/component/uart/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in: Regenerated with Automake 1.9.5. sid/component/loader/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.am (LIBIBERTY): Link against the libiberty.a from libiberty/pic, not the non-PIC version in libiberty. * Makefile.in: Regenerated with Automake 1.9.5. sid/component/sched/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in: Regenerated with Automake 1.9.5. sid/component/mapper/testsuite/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in: Regenerated with Automake 1.9.5. sid/component/mapper/ChangeLog: --- 1,7 ---- 2005-06-03 Jim Blandy <[email protected]> * Makefile.in: Regenerated with Automake 1.9.5. sid/component/parport/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in: Regenerated with Automake 1.9.5. sid/component/memory/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in: Regenerated with Automake 1.9.5. sid/component/cache/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in: Regenerated with Automake 1.9.5. sid/component/rtc/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in: Regenerated with Automake 1.9.5. sid/component/gloss/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in: Regenerated with Automake 1.9.5. sid/component/lcd/testsuite/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in: Regenerated with Automake 1.9.5. sid/component/lcd/ChangeLog:*** 1,3 **** --- 1,7 ---- 2005-06-03 Jim Blandy <[email protected]> * Makefile.in: Regenerated with Automake 1.9.5. sid/component/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in, aclocal.m4: Regenerated with Automake 1.9.5. * configure.in: Remove call to AC_ARG_PROGRAM, to avoid autoconf warnings about multiple uses. * configure: Regenerated with autoconf 2.59. * families/configure.in: Apply AC_CONFIG_SUBDIRS to literal strings only. * families/configure: Regenerated. * families/Makefile.in, families/aclocal.m4: Regenerated with Automake 1.9.5. sid/component/mmu/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in: Regenerated with Automake 1.9.5. sid/component/interrupt/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in: Regenerated with Automake 1.9.5. sid/component/glue/ChangeLog: --- 1,7 ---- 2005-06-03 Jim Blandy <[email protected]> * Makefile.in: Regenerated with Automake 1.9.5. sid/component/ide/ChangeLog:*** 1,3 **** --- 1,7 ---- 2005-06-03 Jim Blandy <[email protected]> * Makefile.in: Regenerated with Automake 1.9.5. sid/doc/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in: Regenerated with Automake 1.9.5. sid/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in, aclocal.m4: Regenerated with Automake 1.9.5. * configure.in: Remove call to AC_ARG_PROGRAM, to avoid autoconf warnings about multiple uses. * configure: Regenerated with autoconf 2.59. sid/config/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * config.guess, config.sub, install-sh, missing, mkinstalldirs: Update. * docbuild.m4 (RH_DOCBUILD_CHECK): Propery quote macro name. * libstdc++.m4 (CY_LIBSTDCXX_CHECK): Same. * sidtarget.m4 (CY_SIDTARGET_CHECK): Same. * sidtarget.m4 (CY_SIDTARGET_CHECK): No need to specify the shell when running $ac_config_sub; $ac_config_sub contains the shell itself now, and it's an error to specify it twice. * libtool.m4, ltdl.m4, ltmain.sh: Update from libtool 1.5.18. sid/main/dynamic/ChangeLog: --- 1,13 ---- 2005-06-03 Jim Blandy <[email protected]> * Makefile.am (LIBIBERTY): Link against the libiberty.a from libiberty/pic, not the non-PIC version in libiberty. * Makefile.in, aclocal.m4: Regenerated with Automake 1.9.5. * configure.in: Remove call to AC_ARG_PROGRAM, to avoid autoconf warnings about multiple uses. * configure: Regenerated with autoconf 2.59. sid/main/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in, aclocal.m4: Regenerated with Automake 1.9.5. * configure: Regenerated with autoconf 2.59. sid/include/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * configure.in: Remove call to AC_ARG_PROGRAM, to avoid autoconf warnings about multiple uses. * configure: Regenerated with autoconf 2.59. * aclocal.m4, Makefile.in: Regenerated with Automake 1.9.5. sid/bsp/pregen/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in: Regenerated with Automake 1.9.5. sid/bsp/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in, aclocal.m4: Regenerated with Automake 1.9.5. * configure: Regenerated with autoconf 2.59. sid/demos/voice-pager/ChangeLog: --- 1,11 ---- 2005-06-03 Jim Blandy <[email protected]> * configure.in: Remove call to AC_ARG_PROGRAM, to avoid autoconf warnings about multiple uses. * configure: Regenerated with autoconf 2.59. * aclocal.m4, Makefile.in: Regenerated with Automake 1.9.5. sid/demos/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * configure.in: Remove call to AC_ARG_PROGRAM, to avoid autoconf warnings about multiple uses. * configure: Regenerated with autoconf 2.59. * Makefile.in, aclocal.m4: Regenerated with Automake 1.9.5. sid/samples/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * configure.in: Remove call to AC_ARG_PROGRAM, to avoid autoconf warnings about multiple uses. * configure: Regenerated. * Makefile.in, aclocal.m4: Regenerated with Automake 1.9.5. sid/component/testsuite/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in: Regenerated with Automake 1.9.5. sid/component/gdb/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in: Regenerated with Automake 1.9.5. sid/component/consoles/ChangeLog: --- 1,7 ---- 2005-06-03 Jim Blandy <[email protected]> * Makefile.in: Regenerated with Automake 1.9.5. sid/component/bochs/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * dma/Makefile.in, harddrv/Makefile.in, vga/Makefile.in, keyboard/Makefile.in, floppy/Makefile.in, unmapped/Makefile.in, pit/Makefile.in, cpu/fpu/Makefile.in, cpu/memory/Makefile.in, cpu/Makefile.in, gui/Makefile.in, cmos/Makefile.in, pic/Makefile.in: Regenerated with Automake 1.9.5. * Makefile.in, aclocal.m4: Regenerated with Automake 1.9.5. * configure.in: Call m4_pattern_allow to reassure autoconf that the AS_DYNAMIC_OBJS and AS_DYNAMIC_INCS variables are not mistakes. * configure: Regenerated with autoconf 2.59. sid/component/timers/arm7t/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in, aclocal.m4: Regenerated with Automake 1.9.5. * configure: Regenerated with autoconf 2.59. sid/component/timers/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * configure.in: Apply AC_CONFIG_SUBDIRS only to literal strings. * configure: Regenerated. sid/component/profiling/ChangeLog: --- 1,7 ---- 2005-06-03 Jim Blandy <[email protected]> * Makefile.in: Regenerated with Automake 1.9.5. sid/component/cfgroot/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * configure.in: Remove call to AC_ARG_PROGRAM, to avoid autoconf warnings about multiple uses. * configure: Regenerated with autoconf 2.59. * Makefile.in, aclocal.m4: Regenerated with Automake 1.9.5. * libltdl: Updated with files from libtool 1.5.18. sid/component/tcl/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in, aclocal.m4: Regenerated with Automake 1.9.5. * configure: Regenerated with autoconf 2.59. sid/component/cgen-cpu/arm7t/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in, aclocal.m4: Regenerated with Automake 1.9.5. * configure: Regenerated with autoconf 2.59. sid/component/cgen-cpu/xstormy16/ChangeLog: --- 1,8 ---- 2005-06-03 Jim Blandy <[email protected]> * Makefile.in, aclocal.m4: Regenerated with Automake 1.9.5. * configure: Regenerated with autoconf 2.59. sid/component/cgen-cpu/ChangeLog: --- 1,14 ---- 2005-06-03 Jim Blandy <[email protected]> * configure.in: Apply AC_CONFIG_SUBDIRS to literal strings only. * acinclude.m4 (gcc_AC_CHECK_DECL, gcc_AC_CHECK_DECLS): Properly quote macro names. * configure: Regenerated. * Makefile.am (LIBIBERTY): Link against the libiberty.a from libiberty/pic, not the non-PIC version in libiberty. * Makefile.in, aclocal.m4: Regenerated with Automake 1.9.5. sid/component/cgen-cpu/m32r/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in, aclocal.m4: Regenerated with Automake 1.9.5. * configure: Regenerated with autoconf 2.59. sid/component/audio/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in, aclocal.m4: Regenerated with Automake 1.9.5. * configure: Regenerated with autoconf 2.59. sid/component/uart/testsuite/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in: Regenerated with Automake 1.9.5. sid/component/uart/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in: Regenerated with Automake 1.9.5. sid/component/loader/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.am (LIBIBERTY): Link against the libiberty.a from libiberty/pic, not the non-PIC version in libiberty. * Makefile.in: Regenerated with Automake 1.9.5. sid/component/sched/ChangeLog: --- 1,7 ---- 2005-06-03 Jim Blandy <[email protected]> * Makefile.in: Regenerated with Automake 1.9.5. sid/component/mapper/testsuite/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in: Regenerated with Automake 1.9.5. sid/component/mapper/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in: Regenerated with Automake 1.9.5. sid/component/parport/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in: Regenerated with Automake 1.9.5. sid/component/memory/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in: Regenerated with Automake 1.9.5. sid/component/cache/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in: Regenerated with Automake 1.9.5. sid/component/rtc/ChangeLog: --- 1,7 ---- 2005-06-03 Jim Blandy <[email protected]> * Makefile.in: Regenerated with Automake 1.9.5. sid/component/gloss/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in: Regenerated with Automake 1.9.5. sid/component/lcd/testsuite/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in: Regenerated with Automake 1.9.5. sid/component/lcd/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in: Regenerated with Automake 1.9.5. sid/component/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in, aclocal.m4: Regenerated with Automake 1.9.5. * configure.in: Remove call to AC_ARG_PROGRAM, to avoid autoconf warnings about multiple uses. * configure: Regenerated with autoconf 2.59. * families/configure.in: Apply AC_CONFIG_SUBDIRS to literal strings only. * families/configure: Regenerated. * families/Makefile.in, families/aclocal.m4: Regenerated with Automake 1.9.5. sid/component/mmu/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in: Regenerated with Automake 1.9.5. sid/component/interrupt/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in: Regenerated with Automake 1.9.5. sid/component/glue/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in: Regenerated with Automake 1.9.5. sid/component/ide/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in: Regenerated with Automake 1.9.5. sid/doc/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in: Regenerated with Automake 1.9.5. sid/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in, aclocal.m4: Regenerated with Automake 1.9.5. * configure.in: Remove call to AC_ARG_PROGRAM, to avoid autoconf warnings about multiple uses. * configure: Regenerated with autoconf 2.59. sid/config/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * config.guess, config.sub, install-sh, missing, mkinstalldirs: Update. * docbuild.m4 (RH_DOCBUILD_CHECK): Propery quote macro name. * libstdc++.m4 (CY_LIBSTDCXX_CHECK): Same. * sidtarget.m4 (CY_SIDTARGET_CHECK): Same. * sidtarget.m4 (CY_SIDTARGET_CHECK): No need to specify the shell when running $ac_config_sub; $ac_config_sub contains the shell itself now, and it's an error to specify it twice. * libtool.m4, ltdl.m4, ltmain.sh: Update from libtool 1.5.18. sid/main/dynamic/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.am (LIBIBERTY): Link against the libiberty.a from libiberty/pic, not the non-PIC version in libiberty. * Makefile.in, aclocal.m4: Regenerated with Automake 1.9.5. * configure.in: Remove call to AC_ARG_PROGRAM, to avoid autoconf warnings about multiple uses. * configure: Regenerated with autoconf 2.59. sid/main/ChangeLog: 2005-06-03 Jim Blandy <[email protected]> * Makefile.in, aclocal.m4: Regenerated with Automake 1.9.5. * configure: Regenerated with autoconf 2.59.