Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » Releasing U++ » Small note...
Small note... [message #15698] Sun, 04 May 2008 22:19 Go to next message
mirek is currently offline  mirek
Messages: 13984
Registered: November 2005
Ultimate Member
Please make sure that output mode is preset to "Use shared libs" for both Debug and Release after installation (predefining .bm file).

Mirek
Re: Small note... [message #15701 is a reply to message #15698] Mon, 05 May 2008 06:52 Go to previous messageGo to next message
Novo is currently offline  Novo
Messages: 1363
Registered: December 2006
Ultimate Contributor
On both Windows and Linux?
It always was "All static" on Windows ...


Regards,
Novo
Re: Small note... [message #15702 is a reply to message #15701] Mon, 05 May 2008 09:43 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13984
Registered: November 2005
Ultimate Member
Novo wrote on Mon, 05 May 2008 00:52

On both Windows and Linux?
It always was "All static" on Windows ...


In linux, of course. Now it is "shared" in debug and "static" in release.

Also, it looks like we will have to drop to -O2, as latest deep trouble with new Ubuntu appears to be compiler optimizer bug... (but still investigating).

Mirek

P.S.: Posted to wrong place, moving...
Re: Small note... [message #15705 is a reply to message #15702] Mon, 05 May 2008 13:19 Go to previous messageGo to next message
mdelfede is currently offline  mdelfede
Messages: 1307
Registered: September 2007
Ultimate Contributor
luzr wrote on Mon, 05 May 2008 09:43

Novo wrote on Mon, 05 May 2008 00:52

On both Windows and Linux?
It always was "All static" on Windows ...


In linux, of course. Now it is "shared" in debug and "static" in release.



hmmm... where is it in .bm file ?

Quote:


Also, it looks like we will have to drop to -O2, as latest deep trouble with new Ubuntu appears to be compiler optimizer bug... (but still investigating).



Done in latest svn and deb build. I added -fno-inline-functions to O3 optimization, taking of only the offending option.
Btw, as I told in other forum, if you want to build directly from svn you must change manually the option in build methods.

Ciao

Max
Re: Small note... [message #15706 is a reply to message #15705] Mon, 05 May 2008 13:42 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13984
Registered: November 2005
Ultimate Member
mdelfede wrote on Mon, 05 May 2008 07:19

luzr wrote on Mon, 05 May 2008 09:43

Novo wrote on Mon, 05 May 2008 00:52

On both Windows and Linux?
It always was "All static" on Windows ...


In linux, of course. Now it is "shared" in debug and "static" in release.



hmmm... where is it in .bm file ?



RELEASE_LINKMODE="1"

Quote:


Quote:


Also, it looks like we will have to drop to -O2, as latest deep trouble with new Ubuntu appears to be compiler optimizer bug... (but still investigating).



Done in latest svn and deb build. I added -fno-inline-functions to O3 optimization, taking of only the offending option.
Btw, as I told in other forum, if you want to build directly from svn you must change manually the option in build methods.

Ciao

Max



Well, not sure about that, I would rather played it safe with -O2 Wink

Also, please, I still have not located the bug so it is not "final" that it is really the compiler....

Mirek

[Updated on: Mon, 05 May 2008 13:42]

Report message to a moderator

Re: Small note... [message #15707 is a reply to message #15706] Mon, 05 May 2008 14:21 Go to previous messageGo to next message
mdelfede is currently offline  mdelfede
Messages: 1307
Registered: September 2007
Ultimate Contributor
luzr wrote on Mon, 05 May 2008 13:42

mdelfede wrote on Mon, 05 May 2008 07:19

luzr wrote on Mon, 05 May 2008 09:43

Novo wrote on Mon, 05 May 2008 00:52

On both Windows and Linux?
It always was "All static" on Windows ...


In linux, of course. Now it is "shared" in debug and "static" in release.



hmmm... where is it in .bm file ?



RELEASE_LINKMODE="1"




It was already there in my build scripts... was it wrong in your setup ?

Quote:


Quote:


Quote:


Also, it looks like we will have to drop to -O2, as latest deep trouble with new Ubuntu appears to be compiler optimizer bug... (but still investigating).



Done in latest svn and deb build. I added -fno-inline-functions to O3 optimization, taking of only the offending option.
Btw, as I told in other forum, if you want to build directly from svn you must change manually the option in build methods.

Ciao

Max



Well, not sure about that, I would rather played it safe with -O2 Wink

Also, please, I still have not located the bug so it is not "final" that it is really the compiler....




Well, I did test it wit -O3 -fno-inline-functions and it works, but if you prefere I can change it on next build Smile
BTW I've seen on a bug report that the option -finline-functions has been reported as a probable bug's cause on GCC4.2.3... I'll try to create a small testcase about it if I can.

This optimization should "embed" short,static function inside caller's code. That can maybe an hint on where to look for the bug ? Smile

Max
Re: Small note... [message #15713 is a reply to message #15707] Mon, 05 May 2008 19:10 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13984
Registered: November 2005
Ultimate Member
[quote title=mdelfede wrote on Mon, 05 May 2008 08:21]
luzr wrote on Mon, 05 May 2008 13:42

mdelfede wrote on Mon, 05 May 2008 07:19

luzr wrote on Mon, 05 May 2008 09:43

Novo wrote on Mon, 05 May 2008 00:52

On both Windows and Linux?
It always was "All static" on Windows ...


In linux, of course. Now it is "shared" in debug and "static" in release.



hmmm... where is it in .bm file ?



RELEASE_LINKMODE="1"




It was already there in my build scripts... was it wrong in your setup ?
[quote]

Yep. But I have installed bytefield's version Smile

Quote:


This optimization should "embed" short,static function inside caller's code. That can maybe an hint on where to look for the bug ? Smile



Sure, it is a hint. That is why I suspect that particular memcpy:)

Unfortunately, I will get to further testing tomorrow or later.

Mirek
Re: Small note... [message #15717 is a reply to message #15713] Mon, 05 May 2008 19:45 Go to previous message
bytefield is currently offline  bytefield
Messages: 210
Registered: December 2007
Experienced Member
Quote:

Yep. But I have installed bytefield's version

Sorry Embarassed , i will use mdelfede scripts from now on.
Which package have you installed?


cdabbd745f1234c2751ee1f932d1dd75
Previous Topic: Not all GUI UPP project files have NOGTK configuration
Next Topic: Releases....
Goto Forum:
  


Current Time: Wed Jun 12 22:48:06 CEST 2024

Total time taken to generate the page: 0.02110 seconds