compiling 0.9 fails on Intel Core

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
yorik
Founder
Posts: 13665
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: compiling 0.9 fails on Intel Core

Post by yorik »

hehe... i think the whole sourceforge just had a total crash :)
anonymous2

Re: compiling 0.9 fails on Intel Core

Post by anonymous2 »

As mentioned earlier there is a race condition at build time. For all the extension modules we build two libs for App and Gui. One is of the name libModname.so -- the usual naming and the other is Modname.so -- needed to be recognized from Python as Python module. Modname.so is only built out of one file containing the Python init function and depends on the libModname.so.

Now it happens on a multi-core that Modname.so is built before libModname.so which causes the linker error.

The trick is to define an explicit dependency from Modname on libModname. Have a look on the modified Makefile.am at http://free-cad.svn.sourceforge.net/vie ... ision=2679
Roelof

Re: compiling 0.9 fails on Intel Core

Post by Roelof »

Oke,

I see it.

I have to quesutions now.

1) Will there be a .tar.gz of this revision ?
2) Do I still have to drop the -j option of make ?

Roelof
wmayer
Founder
Posts: 20319
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: compiling 0.9 fails on Intel Core

Post by wmayer »

1. Yes. See the file FreeCAD-0.9.2646-2.tar.gz
I have uploaded it right now.

2. No, I don't think so
Roelof

Re: compiling 0.9 fails on Intel Core

Post by Roelof »

hello,

Thank you,

I will adept my ebuild and test it tommorow.
After that I will make it public so others can test it too.

I will inform you if the test were succesfull.

Roelof
Roelof

Re: compiling 0.9 fails on Intel Core

Post by Roelof »

Hello,

Test on AMD64 (one core) were successfull.
I will make it public for Gentoo so other people can test it.

I will inform you later on this test.

Roelof
Roelof

Re: compiling 0.9 fails on Intel Core

Post by Roelof »

hello,

Test on Intel Core 2 machine were also successfull.

Many many thanks for you.

Roelof
Roelof

Re: compiling 0.9 fails on Intel Core

Post by Roelof »

Hello,

I was wondering one thing.

Why don't you have named it freecad-0.9.2446.2 instead of freecad-0.9.2679 ?

Roelof
wmayer
Founder
Posts: 20319
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: compiling 0.9 fails on Intel Core

Post by wmayer »

Just to make it clear that this is a bug-fix release.
Post Reply