Cannot generate VM in Windows with CMake and Git

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Cannot generate VM in Windows with CMake and Git

Mariano Martinez Peck
 
Hi.  I get this error while trying to compile:

Linking C static library libFilePlugin.a
[ 12%] Built target FilePlugin
Scanning dependencies of target FloatArrayPlugin
[ 13%] Building C object FloatArrayPlugin/CMakeFiles/FloatArrayPlugin.dir/C_/mar                   iano/squeak/vm/cogVM/blessed/src/plugins/FloatArrayPlugin/FloatArrayPlugin.c.obj
Linking C static library libFloatArrayPlugin.a
[ 13%] Built target FloatArrayPlugin
Scanning dependencies of target FloatMathPlugin
[ 13%] Building C object FloatMathPlugin/CMakeFiles/FloatMathPlugin.dir/C_/maria                   no/squeak/vm/cogVM/blessed/src/plugins/FloatMathPlugin/FloatMathPlugin.c.obj
cc1.exe: error: invalid option `no-fused-madd'
make[2]: *** [FloatMathPlugin/CMakeFiles/FloatMathPlugin.dir/C_/mariano/squeak/v                   m/cogVM/blessed/src/plugins/FloatMathPlugin/FloatMathPlugin.c.obj] Error 1
make[1]: *** [FloatMathPlugin/CMakeFiles/FloatMathPlugin.dir/all] Error 2
make: *** [all] Error 2

Any idea?

Thanks

--
Mariano
http://marianopeck.wordpress.com

Reply | Threaded
Open this post in threaded view
|

Re: Cannot generate VM in Windows with CMake and Git

Igor Stasenko

On 7 April 2011 23:04, Mariano Martinez Peck <[hidden email]> wrote:
>
> Hi.  I get this error while trying to compile:
>
> cc1.exe: error: invalid option `no-fused-madd'

> Any idea?
>
yes. find and kill that option.
But it is strange. I building without problems... except that maybe
someone changed the default compiler flags?


> Thanks
>
> --
> Mariano
> http://marianopeck.wordpress.com
>
>
>



--
Best regards,
Igor Stasenko AKA sig.
Reply | Threaded
Open this post in threaded view
|

Re: Cannot generate VM in Windows with CMake and Git

Mariano Martinez Peck
 


On Thu, Apr 7, 2011 at 11:06 PM, Igor Stasenko <[hidden email]> wrote:

On 7 April 2011 23:04, Mariano Martinez Peck <[hidden email]> wrote:
>
> Hi.  I get this error while trying to compile:
>
> cc1.exe: error: invalid option `no-fused-madd'

> Any idea?
>
yes. find and kill that option.
But it is strange. I building without problems... except that maybe
someone changed the default compiler flags?

I check by building with your latest CMMakeVMaker with our name and still the same problem.
To remove such flag, I removed from CPlatformConfig >> configureFloatMathPlugin:
It seems to at least not bark anymore about that.  So..to fix this I guess we should overwrite this method in the windows conf.
What I am not sure is the implicance of removing such flag. Google tells me this:

`no-fused-madd'
Enable/disable the generation of the fused multiply/add instructions.

Anyway...after that, I couldn't compile yet...I now have this error:

[ 98%] Building C object CMakeFiles/CogVM.dir/C_/mariano/squeak/vm/cogVM/blessed/platforms/win32/vm/sqWin32Utils.c.obj
Linking C executable /C/mariano/squeak/vm/cogVM/blessed/results/CogVM.exe
Can't open .lib file: /C/mariano/squeak/vm/cogVM/blessed/results/libCogVM.dll.a
collect2: ld returned 1 exit status
make[2]: *** [C:/mariano/squeak/vm/cogVM/blessed/results/CogVM.exe] Error 1
make[1]: *** [CMakeFiles/CogVM.dir/all] Error 2
make: *** [all] Error 2

/results is empty. There is nothing there. I check the permissons of /results but they seem correct:

JuanjoE@JUANJOE-NB /c/mariano/squeak/vm/cogVM/blessed
$ ls -la
total 13
drwxr-xr-x   14 JuanjoE  Administ        0 Apr  8 07:54 .
drwxr-xr-x    3 JuanjoE  Administ        0 Apr  7 16:39 ..
drwxr-xr-x    7 JuanjoE  Administ        0 Apr  7 16:41 .git
-rw-r--r--    1 JuanjoE  Administ     6732 Apr  7 16:41 .gitignore
-rw-r--r--    1 JuanjoE  Administ       42 Apr  7 16:41 CHANGES
-rw-r--r--    1 JuanjoE  Administ     1132 Apr  7 16:41 LICENSE
-rw-r--r--    1 JuanjoE  Administ    13848 Apr  7 16:41 README
-rw-r--r--    1 JuanjoE  Administ       18 Apr  7 16:41 VERSION
drwxr-xr-x   39 JuanjoE  Administ        0 Apr  8 07:56 build
drwxr-xr-x    2 JuanjoE  Administ        0 Apr  7 16:41 codegen-scripts
drwxr-xr-x    2 JuanjoE  Administ        0 Apr  7 16:41 cygwinbuild
drwxr-xr-x    4 JuanjoE  Administ        0 Apr  7 17:54 image
drwxr-xr-x   13 JuanjoE  Administ        0 Apr  7 16:41 macbuild
drwxr-xr-x    7 JuanjoE  Administ        0 Apr  7 16:41 platforms
drwxr-xr-x    4 JuanjoE  Administ        0 Apr  7 16:41 processors
drwxr-xr-x    2 JuanjoE  Administ        0 Apr  8 07:56 results
drwxr-xr-x    2 JuanjoE  Administ        0 Apr  7 16:41 scripts
drwxr-xr-x    4 JuanjoE  Administ        0 Apr  8 07:38 src
drwxr-xr-x    4 JuanjoE  Administ        0 Apr  7 16:41 unixbuild


Any idea?

Thanks

--
Mariano
http://marianopeck.wordpress.com

Reply | Threaded
Open this post in threaded view
|

Re: Cannot generate VM in Windows with CMake and Git

Igor Stasenko

On 8 April 2011 13:01, Mariano Martinez Peck <[hidden email]> wrote:

>
>
> On Thu, Apr 7, 2011 at 11:06 PM, Igor Stasenko <[hidden email]> wrote:
>>
>> On 7 April 2011 23:04, Mariano Martinez Peck <[hidden email]>
>> wrote:
>> >
>> > Hi.  I get this error while trying to compile:
>> >
>> > cc1.exe: error: invalid option `no-fused-madd'
>>
>> > Any idea?
>> >
>> yes. find and kill that option.
>> But it is strange. I building without problems... except that maybe
>> someone changed the default compiler flags?
>
> I check by building with your latest CMMakeVMaker with our name and still
> the same problem.
> To remove such flag, I removed from CPlatformConfig >>
> configureFloatMathPlugin:
> It seems to at least not bark anymore about that.  So..to fix this I guess
> we should overwrite this method in the windows conf.
> What I am not sure is the implicance of removing such flag. Google tells me
> this:
>
> `no-fused-madd'
> Enable/disable the generation of the fused multiply/add instructions.
>
> Anyway...after that, I couldn't compile yet...I now have this error:
>
> [ 98%] Building C object
> CMakeFiles/CogVM.dir/C_/mariano/squeak/vm/cogVM/blessed/platforms/win32/vm/sqWin32Utils.c.obj
> Linking C executable /C/mariano/squeak/vm/cogVM/blessed/results/CogVM.exe
> Can't open .lib file:
> /C/mariano/squeak/vm/cogVM/blessed/results/libCogVM.dll.a
> collect2: ld returned 1 exit status
> make[2]: *** [C:/mariano/squeak/vm/cogVM/blessed/results/CogVM.exe] Error 1
> make[1]: *** [CMakeFiles/CogVM.dir/all] Error 2
> make: *** [all] Error 2
>
> /results is empty. There is nothing there. I check the permissons of
> /results but they seem correct:
>
> JuanjoE@JUANJOE-NB /c/mariano/squeak/vm/cogVM/blessed
> $ ls -la
> total 13
> drwxr-xr-x   14 JuanjoE  Administ        0 Apr  8 07:54 .
> drwxr-xr-x    3 JuanjoE  Administ        0 Apr  7 16:39 ..
> drwxr-xr-x    7 JuanjoE  Administ        0 Apr  7 16:41 .git
> -rw-r--r--    1 JuanjoE  Administ     6732 Apr  7 16:41 .gitignore
> -rw-r--r--    1 JuanjoE  Administ       42 Apr  7 16:41 CHANGES
> -rw-r--r--    1 JuanjoE  Administ     1132 Apr  7 16:41 LICENSE
> -rw-r--r--    1 JuanjoE  Administ    13848 Apr  7 16:41 README
> -rw-r--r--    1 JuanjoE  Administ       18 Apr  7 16:41 VERSION
> drwxr-xr-x   39 JuanjoE  Administ        0 Apr  8 07:56 build
> drwxr-xr-x    2 JuanjoE  Administ        0 Apr  7 16:41 codegen-scripts
> drwxr-xr-x    2 JuanjoE  Administ        0 Apr  7 16:41 cygwinbuild
> drwxr-xr-x    4 JuanjoE  Administ        0 Apr  7 17:54 image
> drwxr-xr-x   13 JuanjoE  Administ        0 Apr  7 16:41 macbuild
> drwxr-xr-x    7 JuanjoE  Administ        0 Apr  7 16:41 platforms
> drwxr-xr-x    4 JuanjoE  Administ        0 Apr  7 16:41 processors
> drwxr-xr-x    2 JuanjoE  Administ        0 Apr  8 07:56 results
> drwxr-xr-x    2 JuanjoE  Administ        0 Apr  7 16:41 scripts
> drwxr-xr-x    4 JuanjoE  Administ        0 Apr  8 07:38 src
> drwxr-xr-x    4 JuanjoE  Administ        0 Apr  7 16:41 unixbuild
>
>
> Any idea?
>

yes, most probably the output path for some of the libs are hardcoded
and point to wrong location (i.e. still to build/results,
instead of /results)


> Thanks
>
> --
> Mariano
> http://marianopeck.wordpress.com
>
>



--
Best regards,
Igor Stasenko AKA sig.
Reply | Threaded
Open this post in threaded view
|

Re: Cannot generate VM in Windows with CMake and Git

Mariano Martinez Peck
 


On Fri, Apr 8, 2011 at 1:06 PM, Igor Stasenko <[hidden email]> wrote:
On 8 April 2011 13:01, Mariano Martinez Peck <[hidden email]> wrote:
>
>
> On Thu, Apr 7, 2011 at 11:06 PM, Igor Stasenko <[hidden email]> wrote:
>>
>> On 7 April 2011 23:04, Mariano Martinez Peck <[hidden email]>
>> wrote:
>> >
>> > Hi.  I get this error while trying to compile:
>> >
>> > cc1.exe: error: invalid option `no-fused-madd'
>>
>> > Any idea?
>> >
>> yes. find and kill that option.
>> But it is strange. I building without problems... except that maybe
>> someone changed the default compiler flags?
>
> I check by building with your latest CMMakeVMaker with our name and still
> the same problem.
> To remove such flag, I removed from CPlatformConfig >>
> configureFloatMathPlugin:
> It seems to at least not bark anymore about that.  So..to fix this I guess
> we should overwrite this method in the windows conf.
> What I am not sure is the implicance of removing such flag. Google tells me
> this:
>
> `no-fused-madd'
> Enable/disable the generation of the fused multiply/add instructions.
>
> Anyway...after that, I couldn't compile yet...I now have this error:
>
> [ 98%] Building C object
> CMakeFiles/CogVM.dir/C_/mariano/squeak/vm/cogVM/blessed/platforms/win32/vm/sqWin32Utils.c.obj
> Linking C executable /C/mariano/squeak/vm/cogVM/blessed/results/CogVM.exe
> Can't open .lib file:
> /C/mariano/squeak/vm/cogVM/blessed/results/libCogVM.dll.a
> collect2: ld returned 1 exit status
> make[2]: *** [C:/mariano/squeak/vm/cogVM/blessed/results/CogVM.exe] Error 1
> make[1]: *** [CMakeFiles/CogVM.dir/all] Error 2
> make: *** [all] Error 2
>
> /results is empty. There is nothing there. I check the permissons of
> /results but they seem correct:
>
> JuanjoE@JUANJOE-NB /c/mariano/squeak/vm/cogVM/blessed
> $ ls -la
> total 13
> drwxr-xr-x   14 JuanjoE  Administ        0 Apr  8 07:54 .
> drwxr-xr-x    3 JuanjoE  Administ        0 Apr  7 16:39 ..
> drwxr-xr-x    7 JuanjoE  Administ        0 Apr  7 16:41 .git
> -rw-r--r--    1 JuanjoE  Administ     6732 Apr  7 16:41 .gitignore
> -rw-r--r--    1 JuanjoE  Administ       42 Apr  7 16:41 CHANGES
> -rw-r--r--    1 JuanjoE  Administ     1132 Apr  7 16:41 LICENSE
> -rw-r--r--    1 JuanjoE  Administ    13848 Apr  7 16:41 README
> -rw-r--r--    1 JuanjoE  Administ       18 Apr  7 16:41 VERSION
> drwxr-xr-x   39 JuanjoE  Administ        0 Apr  8 07:56 build
> drwxr-xr-x    2 JuanjoE  Administ        0 Apr  7 16:41 codegen-scripts
> drwxr-xr-x    2 JuanjoE  Administ        0 Apr  7 16:41 cygwinbuild
> drwxr-xr-x    4 JuanjoE  Administ        0 Apr  7 17:54 image
> drwxr-xr-x   13 JuanjoE  Administ        0 Apr  7 16:41 macbuild
> drwxr-xr-x    7 JuanjoE  Administ        0 Apr  7 16:41 platforms
> drwxr-xr-x    4 JuanjoE  Administ        0 Apr  7 16:41 processors
> drwxr-xr-x    2 JuanjoE  Administ        0 Apr  8 07:56 results
> drwxr-xr-x    2 JuanjoE  Administ        0 Apr  7 16:41 scripts
> drwxr-xr-x    4 JuanjoE  Administ        0 Apr  8 07:38 src
> drwxr-xr-x    4 JuanjoE  Administ        0 Apr  7 16:41 unixbuild
>
>
> Any idea?
>

yes, most probably the output path for some of the libs are hardcoded
and point to wrong location (i.e. still to build/results,
instead of /results)


Ok. Just for the record. build/results doesn't even exist in my case. And I am using your version of CMMakeVersion and it was working for you (remember my changes of /result was only for mac since Windows it was already there
 
Cheers

--
Mariano
http://marianopeck.wordpress.com

Reply | Threaded
Open this post in threaded view
|

Re: Cannot generate VM in Windows with CMake and Git

Mariano Martinez Peck
 
Igor...regarding the problem of the "cc1.exe: error: invalid option `no-fused-madd'"...which GCC do you have in MinGW in windows?  I have

$ gcc --version
gcc.exe (GCC) 3.4.5 (mingw-vista special r3)

Cheers

Mariano

On Fri, Apr 8, 2011 at 1:11 PM, Mariano Martinez Peck <[hidden email]> wrote:


On Fri, Apr 8, 2011 at 1:06 PM, Igor Stasenko <[hidden email]> wrote:
On 8 April 2011 13:01, Mariano Martinez Peck <[hidden email]> wrote:
>
>
> On Thu, Apr 7, 2011 at 11:06 PM, Igor Stasenko <[hidden email]> wrote:
>>
>> On 7 April 2011 23:04, Mariano Martinez Peck <[hidden email]>
>> wrote:
>> >
>> > Hi.  I get this error while trying to compile:
>> >
>> > cc1.exe: error: invalid option `no-fused-madd'
>>
>> > Any idea?
>> >
>> yes. find and kill that option.
>> But it is strange. I building without problems... except that maybe
>> someone changed the default compiler flags?
>
> I check by building with your latest CMMakeVMaker with our name and still
> the same problem.
> To remove such flag, I removed from CPlatformConfig >>
> configureFloatMathPlugin:
> It seems to at least not bark anymore about that.  So..to fix this I guess
> we should overwrite this method in the windows conf.
> What I am not sure is the implicance of removing such flag. Google tells me
> this:
>
> `no-fused-madd'
> Enable/disable the generation of the fused multiply/add instructions.
>
> Anyway...after that, I couldn't compile yet...I now have this error:
>
> [ 98%] Building C object
> CMakeFiles/CogVM.dir/C_/mariano/squeak/vm/cogVM/blessed/platforms/win32/vm/sqWin32Utils.c.obj
> Linking C executable /C/mariano/squeak/vm/cogVM/blessed/results/CogVM.exe
> Can't open .lib file:
> /C/mariano/squeak/vm/cogVM/blessed/results/libCogVM.dll.a
> collect2: ld returned 1 exit status
> make[2]: *** [C:/mariano/squeak/vm/cogVM/blessed/results/CogVM.exe] Error 1
> make[1]: *** [CMakeFiles/CogVM.dir/all] Error 2
> make: *** [all] Error 2
>
> /results is empty. There is nothing there. I check the permissons of
> /results but they seem correct:
>
> JuanjoE@JUANJOE-NB /c/mariano/squeak/vm/cogVM/blessed
> $ ls -la
> total 13
> drwxr-xr-x   14 JuanjoE  Administ        0 Apr  8 07:54 .
> drwxr-xr-x    3 JuanjoE  Administ        0 Apr  7 16:39 ..
> drwxr-xr-x    7 JuanjoE  Administ        0 Apr  7 16:41 .git
> -rw-r--r--    1 JuanjoE  Administ     6732 Apr  7 16:41 .gitignore
> -rw-r--r--    1 JuanjoE  Administ       42 Apr  7 16:41 CHANGES
> -rw-r--r--    1 JuanjoE  Administ     1132 Apr  7 16:41 LICENSE
> -rw-r--r--    1 JuanjoE  Administ    13848 Apr  7 16:41 README
> -rw-r--r--    1 JuanjoE  Administ       18 Apr  7 16:41 VERSION
> drwxr-xr-x   39 JuanjoE  Administ        0 Apr  8 07:56 build
> drwxr-xr-x    2 JuanjoE  Administ        0 Apr  7 16:41 codegen-scripts
> drwxr-xr-x    2 JuanjoE  Administ        0 Apr  7 16:41 cygwinbuild
> drwxr-xr-x    4 JuanjoE  Administ        0 Apr  7 17:54 image
> drwxr-xr-x   13 JuanjoE  Administ        0 Apr  7 16:41 macbuild
> drwxr-xr-x    7 JuanjoE  Administ        0 Apr  7 16:41 platforms
> drwxr-xr-x    4 JuanjoE  Administ        0 Apr  7 16:41 processors
> drwxr-xr-x    2 JuanjoE  Administ        0 Apr  8 07:56 results
> drwxr-xr-x    2 JuanjoE  Administ        0 Apr  7 16:41 scripts
> drwxr-xr-x    4 JuanjoE  Administ        0 Apr  8 07:38 src
> drwxr-xr-x    4 JuanjoE  Administ        0 Apr  7 16:41 unixbuild
>
>
> Any idea?
>

yes, most probably the output path for some of the libs are hardcoded
and point to wrong location (i.e. still to build/results,
instead of /results)


Ok. Just for the record. build/results doesn't even exist in my case. And I am using your version of CMMakeVersion and it was working for you (remember my changes of /result was only for mac since Windows it was already there
 
Cheers

--



--
Mariano
http://marianopeck.wordpress.com

Reply | Threaded
Open this post in threaded view
|

Re: Cannot generate VM in Windows with CMake and Git

Igor Stasenko

On 10 April 2011 23:36, Mariano Martinez Peck <[hidden email]> wrote:
>
> Igor...regarding the problem of the "cc1.exe: error: invalid option `no-fused-madd'"...which GCC do you have in MinGW in windows?  I have
>
> $ gcc --version
> gcc.exe (GCC) 3.4.5 (mingw-vista special r3)
>

i don't remember. but if you installed from same locaitons as me, it
should have same version.
i will check.. i working on making configs for stuff which already working.
Then i will start configuring windows slaves and will check everything.

> Cheers
>
> Mariano
>
> On Fri, Apr 8, 2011 at 1:11 PM, Mariano Martinez Peck <[hidden email]> wrote:
>>
>>
>> On Fri, Apr 8, 2011 at 1:06 PM, Igor Stasenko <[hidden email]> wrote:
>>>
>>> On 8 April 2011 13:01, Mariano Martinez Peck <[hidden email]> wrote:
>>> >
>>> >
>>> > On Thu, Apr 7, 2011 at 11:06 PM, Igor Stasenko <[hidden email]> wrote:
>>> >>
>>> >> On 7 April 2011 23:04, Mariano Martinez Peck <[hidden email]>
>>> >> wrote:
>>> >> >
>>> >> > Hi.  I get this error while trying to compile:
>>> >> >
>>> >> > cc1.exe: error: invalid option `no-fused-madd'
>>> >>
>>> >> > Any idea?
>>> >> >
>>> >> yes. find and kill that option.
>>> >> But it is strange. I building without problems... except that maybe
>>> >> someone changed the default compiler flags?
>>> >
>>> > I check by building with your latest CMMakeVMaker with our name and still
>>> > the same problem.
>>> > To remove such flag, I removed from CPlatformConfig >>
>>> > configureFloatMathPlugin:
>>> > It seems to at least not bark anymore about that.  So..to fix this I guess
>>> > we should overwrite this method in the windows conf.
>>> > What I am not sure is the implicance of removing such flag. Google tells me
>>> > this:
>>> >
>>> > `no-fused-madd'
>>> > Enable/disable the generation of the fused multiply/add instructions.
>>> >
>>> > Anyway...after that, I couldn't compile yet...I now have this error:
>>> >
>>> > [ 98%] Building C object
>>> > CMakeFiles/CogVM.dir/C_/mariano/squeak/vm/cogVM/blessed/platforms/win32/vm/sqWin32Utils.c.obj
>>> > Linking C executable /C/mariano/squeak/vm/cogVM/blessed/results/CogVM.exe
>>> > Can't open .lib file:
>>> > /C/mariano/squeak/vm/cogVM/blessed/results/libCogVM.dll.a
>>> > collect2: ld returned 1 exit status
>>> > make[2]: *** [C:/mariano/squeak/vm/cogVM/blessed/results/CogVM.exe] Error 1
>>> > make[1]: *** [CMakeFiles/CogVM.dir/all] Error 2
>>> > make: *** [all] Error 2
>>> >
>>> > /results is empty. There is nothing there. I check the permissons of
>>> > /results but they seem correct:
>>> >
>>> > JuanjoE@JUANJOE-NB /c/mariano/squeak/vm/cogVM/blessed
>>> > $ ls -la
>>> > total 13
>>> > drwxr-xr-x   14 JuanjoE  Administ        0 Apr  8 07:54 .
>>> > drwxr-xr-x    3 JuanjoE  Administ        0 Apr  7 16:39 ..
>>> > drwxr-xr-x    7 JuanjoE  Administ        0 Apr  7 16:41 .git
>>> > -rw-r--r--    1 JuanjoE  Administ     6732 Apr  7 16:41 .gitignore
>>> > -rw-r--r--    1 JuanjoE  Administ       42 Apr  7 16:41 CHANGES
>>> > -rw-r--r--    1 JuanjoE  Administ     1132 Apr  7 16:41 LICENSE
>>> > -rw-r--r--    1 JuanjoE  Administ    13848 Apr  7 16:41 README
>>> > -rw-r--r--    1 JuanjoE  Administ       18 Apr  7 16:41 VERSION
>>> > drwxr-xr-x   39 JuanjoE  Administ        0 Apr  8 07:56 build
>>> > drwxr-xr-x    2 JuanjoE  Administ        0 Apr  7 16:41 codegen-scripts
>>> > drwxr-xr-x    2 JuanjoE  Administ        0 Apr  7 16:41 cygwinbuild
>>> > drwxr-xr-x    4 JuanjoE  Administ        0 Apr  7 17:54 image
>>> > drwxr-xr-x   13 JuanjoE  Administ        0 Apr  7 16:41 macbuild
>>> > drwxr-xr-x    7 JuanjoE  Administ        0 Apr  7 16:41 platforms
>>> > drwxr-xr-x    4 JuanjoE  Administ        0 Apr  7 16:41 processors
>>> > drwxr-xr-x    2 JuanjoE  Administ        0 Apr  8 07:56 results
>>> > drwxr-xr-x    2 JuanjoE  Administ        0 Apr  7 16:41 scripts
>>> > drwxr-xr-x    4 JuanjoE  Administ        0 Apr  8 07:38 src
>>> > drwxr-xr-x    4 JuanjoE  Administ        0 Apr  7 16:41 unixbuild
>>> >
>>> >
>>> > Any idea?
>>> >
>>>
>>> yes, most probably the output path for some of the libs are hardcoded
>>> and point to wrong location (i.e. still to build/results,
>>> instead of /results)
>>>
>>
>> Ok. Just for the record. build/results doesn't even exist in my case. And I am using your version of CMMakeVersion and it was working for you (remember my changes of /result was only for mac since Windows it was already there
>>
>> Cheers
>>
>> --
>> Mariano
>> http://marianopeck.wordpress.com
>>
>
>
>
> --
> Mariano
> http://marianopeck.wordpress.com
>
>
>



--
Best regards,
Igor Stasenko AKA sig.
Reply | Threaded
Open this post in threaded view
|

Re: Cannot generate VM in Windows with CMake and Git

Mariano Martinez Peck
 


On Mon, Apr 11, 2011 at 12:21 PM, Igor Stasenko <[hidden email]> wrote:

On 10 April 2011 23:36, Mariano Martinez Peck <[hidden email]> wrote:
>
> Igor...regarding the problem of the "cc1.exe: error: invalid option `no-fused-madd'"...which GCC do you have in MinGW in windows?  I have
>
> $ gcc --version
> gcc.exe (GCC) 3.4.5 (mingw-vista special r3)
>

i don't remember. but if you installed from same locaitons as me, it
should have same version.

No. Because I have already installed MSYS from before (1 or 2 years ago, for compiling OpenDBX). The only new stuff that I installed was Git and CMake.
 
i will check.. i working on making configs for stuff which already working.
Then i will start configuring windows slaves and will check everything.

Ok. Let me know if I can help in something.

Cheers

Mariano
 

> Cheers
>
> Mariano
>
> On Fri, Apr 8, 2011 at 1:11 PM, Mariano Martinez Peck <[hidden email]> wrote:
>>
>>
>> On Fri, Apr 8, 2011 at 1:06 PM, Igor Stasenko <[hidden email]> wrote:
>>>
>>> On 8 April 2011 13:01, Mariano Martinez Peck <[hidden email]> wrote:
>>> >
>>> >
>>> > On Thu, Apr 7, 2011 at 11:06 PM, Igor Stasenko <[hidden email]> wrote:
>>> >>
>>> >> On 7 April 2011 23:04, Mariano Martinez Peck <[hidden email]>
>>> >> wrote:
>>> >> >
>>> >> > Hi.  I get this error while trying to compile:
>>> >> >
>>> >> > cc1.exe: error: invalid option `no-fused-madd'
>>> >>
>>> >> > Any idea?
>>> >> >
>>> >> yes. find and kill that option.
>>> >> But it is strange. I building without problems... except that maybe
>>> >> someone changed the default compiler flags?
>>> >
>>> > I check by building with your latest CMMakeVMaker with our name and still
>>> > the same problem.
>>> > To remove such flag, I removed from CPlatformConfig >>
>>> > configureFloatMathPlugin:
>>> > It seems to at least not bark anymore about that.  So..to fix this I guess
>>> > we should overwrite this method in the windows conf.
>>> > What I am not sure is the implicance of removing such flag. Google tells me
>>> > this:
>>> >
>>> > `no-fused-madd'
>>> > Enable/disable the generation of the fused multiply/add instructions.
>>> >
>>> > Anyway...after that, I couldn't compile yet...I now have this error:
>>> >
>>> > [ 98%] Building C object
>>> > CMakeFiles/CogVM.dir/C_/mariano/squeak/vm/cogVM/blessed/platforms/win32/vm/sqWin32Utils.c.obj
>>> > Linking C executable /C/mariano/squeak/vm/cogVM/blessed/results/CogVM.exe
>>> > Can't open .lib file:
>>> > /C/mariano/squeak/vm/cogVM/blessed/results/libCogVM.dll.a
>>> > collect2: ld returned 1 exit status
>>> > make[2]: *** [C:/mariano/squeak/vm/cogVM/blessed/results/CogVM.exe] Error 1
>>> > make[1]: *** [CMakeFiles/CogVM.dir/all] Error 2
>>> > make: *** [all] Error 2
>>> >
>>> > /results is empty. There is nothing there. I check the permissons of
>>> > /results but they seem correct:
>>> >
>>> > JuanjoE@JUANJOE-NB /c/mariano/squeak/vm/cogVM/blessed
>>> > $ ls -la
>>> > total 13
>>> > drwxr-xr-x   14 JuanjoE  Administ        0 Apr  8 07:54 .
>>> > drwxr-xr-x    3 JuanjoE  Administ        0 Apr  7 16:39 ..
>>> > drwxr-xr-x    7 JuanjoE  Administ        0 Apr  7 16:41 .git
>>> > -rw-r--r--    1 JuanjoE  Administ     6732 Apr  7 16:41 .gitignore
>>> > -rw-r--r--    1 JuanjoE  Administ       42 Apr  7 16:41 CHANGES
>>> > -rw-r--r--    1 JuanjoE  Administ     1132 Apr  7 16:41 LICENSE
>>> > -rw-r--r--    1 JuanjoE  Administ    13848 Apr  7 16:41 README
>>> > -rw-r--r--    1 JuanjoE  Administ       18 Apr  7 16:41 VERSION
>>> > drwxr-xr-x   39 JuanjoE  Administ        0 Apr  8 07:56 build
>>> > drwxr-xr-x    2 JuanjoE  Administ        0 Apr  7 16:41 codegen-scripts
>>> > drwxr-xr-x    2 JuanjoE  Administ        0 Apr  7 16:41 cygwinbuild
>>> > drwxr-xr-x    4 JuanjoE  Administ        0 Apr  7 17:54 image
>>> > drwxr-xr-x   13 JuanjoE  Administ        0 Apr  7 16:41 macbuild
>>> > drwxr-xr-x    7 JuanjoE  Administ        0 Apr  7 16:41 platforms
>>> > drwxr-xr-x    4 JuanjoE  Administ        0 Apr  7 16:41 processors
>>> > drwxr-xr-x    2 JuanjoE  Administ        0 Apr  8 07:56 results
>>> > drwxr-xr-x    2 JuanjoE  Administ        0 Apr  7 16:41 scripts
>>> > drwxr-xr-x    4 JuanjoE  Administ        0 Apr  8 07:38 src
>>> > drwxr-xr-x    4 JuanjoE  Administ        0 Apr  7 16:41 unixbuild
>>> >
>>> >
>>> > Any idea?
>>> >
>>>
>>> yes, most probably the output path for some of the libs are hardcoded
>>> and point to wrong location (i.e. still to build/results,
>>> instead of /results)
>>>
>>
>> Ok. Just for the record. build/results doesn't even exist in my case. And I am using your version of CMMakeVersion and it was working for you (remember my changes of /result was only for mac since Windows it was already there
>>
>> Cheers
>>
>> --
>> Mariano
>> http://marianopeck.wordpress.com
>>
>
>
>
> --
> Mariano
> http://marianopeck.wordpress.com
>
>
>



--
Best regards,
Igor Stasenko AKA sig.



--
Mariano
http://marianopeck.wordpress.com