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

Bug#446931: FTBFS on powerpc: Unknown target in build.sh



Package: llvm
Version: 1.8b-1
Severity: serious
Tags: patch
Justification: fails to build from source

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


This patch for build.sh allows llvm to build on powerpc. Though maybe the
'power' line was intended for this and should be replaced?


- -- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (102, 'experimental')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.22-2-powerpc
Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

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

iD8DBQFHFPxDWoGvjmrbsgARAn1sAJ9peLn5wQFtZ85MX6bTlgrWZaPyrgCfS5x8
RJDVtsNDl6cOqxVkTK0swIc=
=IZL6
-----END PGP SIGNATURE-----
diff -up -ru llvm-1.8b.orig/build.sh llvm-1.8b/build.sh
--- llvm-1.8b.orig/build.sh	2007-10-16 19:50:29.000000000 +0200
+++ llvm-1.8b/build.sh	2007-10-16 18:37:51.000000000 +0200
@@ -26,6 +26,8 @@ sparc64)  OTHER_CONFIG_OPTIONS="--target
           ;;
 power)    OTHER_CONFIG_OPTIONS="--target=power-linux"
           ;;
+ppc*)     OTHER_CONFIG_OPTIONS="--target=powerpc-linux"
+          ;;
 alpha)    OTHER_CONFIG_OPTIONS="--target=alpha-linux"
           ;;
 *)        echo "? unsupported architecture: \'$ARCH\'"

Reply to: