OK, no objections. :-)
I wrote a patch to add -fPIC regardless, and run the ldopt test with the
flags given; since the bugs are previously unreported, I'm adding the NMU
diff here.
diff -Nru /tmp/vKTrUfAakv/bigloo-2.7a/debian/changelog
/tmp/YIvpNOOAef/bigloo-2.7a/debian/changelog
--- /tmp/vKTrUfAakv/bigloo-2.7a/debian/changelog 2006-06-11
14:36:05.000000000 +0200
+++ /tmp/YIvpNOOAef/bigloo-2.7a/debian/changelog 2006-06-11
17:57:38.000000000 +0200
@@ -1,3 +1,15 @@
+bigloo (2.7a-1.2) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Use -fPIC when building shared libraries on all architectures, not just
+ arm.
+ * 52_debian_test_ldopt_with_cpicflags.diff: Use -fPIC when testing for
+ shared library support.
+ * Add missing build-dependency on perl.
+ * UTF-8-ize changelog.
+
+ -- Steinar H. Gunderson <[EMAIL PROTECTED]> Sun, 11 Jun 2006 17:21:01 +0200
+
bigloo (2.7a-1.1) unstable; urgency=low
* Non-maintainer upload.
@@ -5,7 +17,7 @@
Build-Depends as gcj-4.0/libgcj6-dev will be removed from Sid/Etch.
(Closes: #369981)
- -- Mohammed Adn�ne Trojette <[EMAIL PROTECTED]> Sun, 11 Jun 2006 12:49:20
+0200
+ -- Mohammed Adnène Trojette <[EMAIL PROTECTED]> Sun, 11 Jun 2006 12:49:20
+0200
bigloo (2.7a-1) unstable; urgency=low
Binary files /tmp/vKTrUfAakv/bigloo-2.7a/debian/.changelog.swo and
/tmp/YIvpNOOAef/bigloo-2.7a/debian/.changelog.swo differ
diff -Nru /tmp/vKTrUfAakv/bigloo-2.7a/debian/control
/tmp/YIvpNOOAef/bigloo-2.7a/debian/control
--- /tmp/vKTrUfAakv/bigloo-2.7a/debian/control 2006-06-11 14:36:05.000000000
+0200
+++ /tmp/YIvpNOOAef/bigloo-2.7a/debian/control 2006-06-11 17:52:35.000000000
+0200
@@ -2,7 +2,7 @@
Section: interpreters
Priority: optional
Maintainer: Yann Dirson <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 4.1.1), dh-buildinfo, texinfo, dbs, gcj (>=
4:4.1) [!sparc !mipsel !mips], free-java-sdk [!sparc !mipsel !mips], zip
[!sparc !mipsel !mips]
+Build-Depends: debhelper (>= 4.1.1), dh-buildinfo, texinfo, dbs, gcj (>=
4:4.1) [!sparc !mipsel !mips], free-java-sdk [!sparc !mipsel !mips], zip
[!sparc !mipsel !mips], perl
Build-Depends-Indep: skribe
Standards-Version: 3.6.2
diff -Nru
/tmp/vKTrUfAakv/bigloo-2.7a/debian/patches/52_debian_test_ldopt_with_cpicflags.diff
/tmp/YIvpNOOAef/bigloo-2.7a/debian/patches/52_debian_test_ldopt_with_cpicflags.diff
---
/tmp/vKTrUfAakv/bigloo-2.7a/debian/patches/52_debian_test_ldopt_with_cpicflags.diff
1970-01-01 01:00:00.000000000 +0100
+++
/tmp/YIvpNOOAef/bigloo-2.7a/debian/patches/52_debian_test_ldopt_with_cpicflags.diff
2006-06-11 17:53:09.000000000 +0200
@@ -0,0 +1,12 @@
+diff -ur bigloo2.7a/configure bigloo2.7a.patched/configure
+--- bigloo2.7a/configure 2005-11-16 12:12:40.000000000 +0100
++++ bigloo2.7a.patched/configure 2006-06-11 17:27:29.000000000 +0200
+@@ -1463,7 +1463,7 @@
+ echo " shared library: no"
+ haveshlib=0
+ else
+- ldopt=`$autoconfdir/ldshare --user=$user --tmp=$tmp --cc="$cc" --ld="$ld"
--ldopt="$ldopt" --ldlibs="$ldlibs" --sharedsuffix="$sharedsuffix"`
++ ldopt=`$autoconfdir/ldshare --user=$user --tmp=$tmp --cc="$cc"
--cflags="$cflags $cpicflags" --ld="$ld" --ldopt="$ldopt" --ldlibs="$ldlibs"
--sharedsuffix="$sharedsuffix"`
+ if [ "$ldopt" = "no-share" ]; then
+ echo " shared library: no (because I don't know ld option)"
+ haveshlib=0
diff -Nru /tmp/vKTrUfAakv/bigloo-2.7a/debian/rules
/tmp/YIvpNOOAef/bigloo-2.7a/debian/rules
--- /tmp/vKTrUfAakv/bigloo-2.7a/debian/rules 2005-10-17 20:28:53.000000000
+0200
+++ /tmp/YIvpNOOAef/bigloo-2.7a/debian/rules 2006-06-11 17:52:27.000000000
+0200
@@ -23,7 +23,7 @@
ARCH=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
ifeq (${ARCH},arm)
#CC=gcc-3.2
-EXTRA_CONFIG_FLAGS += --coflags=-O2 --cpicflags=-fPIC
+EXTRA_CONFIG_FLAGS += --coflags=-O2
else
#CC=gcc
endif
@@ -47,7 +47,7 @@
cd ${BUILD_TREE} && env ./configure ${EXTRA_CONFIG_FLAGS} --prefix=/usr
\
--mandir=/usr/share/man/man1 \
--infodir=/usr/share/info \
- --ld=${CC} --cc=${CC} \
+ --ld=${CC} --cc=${CC} --cpicflags=-fPIC \
--bee=full \
--customgc=yes \
--dotnet=no # for now