sse3 host x64 linux

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

sse3 host x64 linux

Mariuz
firebird 3.0.3 current crashes on a non sse4 host even when i try to force the nonsse4.2 function (i have removed the sse detection and crc32 optimized function) 


Anyone tried to compile 3.0.3 on nonsse hosts and x64 ?


gpre version LI-V3.0.3.32722 Firebird 3.0
*** Error in `/home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_current': free(): invalid size: 0x00007fa589cc82a0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7908b)[0x7fa588fab08b]
/lib/x86_64-linux-gnu/libc.so.6(+0x826fa)[0x7fa588fb46fa]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7fa588fb812c]
/home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_current(+0x93fc0)[0x5575be284fc0]
/home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_current(+0x8756c)[0x5575be27856c]
/home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_current(+0x8777c)[0x5575be27877c]
/lib/x86_64-linux-gnu/libc.so.6(+0x3a270)[0x7fa588f6c270]
/lib/x86_64-linux-gnu/libc.so.6(+0x3a2ca)[0x7fa588f6c2ca]
/home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_current(+0x484a8)[0x5575be2394a8]
/home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_current(+0x207ae)[0x5575be2117ae]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1)[0x7fa588f523f1]
/home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_current(+0x21aaa)[0x5575be212aaa]
======= Memory map: ========
5575be1f1000-5575be2c3000 r-xp 00000000 08:01 18098981                   /home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_boot
5575be4c2000-5575be4d1000 r--p 000d1000 08:01 18098981                   /home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_boot
5575be4d1000-5575be4d6000 rw-p 000e0000 08:01 18098981                   /home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_boot
5575be4d6000-5575be4dd000 rw-p 00000000 00:00 0 
5575be9dd000-5575bea0f000 rw-p 00000000 00:00 0                          [heap]
7fa584000000-7fa584021000 rw-p 00000000 00:00 0 
7fa584021000-7fa588000000 ---p 00000000 00:00 0 
7fa58894e000-7fa588c29000 r--p 00000000 08:01 6299570                    /usr/lib/locale/locale-archive
7fa588c29000-7fa588d31000 r-xp 00000000 08:01 15076913                   /lib/x86_64-linux-gnu/libm-2.24.so
7fa588d31000-7fa588f30000 ---p 00108000 08:01 15076913                   /lib/x86_64-linux-gnu/libm-2.24.so
7fa588f30000-7fa588f31000 r--p 00107000 08:01 15076913                   /lib/x86_64-linux-gnu/libm-2.24.so
7fa588f31000-7fa588f32000 rw-p 00108000 08:01 15076913                   /lib/x86_64-linux-gnu/libm-2.24.so
7fa588f32000-7fa5890ef000 r-xp 00000000 08:01 15076909                   /lib/x86_64-linux-gnu/libc-2.24.so
7fa5890ef000-7fa5892ef000 ---p 001bd000 08:01 15076909                   /lib/x86_64-linux-gnu/libc-2.24.so
7fa5892ef000-7fa5892f3000 r--p 001bd000 08:01 15076909                   /lib/x86_64-linux-gnu/libc-2.24.so
7fa5892f3000-7fa5892f5000 rw-p 001c1000 08:01 15076909                   /lib/x86_64-linux-gnu/libc-2.24.so
7fa5892f5000-7fa5892f9000 rw-p 00000000 00:00 0 
7fa5892f9000-7fa589311000 r-xp 00000000 08:01 15076925                   /lib/x86_64-linux-gnu/libpthread-2.24.so
7fa589311000-7fa589511000 ---p 00018000 08:01 15076925                   /lib/x86_64-linux-gnu/libpthread-2.24.so
7fa589511000-7fa589512000 r--p 00018000 08:01 15076925                   /lib/x86_64-linux-gnu/libpthread-2.24.so
7fa589512000-7fa589513000 rw-p 00019000 08:01 15076925                   /lib/x86_64-linux-gnu/libpthread-2.24.so
7fa589513000-7fa589517000 rw-p 00000000 00:00 0 
7fa589517000-7fa58952d000 r-xp 00000000 08:01 15073302                   /lib/x86_64-linux-gnu/libgcc_s.so.1
7fa58952d000-7fa58972c000 ---p 00016000 08:01 15073302                   /lib/x86_64-linux-gnu/libgcc_s.so.1
7fa58972c000-7fa58972d000 r--p 00015000 08:01 15073302                   /lib/x86_64-linux-gnu/libgcc_s.so.1
7fa58972d000-7fa58972e000 rw-p 00016000 08:01 15073302                   /lib/x86_64-linux-gnu/libgcc_s.so.1
7fa58972e000-7fa5898a7000 r-xp 00000000 08:01 6296316                    /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
7fa5898a7000-7fa589aa6000 ---p 00179000 08:01 6296316                    /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
7fa589aa6000-7fa589ab0000 r--p 00178000 08:01 6296316                    /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
7fa589ab0000-7fa589ab2000 rw-p 00182000 08:01 6296316                    /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
7fa589ab2000-7fa589ab6000 rw-p 00000000 00:00 0 
7fa589ab6000-7fa589adb000 r-xp 00000000 08:01 15076905                   /lib/x86_64-linux-gnu/ld-2.24.so
7fa589c8c000-7fa589c91000 rw-p 00000000 00:00 0 
7fa589c97000-7fa589cdb000 rw-p 00000000 00:00 0 
7fa589cdb000-7fa589cdc000 r--p 00025000 08:01 15076905                   /lib/x86_64-linux-gnu/ld-2.24.so
7fa589cdc000-7fa589cdd000 rw-p 00026000 08:01 15076905                   /lib/x86_64-linux-gnu/ld-2.24.so
7fa589cdd000-7fa589cde000 rw-p 00000000 00:00 0 
7ffc8706c000-7ffc8708e000 rw-p 00000000 00:00 0                          [stack]
7ffc871f6000-7ffc871f8000 r--p 00000000 00:00 0                          [vvar]
7ffc871f8000-7ffc871fa000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
make.rules:85: recipe for target '/home/mariuz/Work/firebird/firebird/temp/Release/yvalve/blob.cpp' failed
make[3]: *** [/home/mariuz/Work/firebird/firebird/temp/Release/yvalve/blob.cpp] Aborted
make[3]: *** Deleting file '/home/mariuz/Work/firebird/firebird/temp/Release/yvalve/blob.cpp'
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/home/mariuz/Work/firebird/firebird/gen'
Makefile:172: recipe for target 'master_process' failed
make[2]: *** [master_process] Error 2
make[2]: Leaving directory '/home/mariuz/Work/firebird/firebird/gen'
Makefile:66: recipe for target 'firebird' failed
make[1]: *** [firebird] Error 2
make[1]: Leaving directory '/home/mariuz/Work/firebird/firebird/gen'
Makefile:6: recipe for target 'firebird' failed
make: *** [firebird] Error 2


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
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: sse3 host x64 linux

Doychin Bondzhev
I think this

p = (UCHAR*) &hash_value;

can be taken before while loop and also removed few lines later.


On 18.5.2017 г. 10:57 ч., marius adrian popa wrote:

> firebird 3.0.3 current crashes on a non sse4 host even when i try to
> force the nonsse4.2 function (i have removed the sse detection and crc32
> optimized function)
>
> https://github.com/FirebirdSQL/firebird/commit/52d9a05a0f3d
> <https://github.com/FirebirdSQL/firebird/commit/52d9a05a0f3d>
>
> Anyone tried to compile 3.0.3 on nonsse hosts and x64 ?
>
>
> gpre version LI-V3.0.3.32722 Firebird 3.0
> *** Error in
> `/home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_current':
> free(): invalid size: 0x00007fa589cc82a0 ***
> ======= Backtrace: =========
> /lib/x86_64-linux-gnu/libc.so.6(+0x7908b)[0x7fa588fab08b]
> /lib/x86_64-linux-gnu/libc.so.6(+0x826fa)[0x7fa588fb46fa]
> /lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7fa588fb812c]
> /home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_current(+0x93fc0)[0x5575be284fc0]
> /home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_current(+0x8756c)[0x5575be27856c]
> /home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_current(+0x8777c)[0x5575be27877c]
> /lib/x86_64-linux-gnu/libc.so.6(+0x3a270)[0x7fa588f6c270]
> /lib/x86_64-linux-gnu/libc.so.6(+0x3a2ca)[0x7fa588f6c2ca]
> /home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_current(+0x484a8)[0x5575be2394a8]
> /home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_current(+0x207ae)[0x5575be2117ae]
> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1)[0x7fa588f523f1]
> /home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_current(+0x21aaa)[0x5575be212aaa]
> ======= Memory map: ========
> 5575be1f1000-5575be2c3000 r-xp 00000000 08:01 18098981
> /home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_boot
> 5575be4c2000-5575be4d1000 r--p 000d1000 08:01 18098981
> /home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_boot
> 5575be4d1000-5575be4d6000 rw-p 000e0000 08:01 18098981
> /home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_boot
> 5575be4d6000-5575be4dd000 rw-p 00000000 00:00 0
> 5575be9dd000-5575bea0f000 rw-p 00000000 00:00 0
>  [heap]
> 7fa584000000-7fa584021000 rw-p 00000000 00:00 0
> 7fa584021000-7fa588000000 ---p 00000000 00:00 0
> 7fa58894e000-7fa588c29000 r--p 00000000 08:01 6299570
>  /usr/lib/locale/locale-archive
> 7fa588c29000-7fa588d31000 r-xp 00000000 08:01 15076913
> /lib/x86_64-linux-gnu/libm-2.24.so <http://libm-2.24.so>
> 7fa588d31000-7fa588f30000 ---p 00108000 08:01 15076913
> /lib/x86_64-linux-gnu/libm-2.24.so <http://libm-2.24.so>
> 7fa588f30000-7fa588f31000 r--p 00107000 08:01 15076913
> /lib/x86_64-linux-gnu/libm-2.24.so <http://libm-2.24.so>
> 7fa588f31000-7fa588f32000 rw-p 00108000 08:01 15076913
> /lib/x86_64-linux-gnu/libm-2.24.so <http://libm-2.24.so>
> 7fa588f32000-7fa5890ef000 r-xp 00000000 08:01 15076909
> /lib/x86_64-linux-gnu/libc-2.24.so <http://libc-2.24.so>
> 7fa5890ef000-7fa5892ef000 ---p 001bd000 08:01 15076909
> /lib/x86_64-linux-gnu/libc-2.24.so <http://libc-2.24.so>
> 7fa5892ef000-7fa5892f3000 r--p 001bd000 08:01 15076909
> /lib/x86_64-linux-gnu/libc-2.24.so <http://libc-2.24.so>
> 7fa5892f3000-7fa5892f5000 rw-p 001c1000 08:01 15076909
> /lib/x86_64-linux-gnu/libc-2.24.so <http://libc-2.24.so>
> 7fa5892f5000-7fa5892f9000 rw-p 00000000 00:00 0
> 7fa5892f9000-7fa589311000 r-xp 00000000 08:01 15076925
> /lib/x86_64-linux-gnu/libpthread-2.24.so <http://libpthread-2.24.so>
> 7fa589311000-7fa589511000 ---p 00018000 08:01 15076925
> /lib/x86_64-linux-gnu/libpthread-2.24.so <http://libpthread-2.24.so>
> 7fa589511000-7fa589512000 r--p 00018000 08:01 15076925
> /lib/x86_64-linux-gnu/libpthread-2.24.so <http://libpthread-2.24.so>
> 7fa589512000-7fa589513000 rw-p 00019000 08:01 15076925
> /lib/x86_64-linux-gnu/libpthread-2.24.so <http://libpthread-2.24.so>
> 7fa589513000-7fa589517000 rw-p 00000000 00:00 0
> 7fa589517000-7fa58952d000 r-xp 00000000 08:01 15073302
> /lib/x86_64-linux-gnu/libgcc_s.so.1
> 7fa58952d000-7fa58972c000 ---p 00016000 08:01 15073302
> /lib/x86_64-linux-gnu/libgcc_s.so.1
> 7fa58972c000-7fa58972d000 r--p 00015000 08:01 15073302
> /lib/x86_64-linux-gnu/libgcc_s.so.1
> 7fa58972d000-7fa58972e000 rw-p 00016000 08:01 15073302
> /lib/x86_64-linux-gnu/libgcc_s.so.1
> 7fa58972e000-7fa5898a7000 r-xp 00000000 08:01 6296316
>  /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
> 7fa5898a7000-7fa589aa6000 ---p 00179000 08:01 6296316
>  /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
> 7fa589aa6000-7fa589ab0000 r--p 00178000 08:01 6296316
>  /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
> 7fa589ab0000-7fa589ab2000 rw-p 00182000 08:01 6296316
>  /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
> 7fa589ab2000-7fa589ab6000 rw-p 00000000 00:00 0
> 7fa589ab6000-7fa589adb000 r-xp 00000000 08:01 15076905
> /lib/x86_64-linux-gnu/ld-2.24.so <http://ld-2.24.so>
> 7fa589c8c000-7fa589c91000 rw-p 00000000 00:00 0
> 7fa589c97000-7fa589cdb000 rw-p 00000000 00:00 0
> 7fa589cdb000-7fa589cdc000 r--p 00025000 08:01 15076905
> /lib/x86_64-linux-gnu/ld-2.24.so <http://ld-2.24.so>
> 7fa589cdc000-7fa589cdd000 rw-p 00026000 08:01 15076905
> /lib/x86_64-linux-gnu/ld-2.24.so <http://ld-2.24.so>
> 7fa589cdd000-7fa589cde000 rw-p 00000000 00:00 0
> 7ffc8706c000-7ffc8708e000 rw-p 00000000 00:00 0
>  [stack]
> 7ffc871f6000-7ffc871f8000 r--p 00000000 00:00 0
>  [vvar]
> 7ffc871f8000-7ffc871fa000 r-xp 00000000 00:00 0
>  [vdso]
> ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0
>  [vsyscall]
> make.rules:85: recipe for target
> '/home/mariuz/Work/firebird/firebird/temp/Release/yvalve/blob.cpp' failed
> make[3]: ***
> [/home/mariuz/Work/firebird/firebird/temp/Release/yvalve/blob.cpp] Aborted
> make[3]: *** Deleting file
> '/home/mariuz/Work/firebird/firebird/temp/Release/yvalve/blob.cpp'
> make[3]: *** Waiting for unfinished jobs....
> make[3]: Leaving directory '/home/mariuz/Work/firebird/firebird/gen'
> Makefile:172: recipe for target 'master_process' failed
> make[2]: *** [master_process] Error 2
> make[2]: Leaving directory '/home/mariuz/Work/firebird/firebird/gen'
> Makefile:66: recipe for target 'firebird' failed
> make[1]: *** [firebird] Error 2
> make[1]: Leaving directory '/home/mariuz/Work/firebird/firebird/gen'
> Makefile:6: recipe for target 'firebird' failed
> make: *** [firebird] Error 2
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>
>
>
> Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
>

--
Doychin Bondzhev
dSoft-Bulgaria Ltd.
PowerPro - billing & provisioning solution for Service providers
PowerStor - Warehouse & POS
http://www.dsoft-bg.com/
Mobile: +359888243116

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel

doychin.vcf (280 bytes) Download Attachment
smime.p7s (7K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: sse3 host x64 linux

Alex Peshkoff
In reply to this post by Mariuz
On 05/18/17 10:57, marius adrian popa wrote:
> firebird 3.0.3 current crashes on a non sse4 host even when i try to force
> the nonsse4.2 function (i have removed the sse detection and crc32
> optimized function)
>
> https://github.com/FirebirdSQL/firebird/commit/52d9a05a0f3d
>
> Anyone tried to compile 3.0.3 on nonsse hosts and x64 ?
>

Did not, but working with master noticed a bug in non-SSE version which
may cause invalid hash values.
Can you try with this patch?


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel

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

Re: sse3 host x64 linux

Mariuz
In reply to this post by Doychin Bondzhev
It doesn't work , the same 

On Thu, May 18, 2017 at 1:18 PM, Doychin Bondzhev <[hidden email]> wrote:
I think this

p = (UCHAR*) &hash_value;

can be taken before while loop and also removed few lines later.



On 18.5.2017 г. 10:57 ч., marius adrian popa wrote:
firebird 3.0.3 current crashes on a non sse4 host even when i try to
force the nonsse4.2 function (i have removed the sse detection and crc32
optimized function)

https://github.com/FirebirdSQL/firebird/commit/52d9a05a0f3d
<https://github.com/FirebirdSQL/firebird/commit/52d9a05a0f3d>

Anyone tried to compile 3.0.3 on nonsse hosts and x64 ?


gpre version LI-V3.0.3.32722 Firebird 3.0
*** Error in
`/home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_current':
free(): invalid size: 0x00007fa589cc82a0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7908b)[0x7fa588fab08b]
/lib/x86_64-linux-gnu/libc.so.6(+0x826fa)[0x7fa588fb46fa]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7fa588fb812c]
/home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_current(+0x93fc0)[0x5575be284fc0]
/home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_current(+0x8756c)[0x5575be27856c]
/home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_current(+0x8777c)[0x5575be27877c]
/lib/x86_64-linux-gnu/libc.so.6(+0x3a270)[0x7fa588f6c270]
/lib/x86_64-linux-gnu/libc.so.6(+0x3a2ca)[0x7fa588f6c2ca]
/home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_current(+0x484a8)[0x5575be2394a8]
/home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_current(+0x207ae)[0x5575be2117ae]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1)[0x7fa588f523f1]
/home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_current(+0x21aaa)[0x5575be212aaa]
======= Memory map: ========
5575be1f1000-5575be2c3000 r-xp 00000000 08:01 18098981
/home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_boot
5575be4c2000-5575be4d1000 r--p 000d1000 08:01 18098981
/home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_boot
5575be4d1000-5575be4d6000 rw-p 000e0000 08:01 18098981
/home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_boot
5575be4d6000-5575be4dd000 rw-p 00000000 00:00 0
5575be9dd000-5575bea0f000 rw-p 00000000 00:00 0
 [heap]
7fa584000000-7fa584021000 rw-p 00000000 00:00 0
7fa584021000-7fa588000000 ---p 00000000 00:00 0
7fa58894e000-7fa588c29000 r--p 00000000 08:01 6299570
 /usr/lib/locale/locale-archive
7fa588c29000-7fa588d31000 r-xp 00000000 08:01 15076913
/lib/x86_64-linux-gnu/libm-2.24.so <http://libm-2.24.so>
7fa588d31000-7fa588f30000 ---p 00108000 08:01 15076913
/lib/x86_64-linux-gnu/libm-2.24.so <http://libm-2.24.so>
7fa588f30000-7fa588f31000 r--p 00107000 08:01 15076913
/lib/x86_64-linux-gnu/libm-2.24.so <http://libm-2.24.so>
7fa588f31000-7fa588f32000 rw-p 00108000 08:01 15076913
/lib/x86_64-linux-gnu/libm-2.24.so <http://libm-2.24.so>
7fa588f32000-7fa5890ef000 r-xp 00000000 08:01 15076909
/lib/x86_64-linux-gnu/libc-2.24.so <http://libc-2.24.so>
7fa5890ef000-7fa5892ef000 ---p 001bd000 08:01 15076909
/lib/x86_64-linux-gnu/libc-2.24.so <http://libc-2.24.so>
7fa5892ef000-7fa5892f3000 r--p 001bd000 08:01 15076909
/lib/x86_64-linux-gnu/libc-2.24.so <http://libc-2.24.so>
7fa5892f3000-7fa5892f5000 rw-p 001c1000 08:01 15076909
/lib/x86_64-linux-gnu/libc-2.24.so <http://libc-2.24.so>
7fa5892f5000-7fa5892f9000 rw-p 00000000 00:00 0
7fa5892f9000-7fa589311000 r-xp 00000000 08:01 15076925
/lib/x86_64-linux-gnu/libpthread-2.24.so <http://libpthread-2.24.so>
7fa589311000-7fa589511000 ---p 00018000 08:01 15076925
/lib/x86_64-linux-gnu/libpthread-2.24.so <http://libpthread-2.24.so>
7fa589511000-7fa589512000 r--p 00018000 08:01 15076925
/lib/x86_64-linux-gnu/libpthread-2.24.so <http://libpthread-2.24.so>
7fa589512000-7fa589513000 rw-p 00019000 08:01 15076925
/lib/x86_64-linux-gnu/libpthread-2.24.so <http://libpthread-2.24.so>
7fa589513000-7fa589517000 rw-p 00000000 00:00 0
7fa589517000-7fa58952d000 r-xp 00000000 08:01 15073302
/lib/x86_64-linux-gnu/libgcc_s.so.1
7fa58952d000-7fa58972c000 ---p 00016000 08:01 15073302
/lib/x86_64-linux-gnu/libgcc_s.so.1
7fa58972c000-7fa58972d000 r--p 00015000 08:01 15073302
/lib/x86_64-linux-gnu/libgcc_s.so.1
7fa58972d000-7fa58972e000 rw-p 00016000 08:01 15073302
/lib/x86_64-linux-gnu/libgcc_s.so.1
7fa58972e000-7fa5898a7000 r-xp 00000000 08:01 6296316
 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
7fa5898a7000-7fa589aa6000 ---p 00179000 08:01 6296316
 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
7fa589aa6000-7fa589ab0000 r--p 00178000 08:01 6296316
 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
7fa589ab0000-7fa589ab2000 rw-p 00182000 08:01 6296316
 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
7fa589ab2000-7fa589ab6000 rw-p 00000000 00:00 0
7fa589ab6000-7fa589adb000 r-xp 00000000 08:01 15076905
/lib/x86_64-linux-gnu/ld-2.24.so <http://ld-2.24.so>
7fa589c8c000-7fa589c91000 rw-p 00000000 00:00 0
7fa589c97000-7fa589cdb000 rw-p 00000000 00:00 0
7fa589cdb000-7fa589cdc000 r--p 00025000 08:01 15076905
/lib/x86_64-linux-gnu/ld-2.24.so <http://ld-2.24.so>
7fa589cdc000-7fa589cdd000 rw-p 00026000 08:01 15076905
/lib/x86_64-linux-gnu/ld-2.24.so <http://ld-2.24.so>

7fa589cdd000-7fa589cde000 rw-p 00000000 00:00 0
7ffc8706c000-7ffc8708e000 rw-p 00000000 00:00 0
 [stack]
7ffc871f6000-7ffc871f8000 r--p 00000000 00:00 0
 [vvar]
7ffc871f8000-7ffc871fa000 r-xp 00000000 00:00 0
 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0
 [vsyscall]
make.rules:85: recipe for target
'/home/mariuz/Work/firebird/firebird/temp/Release/yvalve/blob.cpp' failed
make[3]: ***
[/home/mariuz/Work/firebird/firebird/temp/Release/yvalve/blob.cpp] Aborted
make[3]: *** Deleting file
'/home/mariuz/Work/firebird/firebird/temp/Release/yvalve/blob.cpp'
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/home/mariuz/Work/firebird/firebird/gen'
Makefile:172: recipe for target 'master_process' failed
make[2]: *** [master_process] Error 2
make[2]: Leaving directory '/home/mariuz/Work/firebird/firebird/gen'
Makefile:66: recipe for target 'firebird' failed
make[1]: *** [firebird] Error 2
make[1]: Leaving directory '/home/mariuz/Work/firebird/firebird/gen'
Makefile:6: recipe for target 'firebird' failed
make: *** [firebird] Error 2



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot



Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel



--
Doychin Bondzhev
dSoft-Bulgaria Ltd.
PowerPro - billing & provisioning solution for Service providers
PowerStor - Warehouse & POS
http://www.dsoft-bg.com/
Mobile: +359888243116

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
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: sse3 host x64 linux

firebird-devel mailing list



On 07.07.2017 17:06, marius adrian popa wrote:
It doesn't work , the same 


Marius did you try fresh B3_0_Release? Checked out after 23 of May?
I've made a change fixing non-SSE operation, and emulated use of non-SSE machine, and it worked for me.
But I need your confirmation that issue is fixed.



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
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: sse3 host x64 linux

Mariuz
Issue is still present 

Fresh download from github (git clone)

git checkout B3_0_Release

./autogen.sh --prefix=/opt/firebird3.x

/home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_current -m -z -n /home/mariuz/Work/firebird/firebird/src/yvalve/blob.epp /home/mariuz/Work/firebird/firebird/temp/Release/yvalve/blob.cpp
gpre version LI-V3.0.3.32749 Firebird 3.0
*** Error in `/home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_current': free(): invalid size: 0x00007eff6c49c2a0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7908b)[0x7eff6b77f08b]
/lib/x86_64-linux-gnu/libc.so.6(+0x82c3a)[0x7eff6b788c3a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7eff6b78cd2c]
/home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_current(+0x93fc0)[0x55cde4ca5fc0]
/home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_current(+0x8756c)[0x55cde4c9956c]
/home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_current(+0x8777c)[0x55cde4c9977c]
/lib/x86_64-linux-gnu/libc.so.6(+0x3a270)[0x7eff6b740270]
/lib/x86_64-linux-gnu/libc.so.6(+0x3a2ca)[0x7eff6b7402ca]
/home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_current(+0x484a8)[0x55cde4c5a4a8]
/home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_current(+0x207ae)[0x55cde4c327ae]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1)[0x7eff6b7263f1]
/home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_current(+0x21aaa)[0x55cde4c33aaa]
======= Memory map: ========
55cde4c12000-55cde4ce4000 r-xp 00000000 08:01 17080922                   /home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_boot
55cde4ee3000-55cde4ef2000 r--p 000d1000 08:01 17080922                   /home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_boot
55cde4ef2000-55cde4ef7000 rw-p 000e0000 08:01 17080922                   /home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_boot
55cde4ef7000-55cde4efe000 rw-p 00000000 00:00 0 
55cde5eb1000-55cde5ee3000 rw-p 00000000 00:00 0                          [heap]
7eff64000000-7eff64021000 rw-p 00000000 00:00 0 
7eff64021000-7eff68000000 ---p 00000000 00:00 0 
7eff6b122000-7eff6b3fd000 r--p 00000000 08:01 6311640                    /usr/lib/locale/locale-archive
7eff6b3fd000-7eff6b505000 r-xp 00000000 08:01 15077399                   /lib/x86_64-linux-gnu/libm-2.24.so
7eff6b505000-7eff6b704000 ---p 00108000 08:01 15077399                   /lib/x86_64-linux-gnu/libm-2.24.so
7eff6b704000-7eff6b705000 r--p 00107000 08:01 15077399                   /lib/x86_64-linux-gnu/libm-2.24.so
7eff6b705000-7eff6b706000 rw-p 00108000 08:01 15077399                   /lib/x86_64-linux-gnu/libm-2.24.so
7eff6b706000-7eff6b8c4000 r-xp 00000000 08:01 15077341                   /lib/x86_64-linux-gnu/libc-2.24.so
7eff6b8c4000-7eff6bac3000 ---p 001be000 08:01 15077341                   /lib/x86_64-linux-gnu/libc-2.24.so
7eff6bac3000-7eff6bac7000 r--p 001bd000 08:01 15077341                   /lib/x86_64-linux-gnu/libc-2.24.so
7eff6bac7000-7eff6bac9000 rw-p 001c1000 08:01 15077341                   /lib/x86_64-linux-gnu/libc-2.24.so
7eff6bac9000-7eff6bacd000 rw-p 00000000 00:00 0 
7eff6bacd000-7eff6bae5000 r-xp 00000000 08:01 15077429                   /lib/x86_64-linux-gnu/libpthread-2.24.so
7eff6bae5000-7eff6bce5000 ---p 00018000 08:01 15077429                   /lib/x86_64-linux-gnu/libpthread-2.24.so
7eff6bce5000-7eff6bce6000 r--p 00018000 08:01 15077429                   /lib/x86_64-linux-gnu/libpthread-2.24.so
7eff6bce6000-7eff6bce7000 rw-p 00019000 08:01 15077429                   /lib/x86_64-linux-gnu/libpthread-2.24.so
7eff6bce7000-7eff6bceb000 rw-p 00000000 00:00 0 
7eff6bceb000-7eff6bd01000 r-xp 00000000 08:01 15073302                   /lib/x86_64-linux-gnu/libgcc_s.so.1
7eff6bd01000-7eff6bf00000 ---p 00016000 08:01 15073302                   /lib/x86_64-linux-gnu/libgcc_s.so.1
7eff6bf00000-7eff6bf01000 r--p 00015000 08:01 15073302                   /lib/x86_64-linux-gnu/libgcc_s.so.1
7eff6bf01000-7eff6bf02000 rw-p 00016000 08:01 15073302                   /lib/x86_64-linux-gnu/libgcc_s.so.1
7eff6bf02000-7eff6c07b000 r-xp 00000000 08:01 6296316                    /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
7eff6c07b000-7eff6c27a000 ---p 00179000 08:01 6296316                    /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
7eff6c27a000-7eff6c284000 r--p 00178000 08:01 6296316                    /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
7eff6c284000-7eff6c286000 rw-p 00182000 08:01 6296316                    /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
7eff6c286000-7eff6c28a000 rw-p 00000000 00:00 0 
7eff6c28a000-7eff6c2b0000 r-xp 00000000 08:01 15073412                   /lib/x86_64-linux-gnu/ld-2.24.so
7eff6c45d000-7eff6c462000 rw-p 00000000 00:00 0 
7eff6c46b000-7eff6c4af000 rw-p 00000000 00:00 0 
7eff6c4af000-7eff6c4b0000 r--p 00025000 08:01 15073412                   /lib/x86_64-linux-gnu/ld-2.24.so
7eff6c4b0000-7eff6c4b1000 rw-p 00026000 08:01 15073412                   /lib/x86_64-linux-gnu/ld-2.24.so
7eff6c4b1000-7eff6c4b2000 rw-p 00000000 00:00 0 
7ffdd5918000-7ffdd593a000 rw-p 00000000 00:00 0                          [stack]
7ffdd5983000-7ffdd5985000 r--p 00000000 00:00 0                          [vvar]
7ffdd5985000-7ffdd5987000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
make.rules:85: recipe for target '/home/mariuz/Work/firebird/firebird/temp/Release/yvalve/blob.cpp' failed



lsb_release -a 
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 17.04
Release: 17.04
Codename: zesty

cat /proc/cpuinfo 
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Pentium(R) Dual-Core  CPU      E5400  @ 2.70GHz
stepping : 10
microcode : 0xa07
cpu MHz : 2700.000
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm xsave lahf_lm tpr_shadow vnmi flexpriority dtherm


name -a 
Linux Lorkstation64 4.10.0-26-generic #30-Ubuntu SMP Tue Jun 27 09:30:12 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux


 gcc -v 
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/6/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 6.3.0-12ubuntu2' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-6 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 6.3.0 20170406 (Ubuntu 6.3.0-12ubuntu2) 






On Fri, Jul 7, 2017 at 9:14 PM, Alex via Firebird-devel <[hidden email]> wrote:



On 07.07.2017 17:06, marius adrian popa wrote:
It doesn't work , the same 


Marius did you try fresh B3_0_Release? Checked out after 23 of May?
I've made a change fixing non-SSE operation, and emulated use of non-SSE machine, and it worked for me.
But I need your confirmation that issue is fixed.



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
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: sse3 host x64 linux

firebird-devel mailing list

gcc version 6.3.0 20170406 (Ubuntu 6.3.0-12ubuntu2) 



That looks first of all as a known but still not fixed issue with gcc6.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
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: sse3 host x64 linux

Michal Kubecek
In reply to this post by Mariuz
On Mon, Jul 10, 2017 at 03:04:12PM +0300, marius adrian popa wrote:
>
> ./autogen.sh --prefix=/opt/firebird3.x
>
> /home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_current -m -z
> -n /home/mariuz/Work/firebird/firebird/src/yvalve/blob.epp /home/mariuz/Work/
> firebird/firebird/temp/Release/yvalve/blob.cpp
> gpre version LI-V3.0.3.32749 Firebird 3.0
> *** Error in `/home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/
> gpre_current': free(): invalid size: 0x00007eff6c49c2a0 ***

Please try if adding "-fno-delete-null-pointer-checks" to CXXFLAGS helps.

Michal Kubecek


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
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: sse3 host x64 linux

Mariuz
The same it crashes

On Mon, Jul 10, 2017 at 4:00 PM, Michal Kubecek <[hidden email]> wrote:
On Mon, Jul 10, 2017 at 03:04:12PM +0300, marius adrian popa wrote:
>
> ./autogen.sh --prefix=/opt/firebird3.x
>
> /home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_current -m -z
> -n /home/mariuz/Work/firebird/firebird/src/yvalve/blob.epp /home/mariuz/Work/
> firebird/firebird/temp/Release/yvalve/blob.cpp
> gpre version LI-V3.0.3.32749 Firebird 3.0
> *** Error in `/home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/
> gpre_current': free(): invalid size: 0x00007eff6c49c2a0 ***

Please try if adding "-fno-delete-null-pointer-checks" to CXXFLAGS helps.

Michal Kubecek



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
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: sse3 host x64 linux

Mariuz
It's weird that package from ppa (3.0.2) works 

LI-V3.0.2.32703 Firebird 3.0




On Mon, Jul 10, 2017 at 5:44 PM, marius adrian popa <[hidden email]> wrote:
The same it crashes

On Mon, Jul 10, 2017 at 4:00 PM, Michal Kubecek <[hidden email]> wrote:
On Mon, Jul 10, 2017 at 03:04:12PM +0300, marius adrian popa wrote:
>
> ./autogen.sh --prefix=/opt/firebird3.x
>
> /home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_current -m -z
> -n /home/mariuz/Work/firebird/firebird/src/yvalve/blob.epp /home/mariuz/Work/
> firebird/firebird/temp/Release/yvalve/blob.cpp
> gpre version LI-V3.0.3.32749 Firebird 3.0
> *** Error in `/home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/
> gpre_current': free(): invalid size: 0x00007eff6c49c2a0 ***

Please try if adding "-fno-delete-null-pointer-checks" to CXXFLAGS helps.

Michal Kubecek




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
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: sse3 host x64 linux

firebird-devel mailing list


On 10.07.2017 19:08, marius adrian popa wrote:
> It's weird that package from ppa (3.0.2) works
>
> LI-V3.0.2.32703 Firebird 3.0
>
> https://launchpad.net/~mapopa/+archive/ubuntu/firebird3.0/+build/12568442 
> <https://launchpad.net/%7Emapopa/+archive/ubuntu/firebird3.0/+build/12568442>
>

What version of gcc is used to build it?



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
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: sse3 host x64 linux

Mariuz
gcc 6.3.0 on a modern sse4.2 host 
here is the build log 
https://launchpadlibrarian.net/319223134/buildlog_ubuntu-zesty-amd64.firebird3.0_3.0.2.32703.ds4-1ubuntu1_BUILDING.txt.gz
binaries generated on that host work on nonsse4 ones (machine described above)


On Mon, Jul 10, 2017 at 7:16 PM, Alex <[hidden email]> wrote:


On 10.07.2017 19:08, marius adrian popa wrote:
It's weird that package from ppa (3.0.2) works

LI-V3.0.2.32703 Firebird 3.0

https://launchpad.net/~mapopa/+archive/ubuntu/firebird3.0/+build/12568442 <https://launchpad.net/%7Emapopa/+archive/ubuntu/firebird3.0/+build/12568442>


What version of gcc is used to build it?




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Loading...