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

Re: "Power Mac Gigabit Ethernet" (codename "Mystic")



On 4/8/16 10:57 AM, Mathieu Malaterre wrote:
> On Fri, Apr 8, 2016 at 7:15 PM, Kristen R <kristen@atmyhome.org> 
> wrote:
>> 
>>> On Apr 8, 2016, at 3:02 AM, Mathieu Malaterre 
>>> <malat@debian.org> wrote:
>>> 
>>> Dear all,
>>> 
>>> Does anyone of you has access to an SMP PPC32 machine ? I need 
>>> to check if an issue I am seeing on an SMP PPC64 kernel (PPC32 
>>> userland) can be reproduced on a pure SMP PPC32 machine.
>>> 
>>> Thanks much for help.
>>> 
>>> -M
>>> 
>> 
>> I have the PowerPC is question. With the original 450MHz dual 
>> processor or a Sonnet 1.6GHz which is currently in the machine. 
>> And I have a weekend too!
>> 
>> How can I help?
> 
> 
> Neat !
> 
> So: 1. Make sure you are running linux-image-powerpc-smp (uname -a 
> to check). 2. Step:
> 
> $ sudo apt-get build-dep mono-devel $ cd $HOME $ git clone 
> https://github.com/mono/mono.git && cd mono $ ./autogen.sh 
> --prefix=$HOME/blah $ make get-monolite-latest $ make V=1 
> PROFILE=basic
> 
> Technically it should fails at this point. If not, I'd interested 
> in the following log file:
> 
> $ cd mcs/class/System $ export 
> MONO_PATH="./../../class/lib/monolite:$MONO_PATH" $ 
> $HOME/mono/mono/mini/mono --verify-all 
> ./../../class/lib/monolite/basic.exe   -d:NET_4_0 -d:NET_4_5 
> -d:MONO -d:BOOTSTRAP_BASIC -nowarn:1699 -d:DISABLE_CAS_USE 
> -lib:./../../class/lib/basic -optimize /noconfig -nowarn:618 
> -d:CONFIGURATION_2_0 
> -d:FEATURE_PAL,SYSTEM_NAMESPACE,MONO,PLATFORM_UNIX 
> -d:MONO_FEATURE_PROCESS_START -d:MONO_FEATURE_THREAD_ABORT 
> -d:MONO_FEATURE_THREAD_SUSPEND_RESUME -unsafe  -target:library 
> -out:../../class/lib/basic/secxml/System.dll 
> @./../../build/deps/basic_System.dll.sources >& runtime.log
> 
> as well as:
> 
> $ valgrind --tool=helgrind $HOME/mono/mono/mini/mono --verify-all 
> ./../../class/lib/monolite/basic.exe   -d:NET_4_0 -d:NET_4_5 
> -d:MONO -d:BOOTSTRAP_BASIC -nowarn:1699 -d:DISABLE_CAS_USE 
> -lib:./../../class/lib/basic -optimize /noconfig -nowarn:618 
> -d:CONFIGURATION_2_0 
> -d:FEATURE_PAL,SYSTEM_NAMESPACE,MONO,PLATFORM_UNIX 
> -d:MONO_FEATURE_PROCESS_START -d:MONO_FEATURE_THREAD_ABORT 
> -d:MONO_FEATURE_THREAD_SUSPEND_RESUME -unsafe  -target:library 
> -out:../../class/lib/basic/secxml/System.dll 
> @./../../build/deps/basic_System.dll.sources >& helgrind.log
> 
> Thanks much !
> 

Mathieu,

I have finished with the build process and attempted to gather logs. I
have attached a text file showing commands and results as requested.

Let me know what more you would like

Kristen



As root:

# uname -a
Linux DebianPPC 3.16.0-4-powerpc-smp #1 SMP Debian 3.16.7-ckt25-1 (2016-03-06) ppc GNU/Linux

# cat /proc/cpuinfo
processor       : 0
cpu             : 7447A, altivec supported
clock           : 1600.000000MHz
revision        : 1.1 (pvr 8003 0101)
bogomips        : 49.81

processor       : 1
cpu             : 7447A, altivec supported
clock           : 1600.000000MHz
revision        : 1.1 (pvr 8003 0101)
bogomips        : 49.81

total bogomips  : 99.63
timebase        : 24907667
platform        : PowerMac
model           : PowerMac3,3
machine         : PowerMac3,3
motherboard     : PowerMac3,3 MacRISC2 MacRISC Power Macintosh
detected as     : 65 (PowerMac G4 AGP Graphics)
pmac flags      : 00000014
pmac-generation : NewWorld
Memory          : 1536 MB

# apt-get build-dep mono-devel
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Picking 'mono' as source package instead of 'mono-devel'
The following NEW packages will be installed:
  autoconf automake autotools-dev bison libbison-dev libtool libxml-dom-perl libxml-perl libxml-regexp-perl libxml2-dev libxslt1-dev
  libxt-dev
0 upgraded, 12 newly installed, 0 to remove and 0 not upgraded.
Need to get 4,267 kB of archives.
After this operation, 13.9 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
~ SNIPPED ~

# apt-get install git
~ Installed ~

# cd

# git clone https://github.com/mono/mono.git && cd mono
Cloning into 'mono'...
remote: Counting objects: 1045243, done.
remote: Compressing objects: 100% (21/21), done.
Receiving objects:  15% (160409/1045243), 79.43 MiB | 1.07 MiB/s

# ./autogen.sh --prefix=$HOME/monoBuild
~ SNIPED ~
Git submodules updated successfully

        mcs source:    mcs

   Engine:
	Host:	       powerpc-unknown-linux-gnu
	Target:	       powerpc-unknown-linux-gnu
	GC:	       sgen and Included Boehm GC with typed GC and parallel mark
	TLS:           __thread
	SIGALTSTACK:   yes
	Engine:        Building and using the JIT
	oprofile:      no
	BigArrays:     no
	DTrace:        no
	LLVM Back End: no (dynamically loaded: no)

   Libraries:
	.NET 4.6:        yes
	Xamarin.Android: no
	Xamarin.iOS:     no
	Xamarin.WatchOS: no
	Xamarin.TVOS:    no
	Xamarin.Mac:     no
	mobile_static:   no
	JNI support:     IKVM Native
	libgdiplus:      assumed to be installed
	zlib:            system zlib
	

Now type `make' to compile

# make get-monolite-latest
~ SNIPPED ~
2016-04-09 13:16:16 (2.24 MB/s) - written to stdout [4463301/4463301]

cd /root/mono/mcs/class/lib && mv -f monolite-* monolite

# make V=1 PROFILE=basic
~ Lots of build info with warnings ~
make[3]: Entering directory '/root/mono/docs'
*** Assuming PLATFORM is 'linux'.
MONO_PATH="./../mcs/class/lib/net_4_x:$MONO_PATH" /root/mono/runtime/mono-wrapper ./../mcs/class/lib/net_4_x/mdoc.exe assemble -o monoapi -f hb toc.xml
Warning: File `DoesNotExist' referenced in TOC but it doesn't exist. It will be ignored.
make[3]: Leaving directory '/root/mono/docs'
make[2]: Leaving directory '/root/mono/docs'
Making all in acceptance-tests
make[2]: Entering directory '/root/mono/acceptance-tests'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/root/mono/acceptance-tests'
make[2]: Entering directory '/root/mono'
make[2]: Leaving directory '/root/mono'
make[1]: Leaving directory '/root/mono'

# cd mcs/class/System

# export MONO_PATH="./../../class/lib/monolite:$MONO_PATH"

# $HOME/mono/mono/mini/mono --verify-all ./../../class/lib/monolite/basic.exe   -d:NET_4_0 -d:NET_4_5 -d:MONO -d:BOOTSTRAP_BASIC -nowarn:1699 -:DISABLE_CAS_USE -lib:./../../class/lib/basic -optimize /noconfig -nowarn:618 -d:CONFIGURATION_2_0 -d:FEATURE_PAL,SYSTEM_NAMESPACE,MONO,PLATFORM_UNIX -d:MONO_FEATURE_PROCESS_START -d:MONO_FEATURE_THREAD_ABORT -d:MONO_FEATURE_THREAD_SUSPEND_RESUME -unsafe  -target:library -out:../../class/lib/basic/secxml/System.dll @./../../build/deps/basic_System.dll.sources >& runtime.log

# valgrind --tool=helgrind $HOME/mono/mono/mini/mono --verify-all ./../../class/lib/monolite/basic.exe   -d:NET_4_0 -d:NET_4_5 -d:MONO -d:BOOTSTRAP_BASIC -nowarn:1699 -d:DISABLE_CAS_USE -lib:./../../class/lib/basic -optimize /noconfig -nowarn:618 -d:CONFIGURATION_2_0 -:FEATURE_PAL,SYSTEM_NAMESPACE,MONO,PLATFORM_UNIX -d:MONO_FEATURE_PROCESS_START -d:MONO_FEATURE_THREAD_ABORT -d:MONO_FEATURE_THREAD_SUSPEND_RESUME -unsafe  -target:library -out:../../class/lib/basic/secxml/System.dll @./../../build/deps/basic_System.dll.sources >& helgrind.log

runtime.log:
error CS2007: Unrecognized command-line option: `-:DISABLE_CAS_USE'

helgrind.log:
-su: valgrind: command not found

Reply to: