[Pkg-mono-devel] Sources not found for Mono packages: PPC not working

Alvaro del Castillo acs@barrapunto.com
Wed, 21 Jan 2004 00:47:50 +0100


--=-17lNB9nvnIMPArf6bRYF
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

hi guys!

I have tried to build the mono package in a PowerBook G4 and it fails to
compile with the actual source in the mono package. This weekend I have
compiled from CVS mono and it has compiled in ppc. Later I had problems
using it, but at least it compiled.

I know the actual porting to the ppc of the mono JIT is a work in
progress but I want to inform you for the actual state from a ppc
architecture view.

The error the actual source code has is:

 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../libgc/include
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DGC_LINUX_THREADS
-DMONO_USE_EXC_TABLES -D_GNU_SOURCE -D_REENTRANT -fexceptions
-D_FILE_OFFSET_BITS=3D64 -g -O2 -fno-strict-aliasing -g -Wall -Wunused
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual
-Wcast-align -Wwrite-strings -Wp,-MD,.deps/mini-ppc.pp -c mini-ppc.c -o
mini-ppc.o >/dev/null 2>&1
/bin/sh ../../libtool --mode=3Dcompile gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I../..                -I../../libgc/include                    =20
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include       -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  =20
-DGC_LINUX_THREADS -DMONO_USE_EXC_TABLES -D_GNU_SOURCE -D_REENTRANT
-fexceptions -D_FILE_OFFSET_BITS=3D64  -g -O2 -fno-strict-aliasing -g
-Wall -Wunused -Wmissing-prototypes -Wmissing-declarations
-Wstrict-prototypes  -Wmissing-prototypes -Wnested-externs
-Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings -c
exceptions-ppc.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../..
-I../../libgc/include -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -DGC_LINUX_THREADS -DMONO_USE_EXC_TABLES
-D_GNU_SOURCE -D_REENTRANT -fexceptions -D_FILE_OFFSET_BITS=3D64 -g -O2
-fno-strict-aliasing -g -Wall -Wunused -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align
-Wwrite-strings -Wp,-MD,.deps/exceptions-ppc.pp -c exceptions-ppc.c=20
-fPIC -DPIC -o .libs/exceptions-ppc.o
exceptions-ppc.c: In function `arch_get_restore_context':
exceptions-ppc.c:421: warning: unused variable `code'
exceptions-ppc.c: In function `throw_exception':
exceptions-ppc.c:538: warning: implicit declaration of function
`mono_arch_handle_exception'
exceptions-ppc.c: In function `mono_arch_get_throw_exception_generic':
exceptions-ppc.c:571: warning: cast from pointer to integer of different
size
exceptions-ppc.c:574: warning: implicit declaration of function
`ppc_patch'
exceptions-ppc.c: In function `mono_arch_find_jit_info':
exceptions-ppc.c:708: warning: unused variable `offset'
exceptions-ppc.c:690: warning: unused variable `ptr'
exceptions-ppc.c:691: warning: unused variable `p'
exceptions-ppc.c: At top level:
exceptions-ppc.c:952: warning: no previous prototype for
`mono_arch_handle_exception'
/tmp/ccvOcHZw.s: Assembler messages:
/tmp/ccvOcHZw.s:1692: Error: unsupported relocation against r1

Cheers

-- Alvaro

El mar, 20-01-2004 a las 23:31, Alvaro del Castillo escribi=F3:
> Yeah!
>=20
> The sources are now in the repository. I am downloading them. It is a
> pity that in the next days I will have few time to invest in the
> packages, but I will find sometime to understand them packages and try
> to help you in the process.
>=20
> Thanks another time for bringing Mono to the Debian world!
>=20
> Cheers
>=20
> El mar, 20-01-2004 a las 07:20, Pablo Fischer escribi=F3:
> > Great!!!
> > Edd.. toc toc :), you have those sources.
> >=20
> > Pablo
> > El mar, 20-01-2004 a las 01:17, Alvaro del Castillo escribi=B3:
> > > Hi guys!
> > >=20
> > > It is great to see a group working in packaging Mono for Debian. I ho=
p
> > > this will be the final group that give some stability so Mono could b=
e a
> > > debian-aware technology.
> > >=20
> > > I have tried to download the sources for mono and mcs in order to tes=
t
> > > the packages and it seems that sources aren't found in the repository=
:
> > >=20
> > > freebook:/tmp# LC_ALL=3Den_EN apt-get source mono
> > > Reading Package Lists... Done
> > > Building Dependency Tree... Done
> > > Need to get 10.4MB of source archives.
> > > Get:1 http://people.debian.org ./ mono 0.29.99.20040114-0pre1v1 (dsc)
> > > [784B]
> > > Err http://people.debian.org ./ mono 0.29.99.20040114-0pre1v1 (tar)
> > >   404 Not Found
> > > Get:2 http://people.debian.org ./ mono 0.29.99.20040114-0pre1v1 (diff=
)
> > > [11.6kB]
> > > Fetched 2B in 1s (1B/s)
> > > Failed to fetch
> > > http://people.debian.org/~blade/testing/./mono_0.29.99.20040114.orig.=
tar.gz  404 Not Found
> > > E: Failed to fetch some archives.
> > >=20
> > > When sources are in the repository I can test them against i386 and p=
pc
> > > architectures.
> > >=20
> > > Cheers
> > >=20
> > > -- Alvaro

--=-17lNB9nvnIMPArf6bRYF
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada
	digitalmente

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

iD8DBQBADb4gMiM20LqIfAARAvbaAJ9Hxh75pcv7u3SUWGltnd5Nf2UpLgCgnTRQ
Jl0LcJwboaKsllKYdPjQpM4=
=hy0u
-----END PGP SIGNATURE-----

--=-17lNB9nvnIMPArf6bRYF--