After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 100224 - Architecture detection fails on Alpha
Architecture detection fails on Alpha
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.4.2
Other Linux
: Normal normal
: 0.4.0
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2002-12-03 12:57 UTC by Jens Bech Madsen
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.1/2.2



Description Jens Bech Madsen 2002-12-03 12:57:36 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:~$
Comment 1 David Schleef 2002-12-05 05:31:00 UTC
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
Comment 2 David Schleef 2002-12-05 06:30:56 UTC
Er, ok, I understand.  Debian always forces target_cpu=alpha, whereas
config.guess often returns something other than "alpha".

Fixed in CVS.
Comment 3 Christian Fredrik Kalager Schaller 2002-12-06 10:54:41 UTC
ok, closing this bug as it is fixed in CVS