[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [bigloo] Beta 2.7a



On Thu, Jun 23, 2005 at 11:34:44PM +0200, Yann Dirson wrote:
> No, that's 3.3.6 (to be precise, 1:3.3.6-7).
> 
> To the debian-ia64 team: do you know of specific problems in 3.3.6 which could explain the difference ?

I tried a build in the sarge chroot on merulo, and got the exact same
error than with the 3.3.7 compiler, using the exact same version as
you, so the problem must be somewhere else.

Manuel, what configure flags did you use ?  Mine are:

./configure --prefix=/usr \
                --mandir=/usr/share/man/man1 \
                --infodir=/usr/share/info \
                --ld=gcc --cc=gcc \
                --bee=full \
                --customgc=yes \
                --jvm=no --dotnet=no

With a patch to fix the -soname flag to pass to $LD, and one to avoid
building the elisp code at packaging time, which should not matter,
but which I attach for completeness.

Afterwards, the build is done with:

        env \
                LD_LIBRARY_PATH=$(CURDIR)/${BUILD_TREE}/lib/${BIGLOO_RELEASE}:${LD_LIBRARY_PATH} \
                        $(MAKE) -C $(BUILD_TREE)
        env \
                BIGLOOLIB=$(CURDIR)/${BUILD_TREE}/lib/${BIGLOO_RELEASE} \
                LD_LIBRARY_PATH=$(CURDIR)/${BUILD_TREE}/lib/${BIGLOO_RELEASE}:${LD_LIBRARY_PATH} \
                PATH=$(CURDIR)/${BUILD_TREE}/bin:$$PATH \
                        $(MAKE) -C $(BUILD_TREE) compile-bee

Alternatively, on a debian machine, you can just "apt-get build-dep
bigloo && apt-get -b source bigloo" to get the source, its
dependencies, and run the build, if you have a deb-src line pointing
to unstable in our sources.list.

OTOH, I may find some time to have a closer look this week-end.

Best regards,
-- 
Yann Dirson    <ydirson@altern.org> |
Debian-related: <dirson@debian.org> |   Support Debian GNU/Linux:
                                    |  Freedom, Power, Stability, Gratis
     http://ydirson.free.fr/        | Check <http://www.debian.org/>
diff -ruN bigloo2.7a/autoconf/ldsoname bigloo2.7a/autoconf/ldsoname
--- bigloo2.7a/autoconf/ldsoname	2005-04-02 07:03:49.000000000 +0200
+++ bigloo2.7a/autoconf/ldsoname	2005-06-13 22:52:25.000000000 +0200
@@ -141,7 +141,7 @@
 #*---------------------------------------------------------------------*/
 #*    We build a library                                               */
 #*---------------------------------------------------------------------*/
-$ld $ldopt -o $file.so $obj-lib.o $soname $file.so > /dev/null 2> /dev/null
+$ld $ldopt -o $file.so $obj-lib.o -Wl,$soname=$file.so > /dev/null 2> /dev/null
 if [ ! -f $file.so ]; then
    \rm -f $file*
    \rm -f $obj-lib.o
diff -ruN bigloo2.7a/Makefile.misc bigloo2.7a/Makefile.misc
--- bigloo2.7a/Makefile.misc	2005-06-10 10:02:02.000000000 +0200
+++ bigloo2.7a/Makefile.misc	2005-06-13 22:56:16.000000000 +0200
@@ -62,7 +62,7 @@
                  $(LDLIBS) $(LDOPTS) $(LDEXTRA)
 shared-soname:
 	$(LD) -o $(LIBDEST) \
-                 $(LDSONAME) $(SONAME) \
+                 -Wl,$(LDSONAME)=$(SONAME) \
                  $(OBJECTS) \
                  $(LDOPTS) \
                  $(EXTRALIBS) $(CLOSELIBS) \
diff -ruN bigloo2.7a/srfi/Makefile.srfi bigloo2.7a/srfi/Makefile.srfi
--- bigloo2.7a/srfi/Makefile.srfi	2005-04-02 07:03:49.000000000 +0200
+++ bigloo2.7a/srfi/Makefile.srfi	2005-06-13 22:56:58.000000000 +0200
@@ -161,7 +161,7 @@
                 $(OBJECTS) -lm -lc; \
           else \
              $(LD) -o lib/lib$(LIBNAME)_s-$(SRFIRELEASE).$(SHAREDSUFFIX) \
-                   $(LDSONAME) lib$(LIBNAME)_s-$(SRFIRELEASE).$(SHAREDSUFFIX) \
+                   -Wl,$(LDSONAME)=lib$(LIBNAME)_s-$(SRFIRELEASE).$(SHAREDSUFFIX) \
                 $(OBJECTS) -lm -lc; \
           fi
 	@ echo "lib/lib$(LIBNAME)_s-$(SRFIRELEASE).$(SHAREDSUFFIX) Done..."
diff -ruN bigloo2.7a-old/Makefile bigloo2.7a/Makefile
--- bigloo2.7a-old/Makefile	2005-05-31 12:05:46.000000000 +0200
+++ bigloo2.7a/Makefile	2005-06-13 23:13:52.000000000 +0200
@@ -127,7 +127,6 @@
 	          comptime \
 		  bdb \
                   bde \
-                  bmacs \
                   manuals \
                   doc \
                   win32 \
@@ -229,9 +228,9 @@
 	   if [ "$(JVMBACKEND) " = "yes" ]; then \
               (cd jigloo && $(MAKE)) \
            fi)
-	@ if [ "$(EMACSDIR) " != " " ]; then \
-            (cd bmacs && $(MAKE) compile-bee) \
-          fi
+#	@ if [ "$(EMACSDIR) " != " " ]; then \
+#            (cd bmacs && $(MAKE) compile-bee) \
+#          fi
 
 compile-bee1:
 	@ (LD_LIBRARY_PATH=$(BOOTLIBDIR):$$LD_LIBRARY_PATH && \
@@ -612,7 +611,7 @@
 	@ if [ "$(JVMBACKEND) " = "yes" ]; then \
             (cd jigloo && $(MAKE) install) \
           fi
-	-(cd bmacs && $(MAKE) install)
+#	-(cd bmacs && $(MAKE) install)
 
 install-bee1:
 	(cd bdb && $(MAKE) install)

Reply to: