Package: gcc-3.4
Version: 3.4.6-4
Severity: minor
Tags: patch

When building gcc-3.4 the libgcc1 library is not being generated.  This 
is because in debian/rules.defs, the 'with_libgcc' target is defined to be

with_libgcc := yes
... (and later)
with_libgcc := built from gcc-4.0 sources

This will prevent the library from being added as a dependency of the 
build later on.  

Without the libgccl library, the other packages built from source 
cannot be installed.  I ran into this problem building cross 
compilers, so the dependency was not immediately satisfied by my 
host gcc-4.1 install.  Unless there is a specific reason why the 
libgccl library built as part of gcc-3.4 should not be used, shouldn't 
it be built by default? 

The patch will reenable this target.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i586)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-486
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
diff -Naur gcc-3.4-3.4.6.orig/debian/rules.defs gcc-3.4-3.4.6/debian/rules.defs
--- gcc-3.4-3.4.6.orig/debian/rules.defs        2006-11-13 10:45:22.000000000 
-0500
+++ gcc-3.4-3.4.6/debian/rules.defs     2006-11-17 10:14:13.000000000 -0500
@@ -508,7 +508,8 @@
 #  with_shared_libgcc := no
 #endif
 
-with_libgcc := built from gcc-4.0 sources
+# Commenting this out fixes libgccl not building
+#with_libgcc := built from gcc-4.0 sources
 
 # run testsuite --------------------
 with_check := yes

Reply via email to