[Bug 363694] Re: firebird 2.1 compiled without stack protector, so UDF dlopen failed

2009-09-22 Thread mmarkk
I think stack-protector specific functions become 'required' in dynamic linker only when certain constructions used in UDF. If UDF is simple function like 'return sin(x)', this UDF loads perfectly either with stack protector or without. -- firebird 2.1 compiled without stack protector, so UDF d

[Bug 363694] Re: firebird 2.1 compiled without stack protector, so UDF dlopen failed

2009-09-13 Thread mmarkk
The bug appear in: r...@ubuntu:~# dpkg -l | fgrep -i firebird2.1-classic ii firebird2.1-classic 2.1.1.17910-release.ds1-1ubuntu1 Firebird Classic Server - an RDBMS based on ** Changed in: firebird2.1 (Ubuntu) Status: Fix Released => New -- firebird 2.1 compiled w

[Bug 363694] Re: firebird 2.1 compiled without stack protector, so UDF dlopen failed

2009-09-13 Thread mmarkk
Only one difference between compilations is -fno-stack-protector (with this option everything OK). r...@ubuntu:~/rfunc/rfunc/source# gcc --version gcc (Ubuntu 4.3.3-5ubuntu4) 4.3.3 Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. Ther

[Bug 363694] Re: firebird 2.1 compiled without stack protector, so UDF dlopen failed

2009-09-13 Thread mmarkk
** Attachment added: "This rfunc is .so that dont't work with firebird 2.1" http://launchpadlibrarian.net/31746724/rfunc_dont_work -- firebird 2.1 compiled without stack protector, so UDF dlopen failed https://bugs.launchpad.net/bugs/363694 You received this bug notification because you are a

[Bug 363694] Re: firebird 2.1 compiled without stack protector, so UDF dlopen failed

2009-09-13 Thread mmarkk
** Attachment added: "This rfunc is .so that works OK with firebird 2.1" http://launchpadlibrarian.net/31746715/rfunc.so_work_ok -- firebird 2.1 compiled without stack protector, so UDF dlopen failed https://bugs.launchpad.net/bugs/363694 You received this bug notification because you are a m

Re: [Bug 363694] Re: firebird 2.1 compiled without stack protector, so UDF dlopen failed

2009-05-08 Thread mmarkk
rfunc was compiled on the same PC. I will post my rfunc.so later (2-3 days) when i get access to that server. -- firebird 2.1 compiled without stack protector, so UDF dlopen failed https://bugs.launchpad.net/bugs/363694 You received this bug notification because you are a member of Ubuntu Bugs, w

[Bug 363694] Re: firebird 2.1 compiled without stack protector, so UDF dlopen failed

2009-05-08 Thread Mariuz
i have tested with is leapYear and it worked http://mapopa.blogspot.com/2008/07/to-use-udf-modules-in-ubuntulinux- you.html ** Changed in: firebird2.1 (Ubuntu) Status: Incomplete => Fix Released -- firebird 2.1 compiled without stack protector, so UDF dlopen failed https://bugs.launchpad.

[Bug 363694] Re: firebird 2.1 compiled without stack protector, so UDF dlopen failed

2009-05-08 Thread Mariuz
and that was tested with firebird2.1-classic sudo apt-get install firebird2.1-classic dpkg-reconfigure firebird2.1-classic to enable it and then from flamerobin i have declared the function and worked without issues as above if you have an example please come to firebird-support -- firebird

[Bug 363694] Re: firebird 2.1 compiled without stack protector, so UDF dlopen failed

2009-05-08 Thread Mariuz
Library name: /usr/lib/firebird/2.1/UDF/fbudf.so Entry point: isLeapYear ISLEAPYEAR( Timestamp by reference ) returns: Integer by value -- firebird 2.1 compiled without stack protector, so UDF dlopen failed https://bugs.launchpad.net/bugs/363694 You received this bug notification because

[Bug 363694] Re: firebird 2.1 compiled without stack protector, so UDF dlopen failed

2009-05-08 Thread Mariuz
rfunc.so was compiled on another pc ? if so it's need an recompile or how is done , could send an example for your udf ** Changed in: firebird2.1 (Ubuntu) Status: In Progress => Incomplete -- firebird 2.1 compiled without stack protector, so UDF dlopen failed https://bugs.launchpad.net/b

[Bug 363694] Re: firebird 2.1 compiled without stack protector, so UDF dlopen failed

2009-05-08 Thread Mariuz
it seems that firebird 2.1 super is already compiled with stack protector on ubuntu 8.10 and ubuntu 9.04 you can check with the above command i check now the firebird 2.1-classic ** Changed in: firebird2.1 (Ubuntu) Status: Fix Released => In Progress -- firebird 2.1 compiled without s

[Bug 363694] Re: firebird 2.1 compiled without stack protector, so UDF dlopen failed

2009-05-08 Thread Mariuz
seems that fb_inet_server is not compiled with stack protection objdump -CR /usr/lib/firebird/2.1/bin/fb_inet_server /usr/lib/firebird/2.1/bin/fb_inet_server: file format elf32-i386 DYNAMIC RELOCATION RECORDS OFFSET TYPE VALUE 08049ff0 R_386_GLOB_DAT__gmon_start__ 0804a00

Re: [Bug 363694] Re: firebird 2.1 compiled without stack protector, so UDF dlopen failed

2009-05-08 Thread mmarkk
What is meaning of bug state 'fix released' ? there is no bug, or bug will be closed on next build ? please describe, or give me the link. -- firebird 2.1 compiled without stack protector, so UDF dlopen failed https://bugs.launchpad.net/bugs/363694 You received this bug notification because you a

[Bug 363694] Re: firebird 2.1 compiled without stack protector, so UDF dlopen failed

2009-05-08 Thread Mariuz
Firebird is compiled with stack protection enabled by default (tested on both 8.10 and 9.04) objdump -CR /usr/lib/firebird/2.1/bin/fbserver | grep chk 0097c7c0 R_X86_64_JUMP_SLOT __stack_chk_fail ** Changed in: firebird2.1 (Ubuntu) Status: In Progress => Fix Released -- firebird

[Bug 363694] Re: firebird 2.1 compiled without stack protector, so UDF dlopen failed

2009-05-08 Thread Mariuz
follow this thread http://www.nabble.com/firebird-2.1-compiled-without-stack-protector%2C-so-UDF-dlopen-failed-td23430831.html seems for me that firebird is build with stack protection by default , at least this is on jaunty i will check on intrepid too ** Changed in: firebird2.1 (Ubuntu)

[Bug 363694] Re: firebird 2.1 compiled without stack protector, so UDF dlopen failed

2009-04-23 Thread mmarkk
** Description changed: Binary package hint: firebird2.1-classic firebird-2.1 classic is compiled with -fno-stack-protector, so any third-party UDF compiled with default gcc options are not loaded by firebird at runtime. and firebird said (Exmple for TANH function in common rfunc (htt

[Bug 363694] Re: firebird 2.1 compiled without stack protector, so UDF dlopen failed

2009-04-20 Thread mmarkk
** Summary changed: - firebird 2.1 compiled without stack protector, so UDF open failed + firebird 2.1 compiled without stack protector, so UDF dlopen failed ** Description changed: Binary package hint: firebird2.1-classic firebird-2.1 classic is compiled with -fno-stack-protector, so a