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

Bug#364394: marked as done (gcc-snapshot: FTBFS (ppc64): /usr/bin/ld: cannot find -lc)



Your message dated Tue, 30 May 2006 16:47:41 -0700
with message-id <E1FlDw5-0006iJ-S2@spohr.debian.org>
and subject line Accepted gcc-snapshot 20060530-1 (source i386 amd64 powerpc)
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: gcc-snapshot
Version: 20060419-1
Severity: wishlist
Tags: patch

When building 'gcc-snapshot' on ppc64/unstable,
I get the following error:

/usr/bin/ld: skipping incompatible /usr/bin/../lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libc.a when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make[6]: *** [32/libgcc_s.so] Error 1

With the attached patch 'gcc-snapshot' can be compiled on ppc64.

The patch changes 'debian/ppc64-biarch.dpatch' so that the patch
applies to the new snapshot version.

It also changes debian/rules.patch to apply the ppc64-biarch.dpatch
and the ppc64-ada.dpatch patches even if 'biarch32' is disabled.
The build fails if those patches are not applied.

Regards
Andreas Jochens

diff -urN ../tmp-orig/gcc-snapshot-20060419/debian/patches/ppc64-biarch.dpatch ./debian/patches/ppc64-biarch.dpatch
--- ../tmp-orig/gcc-snapshot-20060419/debian/patches/ppc64-biarch.dpatch	2006-04-19 20:38:10.000000000 +0000
+++ ./debian/patches/ppc64-biarch.dpatch	2006-04-21 12:36:01.000000000 +0000
@@ -44,20 +44,6 @@
  
  # We want fine grained libraries, so use the new code to build the
  # floating point emulation libraries.
-@@ -37,8 +34,11 @@
- mklibgcc: bispecs
- 
- bispecs: specs
--	if [ x`$(GCC_FOR_TARGET) -print-multi-os-directory` = x../lib ]; then \
-+	touch f-test.c; \
-+	$(GCC_FOR_TARGET) -c f-test.c -o f-test.o; \
-+	if [ "x`file f-test.o | grep 64-bit`" = "x" ]; then \
- 	  sed -e '/cc1_options/{ n; s/$$/ %{m64:-mlong-double-128}/; }' < specs > $@; \
- 	else \
- 	  sed -e '/cc1_options/{ n; s/$$/ %{!m32:-mlong-double-128}/; }' < specs > $@; \
--	fi
-+	fi; \
-+	rm f-test.c f-test.o;
 diff -urN tmp/libjava/configure.host src/libjava/configure.host
 --- tmp/libjava/configure.host	25 Nov 2004 03:46:56 -0000
 +++ src/libjava/configure.host	15 Dec 2004 15:45:22 -0000
diff -urN ../tmp-orig/gcc-snapshot-20060419/debian/rules.patch ./debian/rules.patch
--- ../tmp-orig/gcc-snapshot-20060419/debian/rules.patch	2006-04-19 20:51:37.000000000 +0000
+++ ./debian/rules.patch	2006-04-22 06:40:38.000000000 +0000
@@ -136,15 +136,14 @@
     debian_patches += amd64-biarch
     debian_patches += libjava-ia32fix
   endif
-  ifeq ($(DEB_TARGET_ARCH),ppc64)
-    # FIXME: needed for 4.1?
-    debian_patches += ppc64-biarch ppc64-ada
-  endif
   ifneq ($(with_32bit_check),yes)
     debian_patches += disable-configure-run-check
   endif
 endif
 
+ifeq ($(DEB_TARGET_ARCH),ppc64)
+  debian_patches += ppc64-biarch ppc64-ada
+endif
 
 patch: $(patch_stamp)
 $(patch_stamp): $(unpack_stamp) pre-patch \


--- End Message ---
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 30 May 2006 15:54:59 +0200
Source: gcc-snapshot
Binary: gcc-snapshot
Architecture: amd64 i386 powerpc source 
Version: 20060530-1
Distribution: unstable
Urgency: low
Maintainer: Debian GCC Maintainers <debian-gcc@lists.debian.org>
Changed-By: Martin Michlmayr <tbm@cyrius.com>
Description: 
 gcc-snapshot - A SNAPSHOT of the GNU Compiler Collection
Closes: 361441 361591 361602 361814 364394 364591 364602 364622 366626 366939
Changes: 
 gcc-snapshot (20060530-1) unstable; urgency=low
 .
    * SVN 20060530, taken from the trunk, revision 114238.
          - PR tree-optimization/27085: ICE in add_virtual_operand, at
            tree-ssa-operands.c (closes: #361441).
          - PR tree-optimization/27093: ICE in verify_ssa failed:
            definition does not dominate use (closes: #361591).
          - PR middle-end/25776: ICE: verify_cgraph_node failed (closes:
            #361602).
          - PR tree-optimization/26490: ICE: tree check: expected ssa_name,
            have symbol_memory_tag in is_old_name (closes: #361814).
          - PR c/27273: ICE: tree check: expected class 'constant', have
            'binary' (bit_and_expr) in convert_and_check, at c-common.c
            (closes: #364591).
          - PR tree-optimization/27548: ICE: SSA corruption: Conflict across
            an abnormal edge (closes: #364602).
          - PR c++/27210: ICE: tree check: did not expect class 'type', have
            'type' (template_type_parm) in contains_placeholder_p, at tree.c
            (closes: #364622).
          - PR c++/27471: ICE in build_c_cast, at cp/typeck.c:5443 (closes:
            #366626).
          - PR target/27158 (powerpc): ICE: error in extract_insn, at
            recog.c:2084 (see #362307, also present in gcc-4.1).
          - PR target/27571 (alpha): ICE in get_attr_usegp, at
            config/alpha/alpha.md:171 (closes: #366939).
    * Update ppc64 patch so it builds again.  Thanks, Andreas Jochens
      (closes: #364394).
    * Add myself as an uploader.
Files: 
 5c13ef903bbe62b16c730efd04efedc6 37995290 devel standard gcc-snapshot_20060530-1.tar.gz
 b1c67a1adfd42b761ffbc7b925e2c4a8 2421 devel standard gcc-snapshot_20060530-1.dsc
 75b25dbb6d9b5705ad244f9475f0385e 56658110 devel extra gcc-snapshot_20060530-1_i386.deb
 987f439cfac1980f86209830852df975 61639740 devel extra gcc-snapshot_20060530-1_amd64.deb
 a25cbb180f357e3c9bb79ad4ab2708e2 62751796 devel extra gcc-snapshot_20060530-1_powerpc.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFEfMeGKb5dImj9VJ8RAtqfAJ0WibiV+Rd80Vh0p/YEUif0nUyoWwCfT6V7
n/fcC5h9QuhinHbZMw6vCD0=
=OjlY
-----END PGP SIGNATURE-----


Accepted:
gcc-snapshot_20060530-1.dsc
  to pool/main/g/gcc-snapshot/gcc-snapshot_20060530-1.dsc
gcc-snapshot_20060530-1.tar.gz
  to pool/main/g/gcc-snapshot/gcc-snapshot_20060530-1.tar.gz
gcc-snapshot_20060530-1_amd64.deb
  to pool/main/g/gcc-snapshot/gcc-snapshot_20060530-1_amd64.deb
gcc-snapshot_20060530-1_i386.deb
  to pool/main/g/gcc-snapshot/gcc-snapshot_20060530-1_i386.deb
gcc-snapshot_20060530-1_powerpc.deb
  to pool/main/g/gcc-snapshot/gcc-snapshot_20060530-1_powerpc.deb


-- 
To UNSUBSCRIBE, email to debian-devel-changes-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

--- End Message ---

Reply to: