Quantcast

clang++ compiling experiments with Firebird 2.5

classic Classic list List threaded Threaded
23 messages Options
12
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

clang++ compiling experiments with Firebird 2.5

Mariuz
I started playing with clang and Firebird sourcecode in a lunchbreak
on Lubuntu 10.10 amd64

http://cplusplus-soup.com/2010/10/04/clang-gc/

CXX="clang++"

tar -jxvf /home/mariuz/Downloads/Firebird-2.5.0.26074-0.tar.bz2
apt-get install llvm-2.8 clang

clang++ -v
clang version 2.8 (branches/release_28)
Target: x86_64-pc-linux-gnu
Thread model: posix

sudo apt-get build-dep firebird2.5-super

/configure
make


clang++ -I../src/include/gen -I../src/include -I../src/vulcan
-DNAMESPACE=Vulcan -I../extern/icu/source/common
-I../extern/icu/source/i18n -DNDEBUG -ggdb
-DFB_SEND_FLAGS=MSG_NOSIGNAL -DLINUX -DAMD64 -pipe -MMD -fPIC
-fmessage-length=0 -O3 -fno-omit-frame-pointer  -pthread -DBOOT_BUILD
-pthread -fno-rtti -c ../src/common/config/config_file.cpp -o
../temp/boot/common/config/config_file.o
In file included from ../src/common/config/config_file.cpp:27:
In file included from ../src/common/config/../../common/config/config_file.h:28:
../src/common/config/../../common/classes/objects_array.h:408:51:
warning: field is uninitialized when used here [-Wuninitialized]
                        const_iterator(const const_iterator& it) : ptr(ptr) { }
                                                                       ^
../src/common/config/../../common/classes/objects_array.h:485:39:
warning: field is uninitialized when used here [-Wuninitialized]
                        iterator(const iterator& it) : ptr(ptr) { }
                                                           ^
In file included from ../src/common/config/config_file.cpp:27:
In file included from ../src/common/config/../../common/config/config_file.h:28:
In file included from
../src/common/config/../../common/classes/objects_array.h:32:
../src/include/../common/classes/array.h:453:3: error: use of
undeclared identifier 'insert'
                insert(pos, item);
                ^
                this->
In file included from ../src/common/config/config_file.cpp:27:
In file included from ../src/common/config/../../common/config/config_file.h:28:
../src/common/config/../../common/classes/objects_array.h:196:22:
note: in instantiation of member function
'Firebird::SortedArray<Firebird::Pair<Firebird::Full<Firebird::StringBase<Firebird::PathNameComparator>,
Firebird::StringBase<Firebird::PathNameComparator> > > *,
Firebird::InlineStorage<Firebird::Pair<Firebird::Full<Firebird::StringBase<Firebird::PathNameComparator>,
Firebird::StringBase<Firebird::PathNameComparator> > > *, 100>,
Firebird::StringBase<Firebird::PathNameComparator> const *,
Firebird::FirstPointerKey<Firebird::Pair<Firebird::Full<Firebird::StringBase<Firebird::PathNameComparator>,
Firebird::StringBase<Firebird::PathNameComparator> > > >,
Firebird::ObjectComparator<Firebird::StringBase<Firebird::PathNameComparator>
const *> >::add' requested here
                        return inherited::add(dataL);
                                          ^
../src/common/config/../../common/classes/objects_array.h:368:11:
note: in instantiation of member function
'Firebird::ObjectsArray<Firebird::Pair<Firebird::Full<Firebird::StringBase<Firebird::PathNameComparator>,
Firebird::StringBase<Firebird::PathNameComparator> > >,
Firebird::SortedArray<Firebird::Pair<Firebird::Full<Firebird::StringBase<Firebird::PathNameComparator>,
Firebird::StringBase<Firebird::PathNameComparator> > > *,
Firebird::InlineStorage<Firebird::Pair<Firebird::Full<Firebird::StringBase<Firebird::PathNameComparator>,
Firebird::StringBase<Firebird::PathNameComparator> > > *, 100>,
Firebird::StringBase<Firebird::PathNameComparator> const *,
Firebird::FirstPointerKey<Firebird::Pair<Firebird::Full<Firebird::StringBase<Firebird::PathNameComparator>,
Firebird::StringBase<Firebird::PathNameComparator> > > >,
Firebird::ObjectComparator<Firebird::StringBase<Firebird::PathNameComparator>
const *> > >::add' requested here
                        return inherited::add(item);
                               ^
../src/common/config/config_file.cpp:262:3: note: in instantiation of
member function
'Firebird::SortedObjectsArray<Firebird::Pair<Firebird::Full<Firebird::StringBase<Firebird::PathNameComparator>,
Firebird::StringBase<Firebird::PathNameComparator> > >,
Firebird::InlineStorage<Firebird::Pair<Firebird::Full<Firebird::StringBase<Firebird::PathNameComparator>,
Firebird::StringBase<Firebird::PathNameComparator> > > *, 100>,
Firebird::StringBase<Firebird::PathNameComparator>,
Firebird::FirstPointerKey<Firebird::Pair<Firebird::Full<Firebird::StringBase<Firebird::PathNameComparator>,
Firebird::StringBase<Firebird::PathNameComparator> > > >,
Firebird::ObjectComparator<Firebird::StringBase<Firebird::PathNameComparator>
const *> >::add' requested here
                parameters.add(Parameter(getPool(), key, value));
                ^
In file included from ../src/common/config/config_file.cpp:27:
In file included from ../src/common/config/../../common/config/config_file.h:28:
In file included from
../src/common/config/../../common/classes/objects_array.h:32:
../src/include/../common/classes/array.h:181:7: note: must qualify
identifier to find this declaration in dependent base class
        void insert(const size_t index, const T& item)
             ^
../src/include/../common/classes/array.h:189:7: note: must qualify
identifier to find this declaration in dependent base class
        void insert(const size_t index, const Array<T, Storage>& items)
             ^
../src/include/../common/classes/array.h:198:7: note: must qualify
identifier to find this declaration in dependent base class
        void insert(const size_t index, const T* items, const size_t itemsCount)
             ^
2 warnings and 1 error generated.
make[3]: *** [../temp/boot/common/config/config_file.o] Error 1
make[3]: Leaving directory `/tmp/Firebird-2.5.0.26074-0/gen'
make[2]: *** [gpre_boot] Error 2
make[2]: Leaving directory `/tmp/Firebird-2.5.0.26074-0/gen'
make[1]: *** [../gen/firebird/bin/gpre_static] Error 2
make[1]: Leaving directory `/tmp/Firebird-2.5.0.26074-0/gen'
make: *** [firebird] Error 2

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: clang++ compiling experiments with Firebird 2.5

Alex Peshkoff
 On 10/13/10 16:59, marius adrian popa wrote:

> I started playing with clang and Firebird sourcecode in a lunchbreak
> on Lubuntu 10.10 amd64
>
> http://cplusplus-soup.com/2010/10/04/clang-gc/
>
> CXX="clang++"
>
> tar -jxvf /home/mariuz/Downloads/Firebird-2.5.0.26074-0.tar.bz2
> apt-get install llvm-2.8 clang
>
> clang++ -v
> clang version 2.8 (branches/release_28)
> Target: x86_64-pc-linux-gnu
> Thread model: posix
>
> sudo apt-get build-dep firebird2.5-super
>
> /configure
> make
>
>
> clang++ -I../src/include/gen -I../src/include -I../src/vulcan
> -DNAMESPACE=Vulcan -I../extern/icu/source/common
> -I../extern/icu/source/i18n -DNDEBUG -ggdb
> -DFB_SEND_FLAGS=MSG_NOSIGNAL -DLINUX -DAMD64 -pipe -MMD -fPIC
> -fmessage-length=0 -O3 -fno-omit-frame-pointer  -pthread -DBOOT_BUILD
> -pthread -fno-rtti -c ../src/common/config/config_file.cpp -o
> ../temp/boot/common/config/config_file.o
> In file included from ../src/common/config/config_file.cpp:27:
> In file included from ../src/common/config/../../common/config/config_file.h:28:
> ../src/common/config/../../common/classes/objects_array.h:408:51:
> warning: field is uninitialized when used here [-Wuninitialized]
>                         const_iterator(const const_iterator& it) : ptr(ptr) { }

Very good caught. Appears we never used copy ctor in objects_array's
iterator. Fixed.

>                                                                        ^
> ../src/common/config/../../common/classes/objects_array.h:485:39:
> warning: field is uninitialized when used here [-Wuninitialized]
>                         iterator(const iterator& it) : ptr(ptr) { }
>                                                            ^
> In file included from ../src/common/config/config_file.cpp:27:
> In file included from ../src/common/config/../../common/config/config_file.h:28:
> In file included from
> ../src/common/config/../../common/classes/objects_array.h:32:
> ../src/include/../common/classes/array.h:453:3: error: use of
> undeclared identifier 'insert'
>                 insert(pos, item);
>                 ^
>                 this->
Please try to use
                        this->insert(pos, item);

in array.h and check, does it fix a problem.


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: clang++ compiling experiments with Firebird 2.5

Mariuz
On Thu, Oct 14, 2010 at 9:30 AM, Alex Peshkoff <[hidden email]> wrote:

>  On 10/13/10 16:59, marius adrian popa wrote:
>> I started playing with clang and Firebird sourcecode in a lunchbreak
>> on Lubuntu 10.10 amd64
>>
>> http://cplusplus-soup.com/2010/10/04/clang-gc/
>>
>> CXX="clang++"
>>
>> tar -jxvf /home/mariuz/Downloads/Firebird-2.5.0.26074-0.tar.bz2
>> apt-get install llvm-2.8 clang
>>
>> clang++ -v
>> clang version 2.8 (branches/release_28)
>> Target: x86_64-pc-linux-gnu
>> Thread model: posix
>>
>> sudo apt-get build-dep firebird2.5-super
>>
>> /configure
>> make
>>
>>
>> clang++ -I../src/include/gen -I../src/include -I../src/vulcan
>> -DNAMESPACE=Vulcan -I../extern/icu/source/common
>> -I../extern/icu/source/i18n -DNDEBUG -ggdb
>> -DFB_SEND_FLAGS=MSG_NOSIGNAL -DLINUX -DAMD64 -pipe -MMD -fPIC
>> -fmessage-length=0 -O3 -fno-omit-frame-pointer  -pthread -DBOOT_BUILD
>> -pthread -fno-rtti -c ../src/common/config/config_file.cpp -o
>> ../temp/boot/common/config/config_file.o
>> In file included from ../src/common/config/config_file.cpp:27:
>> In file included from ../src/common/config/../../common/config/config_file.h:28:
>> ../src/common/config/../../common/classes/objects_array.h:408:51:
>> warning: field is uninitialized when used here [-Wuninitialized]
>>                         const_iterator(const const_iterator& it) : ptr(ptr) { }
>
> Very good caught. Appears we never used copy ctor in objects_array's
> iterator. Fixed.
>
>>                                                                        ^
>> ../src/common/config/../../common/classes/objects_array.h:485:39:
>> warning: field is uninitialized when used here [-Wuninitialized]
>>                         iterator(const iterator& it) : ptr(ptr) { }
>>                                                            ^
>> In file included from ../src/common/config/config_file.cpp:27:
>> In file included from ../src/common/config/../../common/config/config_file.h:28:
>> In file included from
>> ../src/common/config/../../common/classes/objects_array.h:32:
>> ../src/include/../common/classes/array.h:453:3: error: use of
>> undeclared identifier 'insert'
>>                 insert(pos, item);
>>                 ^
>>                 this->
> Please try to use
>                        this->insert(pos, item);
>
> in array.h and check, does it fix a problem.

ok that fixes , one more


>In file included from ../src/include/../common/classes/tree.h:38:
../src/common/classes/vector.h:171:3: error: use of undeclared
identifier 'insert'
                insert(pos, item);
                ^
                this->

>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
>

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: clang++ compiling experiments with Firebird 2.5

Mariuz
On Fri, Oct 15, 2010 at 4:24 PM, marius adrian popa <[hidden email]> wrote:

> On Thu, Oct 14, 2010 at 9:30 AM, Alex Peshkoff <[hidden email]> wrote:
>>  On 10/13/10 16:59, marius adrian popa wrote:
>>> I started playing with clang and Firebird sourcecode in a lunchbreak
>>> on Lubuntu 10.10 amd64
>>>
>>> http://cplusplus-soup.com/2010/10/04/clang-gc/
>>>
>>> CXX="clang++"
>>>
>>> tar -jxvf /home/mariuz/Downloads/Firebird-2.5.0.26074-0.tar.bz2
>>> apt-get install llvm-2.8 clang
>>>
>>> clang++ -v
>>> clang version 2.8 (branches/release_28)
>>> Target: x86_64-pc-linux-gnu
>>> Thread model: posix
>>>
>>> sudo apt-get build-dep firebird2.5-super
>>>
>>> /configure
>>> make
>>>
>>>
>>> clang++ -I../src/include/gen -I../src/include -I../src/vulcan
>>> -DNAMESPACE=Vulcan -I../extern/icu/source/common
>>> -I../extern/icu/source/i18n -DNDEBUG -ggdb
>>> -DFB_SEND_FLAGS=MSG_NOSIGNAL -DLINUX -DAMD64 -pipe -MMD -fPIC
>>> -fmessage-length=0 -O3 -fno-omit-frame-pointer  -pthread -DBOOT_BUILD
>>> -pthread -fno-rtti -c ../src/common/config/config_file.cpp -o
>>> ../temp/boot/common/config/config_file.o
>>> In file included from ../src/common/config/config_file.cpp:27:
>>> In file included from ../src/common/config/../../common/config/config_file.h:28:
>>> ../src/common/config/../../common/classes/objects_array.h:408:51:
>>> warning: field is uninitialized when used here [-Wuninitialized]
>>>                         const_iterator(const const_iterator& it) : ptr(ptr) { }
>>
>> Very good caught. Appears we never used copy ctor in objects_array's
>> iterator. Fixed.
>>
>>>                                                                        ^
>>> ../src/common/config/../../common/classes/objects_array.h:485:39:
>>> warning: field is uninitialized when used here [-Wuninitialized]
>>>                         iterator(const iterator& it) : ptr(ptr) { }
>>>                                                            ^
>>> In file included from ../src/common/config/config_file.cpp:27:
>>> In file included from ../src/common/config/../../common/config/config_file.h:28:
>>> In file included from
>>> ../src/common/config/../../common/classes/objects_array.h:32:
>>> ../src/include/../common/classes/array.h:453:3: error: use of
>>> undeclared identifier 'insert'
>>>                 insert(pos, item);
>>>                 ^
>>>                 this->
>> Please try to use
>>                        this->insert(pos, item);
>>
>> in array.h and check, does it fix a problem.
>
> ok that fixes , one more
>
>
>>In file included from ../src/include/../common/classes/tree.h:38:
> ../src/common/classes/vector.h:171:3: error: use of undeclared
> identifier 'insert'
>                insert(pos, item);
>                ^
>                this->

in src/common/classes/stack.h

add()
should be replaced with
this->add()


In file included from ../src/jrd/btr.cpp:62:
../src/jrd/../jrd/dbg_proto.h:52:14: error: reference to 'MemoryPool'
is ambiguous
int DBG_pool(MemoryPool*);
             ^
../src/jrd/../jrd/dbg_proto.h:36:7: note: candidate found by name
lookup is 'MemoryPool'
class MemoryPool;
      ^
In file included from ../src/jrd/btr.cpp:33:
In file included from ../src/jrd/../common/classes/VaryStr.h:30:
../src/include/../common/classes/alloc.h:480:17: note: candidate found
by name lookup is 'MemoryPool'
using Firebird::MemoryPool;
                ^
23 warnings and 1 error generated.


>
>>
>> ------------------------------------------------------------------------------
>> Beautiful is writing same markup. Internet Explorer 9 supports
>> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
>> Spend less time writing and  rewriting code and more time creating great
>> experiences on the web. Be a part of the beta today.
>> http://p.sf.net/sfu/beautyoftheweb
>> Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
>>
>

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: clang++ compiling experiments with Firebird 2.5

Alex Peshkoff

> In file included from ../src/jrd/btr.cpp:62:
> ../src/jrd/../jrd/dbg_proto.h:52:14: error: reference to 'MemoryPool'
> is ambiguous
> int DBG_pool(MemoryPool*);
>              ^
> ../src/jrd/../jrd/dbg_proto.h:36:7: note: candidate found by name
> lookup is 'MemoryPool'
> class MemoryPool;
>       ^
> In file included from ../src/jrd/btr.cpp:33:
> In file included from ../src/jrd/../common/classes/VaryStr.h:30:
> ../src/include/../common/classes/alloc.h:480:17: note: candidate found
> by name lookup is 'MemoryPool'
> using Firebird::MemoryPool;
>                 ^
> 23 warnings and 1 error generated.
>
This requires verification. Please try attached simple patch.


------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel

memPool.patch (601 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: clang++ compiling experiments with Firebird 2.5

Mariuz
On Fri, Oct 15, 2010 at 6:17 PM, Alex Peshkoff <[hidden email]> wrote:

>
>> In file included from ../src/jrd/btr.cpp:62:
>> ../src/jrd/../jrd/dbg_proto.h:52:14: error: reference to 'MemoryPool'
>> is ambiguous
>> int DBG_pool(MemoryPool*);
>>              ^
>> ../src/jrd/../jrd/dbg_proto.h:36:7: note: candidate found by name
>> lookup is 'MemoryPool'
>> class MemoryPool;
>>       ^
>> In file included from ../src/jrd/btr.cpp:33:
>> In file included from ../src/jrd/../common/classes/VaryStr.h:30:
>> ../src/include/../common/classes/alloc.h:480:17: note: candidate found
>> by name lookup is 'MemoryPool'
>> using Firebird::MemoryPool;
>>                 ^
>> 23 warnings and 1 error generated.
>>
> This requires verification. Please try attached simple patch.

Ok thanks . all compiles ! and the database are created

I will check with the firebird tests ...
i'm curious about the speed tests ;)

>
>
> ------------------------------------------------------------------------------
> Download new Adobe(R) Flash(R) Builder(TM) 4
> The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
> Flex(R) Builder(TM)) enable the development of rich applications that run
> across multiple browsers and platforms. Download your free trials today!
> http://p.sf.net/sfu/adobe-dev2dev
> Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
>
>

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: clang++ compiling experiments with Firebird 2.5

Mariuz
On Mon, Oct 18, 2010 at 1:04 PM, marius adrian popa <[hidden email]> wrote:

> On Fri, Oct 15, 2010 at 6:17 PM, Alex Peshkoff <[hidden email]> wrote:
>>
>>> In file included from ../src/jrd/btr.cpp:62:
>>> ../src/jrd/../jrd/dbg_proto.h:52:14: error: reference to 'MemoryPool'
>>> is ambiguous
>>> int DBG_pool(MemoryPool*);
>>>              ^
>>> ../src/jrd/../jrd/dbg_proto.h:36:7: note: candidate found by name
>>> lookup is 'MemoryPool'
>>> class MemoryPool;
>>>       ^
>>> In file included from ../src/jrd/btr.cpp:33:
>>> In file included from ../src/jrd/../common/classes/VaryStr.h:30:
>>> ../src/include/../common/classes/alloc.h:480:17: note: candidate found
>>> by name lookup is 'MemoryPool'
>>> using Firebird::MemoryPool;
>>>                 ^
>>> 23 warnings and 1 error generated.
>>>
>> This requires verification. Please try attached simple patch.
>
> Ok thanks . all compiles ! and the database are created
>
> I will check with the firebird tests ...
> i'm curious about the speed tests ;)
sudo make install halfway installed
in /opt/firebird2.5 , here are some error on make install
http://paste.ubuntu.com/515653/
and the error log , seems to be some shared memory issue ...
http://paste.ubuntu.com/515658/


but and i can test the database using

 ./fbserver -a  and i have create one simple db from firebird
in /tmp

time for python testing :)

>>
>>
>> ------------------------------------------------------------------------------
>> Download new Adobe(R) Flash(R) Builder(TM) 4
>> The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
>> Flex(R) Builder(TM)) enable the development of rich applications that run
>> across multiple browsers and platforms. Download your free trials today!
>> http://p.sf.net/sfu/adobe-dev2dev
>> Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
>>
>>
>

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: clang++ compiling experiments with Firebird 2.5

Alex Peshkoff

> sudo make install halfway installed
> in /opt/firebird2.5 , here are some error on make install
> http://paste.ubuntu.com/515653/
> and the error log , seems to be some shared memory issue ...
> http://paste.ubuntu.com/515658/
>

something not good with your /tmp/firebird directory
may be another instance is already running in it?
> but and i can test the database using
>
>  ./fbserver -a  and i have create one simple db from firebird
> in /tmp
>
-a ?
This is not windows: "-a" not needed :-)


------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: clang++ compiling experiments with Firebird 2.5

Mariuz
On Mon, Oct 18, 2010 at 5:12 PM, Alex Peshkoff <[hidden email]> wrote:

>
>> sudo make install halfway installed
>> in /opt/firebird2.5 , here are some error on make install
>> http://paste.ubuntu.com/515653/
>> and the error log , seems to be some shared memory issue ...
>> http://paste.ubuntu.com/515658/
>>
>
> something not good with your /tmp/firebird directory
> may be another instance is already running in it?
>> but and i can test the database using
>>
>>  ./fbserver -a  and i have create one simple db from firebird
>> in /tmp
>>
> -a ?
> This is not windows: "-a" not needed :-)

Ok thanks ,
two good news and a bad one
I will start with the bad one

seems that there is still a build with make and then make install in
the 2.5 branch
(cd ../gen/FirebirdSS-2.5.0.26107-0.amd64; tar -C ../buildroot -czf
buildroot.tar.gz . )
(cd ../gen/FirebirdSS-2.5.0.26107-0.amd64; tar -tzf buildroot.tar.gz >
manifest.txt )
(cd ../gen/FirebirdSS-2.5.0.26107-0.amd64; FIREBIRD= ./install.sh)

Firebird super 2.5.0.26107-0.amd64 Installation

Press Enter to start installation or ^C to abort
Extracting install data
Stopping Firebird server: Stopping Firebird server: Stopping Firebird
server: Stopping Firebird server: Stopping Firebird server: Stopping
Firebird server: Stopping Firebird server: Stopping Firebird server:
Stopping Firebird server: ^Cmake[2]: *** [install] Interrupt
make[1]: *** [install] Interrupt
make: *** [install] Interrupt


2. i checket out the 2.5 branch and all compiles and installs somehow
and i can start it with /etc/init.d/firebird script
after i press ctrl-C

borkstationx64 (Client) Tue Oct 19 15:20:32 2010
        /opt/firebird2.5/bin/fbguard: guardian starting
/opt/firebird2.5/bin/fbserver
borkstationx64 (Server) Tue Oct 19 15:20:32 2010
        Database: /opt/firebird2.5/security2.fdb
        Can't access lock files' directory ../gen/firebird
borkstationx64 (Client) Tue Oct 19 15:20:32 2010
        /opt/firebird2.5/bin/fbguard: /opt/firebird2.5/bin/fbserver
terminated due to startup error (2)
borkstationx64 (Client) Tue Oct 19 15:20:32 2010
        /opt/firebird2.5/bin/fbguard: /opt/firebird2.5/bin/fbserver
terminated due to startup error (2)
borkstationx64 (Client) Tue Oct 19 15:20:38 2010
        INET/inet_error: connect errno = 111
borkstationx64 (Client) Tue Oct 19 15:20:43 2010
        INET/inet_error: connect errno = 111


3.the firebird tests are running (for about a few hours) and all sems
to be fine


python ibench1.py --db_user=sysdba --db_password=masterkey
--db_name=/tmp/test.fdb --setup
#rows #seconds cum_ips last_ips #queries cum_qps last_qps

10000 56 179.4 179.4 2210 39.7 39.7
20000 136 147.1 124.7 5525 40.6 41.3
30000 250 119.9 87.5 10592 42.3 44.3
40000 399 100.4 67.4 16841 42.3 42.1
50000 551 90.7 65.4 23991 43.5 46.8
60000 708 84.7 63.7 30445 43.0 41.1
70000 866 80.8 63.5 35920 41.5 34.8
80000 1038 77.1 58.2 41111 39.6 30.2
90000 1217 73.9 55.7 46142 37.9 28.0
100000 1408 71.0 52.4 51142 36.3 26.2
110000 1607 68.4 50.2 55951 34.8 24.2
120000 1803 66.5 51.0 60282 33.4 22.1
130000 2000 65.0 50.9 64400 32.2 21.0
140000 2212 63.3 47.2 68577 31.0 19.7
150000 2414 62.1 49.3 71987 29.8 16.8
160000 2625 61.0 47.5 75301 28.7 15.8
170000 2830 60.1 48.7 78098 27.6 13.6
..........................................................

I will run the other set of tests fbtcs, and the ones from qa

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: clang++ compiling experiments with Firebird 2.5

Philippe Makowski
2010/10/19 marius adrian popa <[hidden email]>:

> 3.the firebird tests are running (for about a few hours) and all sems
> to be fine
>
>
> python ibench1.py --db_user=sysdba --db_password=masterkey
> --db_name=/tmp/test.fdb --setup
> #rows #seconds cum_ips last_ips #queries cum_qps last_qps
for what I remember, Pavel's bench are less I/O dependent
see : http://firebird.svn.sourceforge.net/viewvc/firebird/qa/trunk/benchmark/

fbench

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: clang++ compiling experiments with Firebird 2.5

Mariuz
On Tue, Oct 19, 2010 at 6:12 PM, Philippe Makowski
<[hidden email]> wrote:

> 2010/10/19 marius adrian popa <[hidden email]>:
>
>> 3.the firebird tests are running (for about a few hours) and all sems
>> to be fine
>>
>>
>> python ibench1.py --db_user=sysdba --db_password=masterkey
>> --db_name=/tmp/test.fdb --setup
>> #rows #seconds cum_ips last_ips #queries cum_qps last_qps
> for what I remember, Pavel's bench are less I/O dependent
> see : http://firebird.svn.sourceforge.net/viewvc/firebird/qa/trunk/benchmark/
>
> fbench

./fbenchrun.py /tmp/fbenchdb.fdb
Database  /tmp/fbenchdb.fdb
Running ComputeClient 5x100000 . . . . . .
Running ComputeClientProxy 5x100000 . . . . . .
Running ComputeServer 5x1 . . . . . .
Running ComputeServerProxy 5x1 . . . . . .
Running ComputeServerProxyNofetch 5x1 . . . . . .
Running GeneratorClient 5x100000 . . . . . .
Running GeneratorClientProxy 5x100000 . . . . . .
Running GeneratorServer 5x1 . . . . . .
Running GeneratorServerProxy 5x1 . . . . . .
Running GeneratorServerProxyNofetch 5x1 . . . . . .
Running GeneratorTableClient 5x100000 . . . . . .
Running GeneratorTableClientProxy 5x100000 . . . . . .
Running GeneratorTableServer 5x1 . . . . . .
Running GeneratorTableServerProxy 5x1 . . . . . .
Running GeneratorTableServerProxyNofetch 5x1 . . . . . .
Calibrating Index2AndFilterAll ...
An exception occured during execution
Traceback (most recent call last):
  File "./fbenchrun.py", line 161, in run
    self.doCalibrate(benchmark,False)
  File "./fbenchrun.py", line 136, in doCalibrate
    runtime = benchmark.run()
TypeError: run() takes at least 2 arguments (1 given)

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: clang++ compiling experiments with Firebird 2.5

Philippe Makowski
marius adrian popa  [2010-10-20 13.40] :
> An exception occured during execution
> Traceback (most recent call last):
>   File "./fbenchrun.py", line 161, in run
>     self.doCalibrate(benchmark,False)
>   File "./fbenchrun.py", line 136, in doCalibrate
>     runtime = benchmark.run()
> TypeError: run() takes at least 2 arguments (1 given)

Line 136 change for :
runtime = benchmark.run(self.host)



--
Philippe Makowski
http://www.ibphoenix.com
Supporting users of Firebird
Tel +33 (0) 561058813



------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: clang++ compiling experiments with Firebird 2.5

Mariuz
On Wed, Oct 20, 2010 at 4:45 PM, Philippe Makowski
<[hidden email]> wrote:

> marius adrian popa  [2010-10-20 13.40] :
>> An exception occured during execution
>> Traceback (most recent call last):
>>   File "./fbenchrun.py", line 161, in run
>>     self.doCalibrate(benchmark,False)
>>   File "./fbenchrun.py", line 136, in doCalibrate
>>     runtime = benchmark.run()
>> TypeError: run() takes at least 2 arguments (1 given)
>
> Line 136 change for :
> runtime = benchmark.run(self.host)

Ok thanks now it finished ;)

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: clang++ compiling experiments with Firebird 2.5

Alex Peshkoff
 On 10/20/10 18:28, marius adrian popa wrote:

> On Wed, Oct 20, 2010 at 4:45 PM, Philippe Makowski
> <[hidden email]> wrote:
>> marius adrian popa  [2010-10-20 13.40] :
>>> An exception occured during execution
>>> Traceback (most recent call last):
>>>   File "./fbenchrun.py", line 161, in run
>>>     self.doCalibrate(benchmark,False)
>>>   File "./fbenchrun.py", line 136, in doCalibrate
>>>     runtime = benchmark.run()
>>> TypeError: run() takes at least 2 arguments (1 given)
>> Line 136 change for :
>> runtime = benchmark.run(self.host)
> Ok thanks now it finished ;)
It will be very interesting to compare performance of gcc compiled
firebird vs llvm.


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: clang++ compiling experiments with Firebird 2.5

Mariuz
On Thu, Oct 21, 2010 at 9:19 AM, Alex Peshkoff <[hidden email]> wrote:

>  On 10/20/10 18:28, marius adrian popa wrote:
>> On Wed, Oct 20, 2010 at 4:45 PM, Philippe Makowski
>> <[hidden email]> wrote:
>>> marius adrian popa  [2010-10-20 13.40] :
>>>> An exception occured during execution
>>>> Traceback (most recent call last):
>>>>   File "./fbenchrun.py", line 161, in run
>>>>     self.doCalibrate(benchmark,False)
>>>>   File "./fbenchrun.py", line 136, in doCalibrate
>>>>     runtime = benchmark.run()
>>>> TypeError: run() takes at least 2 arguments (1 given)
>>> Line 136 change for :
>>> runtime = benchmark.run(self.host)
>> Ok thanks now it finished ;)
> It will be very interesting to compare performance of gcc compiled
> firebird vs llvm.
First benchmark ran only once and while browsing the web and working normally
 python ibench1.py --db_user=sysdba --db_password=masterkey
--db_name=/tmp/test.fdb --setup --max_rows=100000 --setup
#rows #seconds cum_ips last_ips #queries cum_qps last_qps
10000 43 232.4 232.4 1840 42.8 42.8
20000 125 159.6 121.6 5152 41.1 40.3
30000 251 119.8 79.9 10127 40.4 39.7
40000 417 95.9 60.0 16384 39.3 37.6
50000 611 81.8 51.5 23941 39.2 38.9
60000 805 74.6 51.7 30755 38.2 35.3
70000 997 70.2 52.1 36790 36.9 31.4
80000 1195 66.9 50.3 42329 35.4 27.9
90000 1400 64.3 48.9 47463 33.9 25.1
100000 1626 61.5 44.1 52707 32.4 23.1
Done

running on the g++ (compiled from source)



 python ibench1.py --db_user=sysdba --db_password=masterkey
--db_name=/tmp/test.fdb --setup --max_rows=100000 --setup
#rows #seconds cum_ips last_ips #queries cum_qps last_qps
10000 39 257.5 257.5 1920 49.4 49.4
20000 117 171.6 128.6 5376 46.1 44.5
30000 230 130.6 88.4 10469 45.6 45.0
40000 366 109.3 73.4 16763 45.8 46.2
50000 509 98.2 69.7 24325 47.8 52.7
60000 663 90.5 65.2 31234 47.1 45.1
70000 832 84.1 59.1 37080 44.6 34.5
80000 998 80.2 60.2 42211 42.3 30.9
90000 1179 76.4 55.3 47324 40.1 28.3
100000 1372 72.9 51.7 52632 38.4 27.4
Done


>
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
>

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: clang++ compiling experiments with Firebird 2.5

Mariuz
On Tue, Oct 26, 2010 at 3:53 PM, marius adrian popa <[hidden email]> wrote:

> On Thu, Oct 21, 2010 at 9:19 AM, Alex Peshkoff <[hidden email]> wrote:
>>  On 10/20/10 18:28, marius adrian popa wrote:
>>> On Wed, Oct 20, 2010 at 4:45 PM, Philippe Makowski
>>> <[hidden email]> wrote:
>>>> marius adrian popa  [2010-10-20 13.40] :
>>>>> An exception occured during execution
>>>>> Traceback (most recent call last):
>>>>>   File "./fbenchrun.py", line 161, in run
>>>>>     self.doCalibrate(benchmark,False)
>>>>>   File "./fbenchrun.py", line 136, in doCalibrate
>>>>>     runtime = benchmark.run()
>>>>> TypeError: run() takes at least 2 arguments (1 given)
>>>> Line 136 change for :
>>>> runtime = benchmark.run(self.host)
>>> Ok thanks now it finished ;)
>> It will be very interesting to compare performance of gcc compiled
>> firebird vs llvm.
> First benchmark ran only once and while browsing the web and working normally

clean run , the old llvm results were when the system was under high load
now i have the clean results and seems that clang++ is faster

clean run

running on the g++ (compiled from source)

 python ibench1.py --db_user=sysdba --db_password=masterkey
--db_name=/tmp/test.fdb --setup --max_rows=100000 --setup
#rows #seconds cum_ips last_ips #queries cum_qps last_qps
10000 39 257.5 257.5 1920 49.4 49.4
20000 117 171.6 128.6 5376 46.1 44.5
30000 230 130.6 88.4 10469 45.6 45.0
40000 366 109.3 73.4 16763 45.8 46.2
50000 509 98.2 69.7 24325 47.8 52.7
60000 663 90.5 65.2 31234 47.1 45.1
70000 832 84.1 59.1 37080 44.6 34.5
80000 998 80.2 60.2 42211 42.3 30.9
90000 1179 76.4 55.3 47324 40.1 28.3
100000 1372 72.9 51.7 52632 38.4 27.4
Done

clang++ clean

python ibench1.py --db_user=sysdba --db_password=masterkey
--db_name=/tmp/test.fdb --setup --max_rows=100000 --setup
#rows #seconds cum_ips last_ips #queries cum_qps last_qps
10000 30 338.9 338.9 1870 63.4 63.4
20000 91 219.3 162.1 5191 56.9 53.8
30000 179 167.2 113.3 10145 56.5 56.1
40000 294 136.1 87.4 16250 55.3 53.3
50000 469 106.6 57.1 23999 51.2 44.3
60000 639 93.9 58.8 30649 48.0 39.1
70000 798 87.7 62.9 36553 45.8 37.1
80000 957 83.6 63.0 41553 43.4 31.5
90000 1128 79.8 58.4 46852 41.5 30.9
100000 1301 76.9 58.0 51411 39.5 26.4
Done


clang++ fronm ubuntu 10.10

after each run i have run the following scripts

cat killall.sh
sudo killall -9 fbguard
sudo killall -9 fbserver
cat delete.sh
sudo rm -rf /opt/firebird2.5
sudo rm -rf /etc/init.d/firebird
cat config.sh
make clean
rm -rf gen
./configure --prefix=/opt/firebird2.5 --enable-superserver
--with-system-icu --with-system-editline

sudo make install

(in the firebird 2.5 from subversion tree)

ps:
make install doesn't work quite correctly in g++,clang++ there are
some bugs on ubuntu 10.10
I have to CTRL-C the installer after i put the password , so i will
mark it as bug in jira for both compilers

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: clang++ compiling experiments with Firebird 2.5

Alex Peshkoff
In reply to this post by Mariuz
 On 10/26/10 16:53, marius adrian popa wrote:

>> It will be very interesting to compare performance of gcc compiled
>> firebird vs llvm.
> First benchmark ran only once and while browsing the web and working normally
>  python ibench1.py --db_user=sysdba --db_password=masterkey
> --db_name=/tmp/test.fdb --setup --max_rows=100000 --setup
> #rows #seconds cum_ips last_ips #queries cum_qps last_qps
> 100000 1626 61.5 44.1 52707 32.4 23.1
>
> running on the g++ (compiled from source)
>
>
>
>  python ibench1.py --db_user=sysdba --db_password=masterkey
> --db_name=/tmp/test.fdb --setup --max_rows=100000 --setup
> #rows #seconds cum_ips last_ips #queries cum_qps last_qps
> 100000 1372 72.9 51.7 52632 38.4 27.4

I.e. looks like (if we may forget about web browsing) gcc looks faster.
Telling true not big surprise. I've compared performance of binaries
compiled by gcc and by icc, and even on intel (!!) CPU happened to
produce fastre binaries that intel compiler. Very little faster (between
1 and 2 percents), but faster!

Anyway - any new port makes something good for sources. With the help of
clang we found 2 bugs in the code.


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: clang++ compiling experiments with Firebird 2.5

Mariuz
On Tue, Oct 26, 2010 at 4:57 PM, Alex Peshkoff <[hidden email]> wrote:

>  On 10/26/10 16:53, marius adrian popa wrote:
>>> It will be very interesting to compare performance of gcc compiled
>>> firebird vs llvm.
>> First benchmark ran only once and while browsing the web and working normally
>>  python ibench1.py --db_user=sysdba --db_password=masterkey
>> --db_name=/tmp/test.fdb --setup --max_rows=100000 --setup
>> #rows #seconds cum_ips last_ips #queries cum_qps last_qps
>> 100000 1626 61.5 44.1 52707 32.4 23.1
>>
>> running on the g++ (compiled from source)
>>
>>
>>
>>  python ibench1.py --db_user=sysdba --db_password=masterkey
>> --db_name=/tmp/test.fdb --setup --max_rows=100000 --setup
>> #rows #seconds cum_ips last_ips #queries cum_qps last_qps
>> 100000 1372 72.9 51.7 52632 38.4 27.4
>
> I.e. looks like (if we may forget about web browsing) gcc looks faster.
> Telling true not big surprise. I've compared performance of binaries
> compiled by gcc and by icc, and even on intel (!!) CPU happened to
> produce fastre binaries that intel compiler. Very little faster (between
> 1 and 2 percents), but faster!
>
> Anyway - any new port makes something good for sources. With the help of
> clang we found 2 bugs in the code.
>
yes there are more warnings to kill  on the way :)

The llvm seems to be faster , but i have to do more tests to be sure
and on a server without activity (no browsing)

10 runs  and other benchmark

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: clang++ compiling experiments with Firebird 2.5

Alex Peshkoff
 On 10/27/10 09:19, marius adrian popa wrote:
> The llvm seems to be faster , but i have to do more tests to be sure
> and on a server without activity (no browsing)
>
> 10 runs  and other benchmark

Please do.
If it's really faster why not make it 'official' compiler for FB3.

BTW, what CPU are you checking on?


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: clang++ compiling experiments with Firebird 2.5

Mariuz
On Wed, Oct 27, 2010 at 12:21 PM, Alex Peshkoff <[hidden email]> wrote:
>  On 10/27/10 09:19, marius adrian popa wrote:
>> The llvm seems to be faster , but i have to do more tests to be sure
>> and on a server without activity (no browsing)
>>
>> 10 runs  and other benchmark
>
> Please do.
> If it's really faster why not make it 'official' compiler for FB3.
I will redo the benchmarks on clean server with only benchmarks working on it
also i will run the other set of benchmarks and after that we will see
if it's really so good

one test or two doesn't tell too much :)

>
> BTW, what CPU are you checking on?
cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Pentium(R) Dual  CPU  E2180  @ 2.00GHz
stepping : 13
cpu MHz : 2016.334
cache size : 1024 KB

>
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
>

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
12
Loading...