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 » U++ Library support » U++ MT-multithreading and servers » MT with speed optimization fails
Re: MT with speed optimization fails [message #24844 is a reply to message #24827] Mon, 01 February 2010 13:53 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13980
Registered: November 2005
Ultimate Member
dolik.rce wrote on Sun, 31 January 2010 16:26

Hi!

I encountered a MT related bug while building theide. In speed mode, with flags GUI, NOGTK and MT flags, linking fails with
undefined reference to 'Upp::ReadMemoryBarrier()'
.
With optimal mode, there is no problem. Also adding SSE2 removes the problem.

The function ReadMemoryBarrier() is defined in Core/MT.cpp, on line 266 as inlined. As far as I can tell that is the problem. If I remove the inline keyword, everything compiles correctly.



OK, 'inline' removed. Thanks.

The question is whether SSE2 should not be default... (and NOSSE2 exist instead).

Quote:


Additional info: I have i386 processor (Intel Atom)



How does it run U++?
 
Read Message
Read Message
Read Message
Previous Topic: Socket::IsOpen BUG/FIX (?)
Next Topic: DnD hangs in MT Refresh()ing
Goto Forum:
  


Current Time: Tue May 14 17:32:24 CEST 2024

Total time taken to generate the page: 0.02324 seconds