GNOME Bugzilla – Bug 100224
Architecture detection fails on Alpha
Last modified: 2004-12-22 21:47:04 UTC
Gstreamer fails to build on Alpha since the architecture isn't detected correctly. Error: depmode=gcc3 /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile gcc-3.2 -DHAVE_CONFIG_H -I. -I. -I.. -I/users/builder/garnome-19.1/include -I/usr/X11R6/include -I/users/builder/garnome-19.1/include -I/usr/X11R6/include -I/users/builder/garnome-19.1/include -I/usr/X11R6/include -I/users/builder/garnome-19.1/include -I/usr/X11R6/include -D_GNU_SOURCE -DGST_CONFIG_DIR=\""/users/builder/garnome-19.1/etc/gstreamer"\" -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/users/builder/garnome-19.1/include/libxml2 -D_REENTRANT -I/users/builder/garnome-19.1/include/glib-2.0 -I/users/builder/garnome-19.1/lib/glib-2.0/include -I.. -Wall -D_GNU_SOURCE -DG_LOG_DOMAIN=g_log_domain_gstreamer -DGST_CONFIG_DIR=\""/users/builder/garnome-19.1/etc/gstreamer"\" -O2 -O2 -g -c -o libcothreads_la-cothreads.lo `test -f 'cothreads.c' || echo './'`cothreads.c gcc-3.2 -DHAVE_CONFIG_H -I. -I. -I.. -I/users/builder/garnome-19.1/include -I/usr/X11R6/include -I/users/builder/garnome-19.1/include -I/usr/X11R6/include -I/users/builder/garnome-19.1/include -I/usr/X11R6/include -I/users/builder/garnome-19.1/include -I/usr/X11R6/include -D_GNU_SOURCE -DGST_CONFIG_DIR=\"/users/builder/garnome-19.1/etc/gstreamer\" -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/users/builder/garnome-19.1/include/libxml2 -D_REENTRANT -I/users/builder/garnome-19.1/include/glib-2.0 -I/users/builder/garnome-19.1/lib/glib-2.0/include -I.. -Wall -D_GNU_SOURCE -DG_LOG_DOMAIN=g_log_domain_gstreamer -DGST_CONFIG_DIR=\"/users/builder/garnome-19.1/etc/gstreamer\" -O2 -O2 -g -c cothreads.c -MT libcothreads_la-cothreads.lo -MD -MP -MF .deps/libcothreads_la-cothreads.TPlo -fPIC -DPIC -o libcothreads_la-cothreads.lo In file included from cothreads.c:35: gstarch.h:165:2: #error Need to know about this architecture, or have a generic implementation cothreads.c: In function `cothread_switch': cothreads.c:616: warning: int format, different type arg (arg 6) cothreads.c:621: warning: int format, different type arg (arg 6) cothreads.c:636: warning: implicit declaration of function `GST_ARCH_SETUP_STACK' cothreads.c:637: warning: implicit declaration of function `GST_ARCH_SET_SP' cothreads.c:639: warning: implicit declaration of function `GST_ARCH_CALL' make[8]: *** [libcothreads_la-cothreads.lo] Error 1 System: Digital Personal Workstation 433a builder@alpha:~$ uname -a Linux alpha 2.4.19 #1 Fri Nov 11 17:15:14 CET 2022 alpha EV56 GNU/Linux builder@alpha:~$ cat /proc/cpuinfo cpu : Alpha cpu model : EV56 cpu variation : 0 cpu revision : 0 cpu serial number : Linux_is_Great! system type : Miata system variation : 0 system revision : 0 system serial number : MILO-2.2-17 cycle frequency [Hz] : 433098204 est. timer frequency [Hz] : 1024.00 page size [bytes] : 8192 phys. address bits : 40 max. addr. space # : 127 BogoMIPS : 858.04 kernel unaligned acc : 0 (pc=0,va=0) user unaligned acc : 23686 (pc=20000089c10,va=1204e6d54) platform string : N/A cpus detected : 0 builder@alpha:~$
It works fine on the Debian autobuilder: http://buildd.debian.org/fetch.php?&pkg=gstreamer&ver=0.4.2-2&arch=alpha&stamp=1039055814&file=log&as=raw
Er, ok, I understand. Debian always forces target_cpu=alpha, whereas config.guess often returns something other than "alpha". Fixed in CVS.
ok, closing this bug as it is fixed in CVS