Compiling transcode

David Liontooth liontooth at cogweb.net
Mon Apr 23 18:15:54 PDT 2007


The latest stable release of transcode, 1.0.3, configures without
problems using the current macports packages, but it doesn't build:

 gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -DLINUX -I.. -Wall
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2
-no-cpp-precomp -D_INTL_REDIRECT_MACROS -MT tcmemcpy.lo -MD -MP -MF
.deps/tcmemcpy.Tpo -c tcmemcpy.c  -fno-common -DPIC -o .libs/tcmemcpy.o
/var/tmp//ccMwDlN6.s:43:missing or invalid immediate expression `0b111'
taken as 0
/var/tmp//ccMwDlN6.s:43:suffix or operands invalid for `and'
/var/tmp//ccMwDlN6.s:117:missing or invalid immediate expression `0b11'
taken as 0
/var/tmp//ccMwDlN6.s:117:suffix or operands invalid for `and'
/var/tmp//ccMwDlN6.s:176:missing or invalid immediate expression `0b111'
taken as 0
/var/tmp//ccMwDlN6.s:176:suffix or operands invalid for `and'
/var/tmp//ccMwDlN6.s:199:missing or invalid immediate expression `0b11'
taken as 0
/var/tmp//ccMwDlN6.s:199:suffix or operands invalid for `and'
/var/tmp//ccMwDlN6.s:206:Alignment too large: 15. assumed.
/var/tmp//ccMwDlN6.s:263:missing or invalid immediate expression `0b11'
taken as 0
/var/tmp//ccMwDlN6.s:263:suffix or operands invalid for `and'
make[2]: *** [tcmemcpy.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

$ gcc -v
Using built-in specs.
Target: i686-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5367.obj~1/src/configure
--disable-checking -enable-werror --prefix=/usr --mandir=/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.0/
--with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib
--build=powerpc-apple-darwin8 --with-arch=nocona --with-tune=generic
--program-prefix= --host=i686-apple-darwin8 --target=i686-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5367)

$ uname -a
Darwin Kernel Version 8.9.1: Thu Feb 22 20:55:00 PST 2007;
root:xnu-792.18.15~1/RELEASE_I386 i386 i386

I'm asking on the transcode list, but does this look familiar to anyone?
The failure doesn't happen on Linux and appears to be platform-specific.
I get exactly the same behavior on an XServe and an Intel iMac.

Cheers,
Dave




More information about the macports-users mailing list