Home » Developing U++ » Releasing U++ » Small note...
|
|
|
|
Re: Small note... [message #15706 is a reply to message #15705] |
Mon, 05 May 2008 13:42 |
|
mirek
Messages: 13975 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
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 |
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
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
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 ?
Max
|
|
|
Re: Small note... [message #15713 is a reply to message #15707] |
Mon, 05 May 2008 19:10 |
|
mirek
Messages: 13975 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
Quote: |
This optimization should "embed" short,static function inside caller's code. That can maybe an hint on where to look for the bug ?
|
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 |
bytefield
Messages: 210 Registered: December 2007
|
Experienced Member |
|
|
Quote: | Yep. But I have installed bytefield's version
|
Sorry , i will use mdelfede scripts from now on.
Which package have you installed?
cdabbd745f1234c2751ee1f932d1dd75
|
|
|
Goto Forum:
Current Time: Fri Apr 19 07:13:00 CEST 2024
Total time taken to generate the page: 0.05269 seconds
|