You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(381) |
Sep
(175) |
Oct
(261) |
Nov
(202) |
Dec
(221) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(307) |
Feb
(144) |
Mar
(140) |
Apr
(571) |
May
(652) |
Jun
(376) |
Jul
(547) |
Aug
(788) |
Sep
(475) |
Oct
(445) |
Nov
(599) |
Dec
(387) |
2002 |
Jan
(282) |
Feb
(348) |
Mar
(641) |
Apr
(313) |
May
(227) |
Jun
(317) |
Jul
(432) |
Aug
(775) |
Sep
(514) |
Oct
(835) |
Nov
(787) |
Dec
(680) |
2003 |
Jan
(960) |
Feb
(1202) |
Mar
(1114) |
Apr
(744) |
May
(538) |
Jun
(670) |
Jul
(880) |
Aug
(1123) |
Sep
(943) |
Oct
(780) |
Nov
(862) |
Dec
(747) |
2004 |
Jan
(929) |
Feb
(818) |
Mar
(609) |
Apr
(906) |
May
(568) |
Jun
(543) |
Jul
(555) |
Aug
(656) |
Sep
(794) |
Oct
(581) |
Nov
(626) |
Dec
(555) |
2005 |
Jan
(867) |
Feb
(661) |
Mar
(811) |
Apr
(674) |
May
(541) |
Jun
(603) |
Jul
(439) |
Aug
(381) |
Sep
(729) |
Oct
(693) |
Nov
(493) |
Dec
(442) |
2006 |
Jan
(685) |
Feb
(415) |
Mar
(567) |
Apr
(763) |
May
(452) |
Jun
(393) |
Jul
(409) |
Aug
(282) |
Sep
(259) |
Oct
(398) |
Nov
(397) |
Dec
(464) |
2007 |
Jan
(564) |
Feb
(304) |
Mar
(442) |
Apr
(358) |
May
(353) |
Jun
(160) |
Jul
(439) |
Aug
(250) |
Sep
(276) |
Oct
(428) |
Nov
(572) |
Dec
(221) |
2008 |
Jan
(354) |
Feb
(277) |
Mar
(378) |
Apr
(448) |
May
(308) |
Jun
(269) |
Jul
(281) |
Aug
(142) |
Sep
(141) |
Oct
(323) |
Nov
(341) |
Dec
(352) |
2009 |
Jan
(362) |
Feb
(335) |
Mar
(347) |
Apr
(190) |
May
(222) |
Jun
(346) |
Jul
(281) |
Aug
(295) |
Sep
(279) |
Oct
(610) |
Nov
(580) |
Dec
(550) |
2010 |
Jan
(387) |
Feb
(357) |
Mar
(365) |
Apr
(168) |
May
(132) |
Jun
(61) |
Jul
(165) |
Aug
(305) |
Sep
(351) |
Oct
(405) |
Nov
(380) |
Dec
(273) |
2011 |
Jan
(193) |
Feb
(136) |
Mar
(445) |
Apr
(350) |
May
(214) |
Jun
(109) |
Jul
(113) |
Aug
(145) |
Sep
(43) |
Oct
(132) |
Nov
(219) |
Dec
(257) |
2012 |
Jan
(237) |
Feb
(170) |
Mar
(182) |
Apr
(229) |
May
(89) |
Jun
(120) |
Jul
(203) |
Aug
(112) |
Sep
(101) |
Oct
(123) |
Nov
(186) |
Dec
(83) |
2013 |
Jan
(122) |
Feb
(69) |
Mar
(154) |
Apr
(126) |
May
(70) |
Jun
(82) |
Jul
(96) |
Aug
(192) |
Sep
(151) |
Oct
(134) |
Nov
(192) |
Dec
(170) |
2014 |
Jan
(157) |
Feb
(235) |
Mar
(338) |
Apr
(327) |
May
(283) |
Jun
(204) |
Jul
(341) |
Aug
(456) |
Sep
(211) |
Oct
(294) |
Nov
(318) |
Dec
(318) |
2015 |
Jan
(151) |
Feb
(204) |
Mar
(363) |
Apr
(144) |
May
(134) |
Jun
(143) |
Jul
(192) |
Aug
(122) |
Sep
(190) |
Oct
(187) |
Nov
(430) |
Dec
(240) |
2016 |
Jan
(177) |
Feb
(188) |
Mar
(754) |
Apr
(270) |
May
(296) |
Jun
(268) |
Jul
(107) |
Aug
(131) |
Sep
(120) |
Oct
(91) |
Nov
(135) |
Dec
(69) |
2017 |
Jan
(225) |
Feb
(102) |
Mar
(177) |
Apr
(154) |
May
(131) |
Jun
(53) |
Jul
(130) |
Aug
(121) |
Sep
(65) |
Oct
(92) |
Nov
(87) |
Dec
(90) |
2018 |
Jan
(164) |
Feb
(115) |
Mar
(97) |
Apr
(136) |
May
(324) |
Jun
(172) |
Jul
(95) |
Aug
(89) |
Sep
(93) |
Oct
(149) |
Nov
(69) |
Dec
(28) |
2019 |
Jan
(100) |
Feb
(205) |
Mar
(125) |
Apr
(65) |
May
(52) |
Jun
(159) |
Jul
(67) |
Aug
(119) |
Sep
(224) |
Oct
(71) |
Nov
(69) |
Dec
(123) |
2020 |
Jan
(151) |
Feb
(114) |
Mar
(111) |
Apr
(148) |
May
(168) |
Jun
(199) |
Jul
(70) |
Aug
(155) |
Sep
(98) |
Oct
(73) |
Nov
(88) |
Dec
(73) |
2021 |
Jan
(63) |
Feb
(221) |
Mar
(62) |
Apr
(101) |
May
(254) |
Jun
(60) |
Jul
(148) |
Aug
(67) |
Sep
(136) |
Oct
(165) |
Nov
(123) |
Dec
(136) |
2022 |
Jan
(104) |
Feb
(136) |
Mar
(67) |
Apr
(42) |
May
(65) |
Jun
(45) |
Jul
(21) |
Aug
(181) |
Sep
(53) |
Oct
|
Nov
(1) |
Dec
|
2023 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
2024 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Mark R. <ma...@la...> - 2024-07-05 08:06:23
|
On 04/07/2024 17:30, Carlos H. Cantu wrote: > https://blogs.embarcadero.com/interbase-odbc-driver-on-github/ > > Can someone check if some of their fixes could be applied to the Firebird > driver? I remember people saying that our driver didn't work well with PowerBI, > and they are saying that this was fixed. I believe some changes where recently made in the 3.0.0.x test versions which solved those issues (though I'm not 100% sure). Mark -- Mark Rotteveel |
From: Carlos H. C. <li...@wa...> - 2024-07-04 16:14:18
|
https://blogs.embarcadero.com/interbase-odbc-driver-on-github/ Can someone check if some of their fixes could be applied to the Firebird driver? I remember people saying that our driver didn't work well with PowerBI, and they are saying that this was fixed. []s Carlos http://www.firebirdnews.org FireBase - http://www.FireBase.com.br |
From: Mark R. <ma...@la...> - 2023-08-05 15:30:32
|
Hi Hugo, You sent this message to the old list at SourceForge. Please post to the firebird-devel Google Group (https://groups.google.com/g/firebird-devel, or fir...@go...). Mark On 05-08-2023 13:58, Hugo Larson via Firebird-devel wrote: > Hello, > > I'm stuck for a while with FB 2.5 and need to build it on aarch64 Linux > and getting the error below. > I know too little about building and am using docker > https://github.com/jacobalberty/firebird-docker/blob/2.5-sc/Dockerfile > <https://github.com/jacobalberty/firebird-docker/blob/2.5-sc/Dockerfile> > > Thanks, > Hugo. > > > 100 12.9M 100 12.9M 0 0 14.1M 0 --:--:-- --:--:-- --:--:-- > 40.9M > 66.85 checking whether make sets $(MAKE)... yes > 66.86 checking build system type... builds/make.new/config/config.guess: > unable to guess system type > 66.96 > 66.96 This script, last modified 2005-12-23, has failed to recognize > 66.96 the operating system you are using. It is advised that you > 66.96 download the most up to date version of the config scripts from > 66.96 > 66.96 > http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess > 66.96 and > 66.96 > http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub > 66.96 > 66.96 If the version you run (builds/make.new/config/config.guess) is > already up to date, please > 66.96 send the following data and any information you think might be > 66.96 pertinent to <con...@gn...> in order to provide the needed > 66.96 information to handle your system. > 66.96 > 66.96 config.guess timestamp = 2005-12-23 > 66.96 > 66.96 uname -m = aarch64 > 66.96 uname -r = 5.15.0-1039-oracle > 66.96 uname -s = Linux > 66.96 uname -v = #45-Ubuntu SMP Thu Jul 13 19:41:22 UTC 2023 > 66.96 > 66.96 /usr/bin/uname -p = aarch64 > 66.96 /bin/uname -X = > 66.96 > 66.96 hostinfo = > 66.96 /bin/universe = > 66.96 /usr/bin/arch -k = > 66.96 /bin/arch = aarch64 > 66.96 /usr/bin/oslevel = > 66.96 /usr/convex/getsysinfo = > 66.96 > 66.96 UNAME_MACHINE = aarch64 > 66.96 UNAME_RELEASE = 5.15.0-1039-oracle > 66.96 UNAME_SYSTEM = Linux > 66.96 UNAME_VERSION = #45-Ubuntu SMP Thu Jul 13 19:41:22 UTC 2023 > 66.96 configure: error: cannot guess build type; you must specify one > > > > Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel -- Mark Rotteveel |
From: Hugo L. <hug...@ya...> - 2023-08-05 11:59:06
|
Hello, I'm stuck for a while with FB 2.5 and need to build it on aarch64 Linux and getting the error below. I know too little about building and am using docker https://github.com/jacobalberty/firebird-docker/blob/2.5-sc/Dockerfile Thanks, Hugo. 100 12.9M 100 12.9M 0 0 14.1M 0 --:--:-- --:--:-- --:--:-- 40.9M66.85 checking whether make sets $(MAKE)... yes66.86 checking build system type... builds/make.new/config/config.guess: unable to guess system type66.9666.96 This script, last modified 2005-12-23, has failed to recognize66.96 the operating system you are using. It is advised that you66.96 download the most up to date version of the config scripts from66.9666.96 http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess66.96 and66.96 http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub66.9666.96 If the version you run (builds/make.new/config/config.guess) is already up to date, please66.96 send the following data and any information you think might be66.96 pertinent to <con...@gn...> in order to provide the needed66.96 information to handle your system.66.9666.96 config.guess timestamp = 2005-12-2366.9666.96 uname -m = aarch6466.96 uname -r = 5.15.0-1039-oracle66.96 uname -s = Linux66.96 uname -v = #45-Ubuntu SMP Thu Jul 13 19:41:22 UTC 202366.9666.96 /usr/bin/uname -p = aarch6466.96 /bin/uname -X =66.9666.96 hostinfo =66.96 /bin/universe =66.96 /usr/bin/arch -k =66.96 /bin/arch = aarch6466.96 /usr/bin/oslevel =66.96 /usr/convex/getsysinfo =66.9666.96 UNAME_MACHINE = aarch6466.96 UNAME_RELEASE = 5.15.0-1039-oracle66.96 UNAME_SYSTEM = Linux66.96 UNAME_VERSION = #45-Ubuntu SMP Thu Jul 13 19:41:22 UTC 202366.96 configure: error: cannot guess build type; you must specify one |
From: Adriano d. S. F. <adr...@gm...> - 2023-03-20 11:47:11
|
Hi! I'd like to re-discuss this also taking into consideration named arguments feature. Named arguments is standard feature where arguments call be passed to routines using => token, example: routine_name(param1 => 1, param2 => 2) Then back to standard CALL statement, it works also with named parameters and it works with output parameters using SQL standard way of output parameters, where a routine is defined with parameters using IN, OUT or INOUT all mixed, so: CALL routine_name(input_param1 => 1, output_param1 => ?, input_param2 => 2) or CALL routine_name(1, ?, 2) -- (routine_name was defined with IN INPUT_PARAM1, OUT OUTPUT_PARAM1, IN INPUT_PARAM2 in this order) We can make CALL work in Firebird using standard syntax, the question is if we can make it or something else better. CALL with named parameters is really good, but positional syntax not so much. Considering that one created a Firebird procedure with these parameters: Input: - I1 mandatory - I2 DEFAULT true Output: - O1 - O2 CALL proc_name(1, default, ?, ?) I'm not sure this "default" is standard, but I would add it for obviously reason to be able to use default parameters. Maybe we just can say that CALL with positional syntax is not good with many parameters. Note that named arguments would also be added to EXECUTE PROCEDURE as well function calls. Therefore I would change my proposal to: - Add named arguments - for EXECUTE PROCEDURE, function invocation and CALL statement - Add DEFAULT for argument passing - Add standard CALL statement - Maybe re-discuss (*) extension to CALL or EXECUTE PROCEDURE in another proposal * That would be because CALL is awful to return all output parameters and also awful in the way it mix input parameters having defaults with output parameters in positional syntax. And EXECUTE PROCEDURE is easy to return all output parameters, but its syntax is awful in others ways (many variants, too much verbose). Adriano On 31/05/2021 10:19, Adriano dos Santos Fernandes wrote: > Hi! > > EXECUTE PROCEDURE is full of weirdness, so I propose that standard SQL > CALL is adapted for our needs. > > EXECUTE PROCEDURE [ <package> . ] <name> > [ <value list> | ( <value list> ) ] > [ RETURNING_VALUES <variable list> | > RETURNING_VALUES ( <variable list> ) ] > > It does not allow one to "select" what just it wants. > > So if one changes the procedure output parameters, clients (DSQL and > PSQL) needs to be changed. It's like "SELECT *" which is sure a bad > practice. > > It has this weird RETURNING_VALUES and multiple syntax about parenthesis. > > It does not allow to just execute and ignore output parameters. > > I propose that CALL syntax: > > CALL [ <package> . ] <name> ( <value list> ) > [ RETURNING { * | <value list> } ] > [ INTO <variable list> ] > > A CALL without RETURNING and without INTO will execute the procedure and > ignore possible output parameters. > > A CALL without RETURNING and with INTO (PSQL only), works like with > "RETURNING *" and EXECUTE PROCEDURE ... RETURNING_VALUES. > > Examples: > > -- Like EXECUTE PROCEDURE in PSQL > CALL proc(1, 2) INTO v1, v2 > > -- Can ignore some output parameters in PSQL > CALL proc(1, 2) RETURNING o1 INTO a1 > > -- Can ignore some output parameters in DSQL > CALL proc(1, 2) RETURNING o1 > > -- Ignore all output parameters in DSQL and PSQL > CALL proc(1, 2) > > > Adriano |
From: marius a. p. <ma...@gm...> - 2022-11-11 19:20:46
|
Building Firebird Sql is now easy with Github Codespaces (default is ubuntu lts + vscode) choose a branch click Code create code space sudo apt-get update sudo apt-get install libtommath-dev libtomcrypt-dev ./autogen.sh --prefix=/opt/firebird4 or 5 make make install https://github.com/features/codespaces Also there is prebuild for open source organizations https://github.surveymonkey.com/r/2X56RCW |
From: Mark R. <ma...@la...> - 2022-09-25 10:58:48
|
Hi Norbert, We're moving the list. Please subscribe to the firebird-devel Google Group and post your question there (once subscribed, you can use fir...@go... or post through the website). See also the message with subject "[Firebird-devel] ACTION REQUIRED: This list is moving to Google Groups, please resubscribe on the new location" for details. Mark On 25-09-2022 12:48, Norbert Saint Georges wrote: > Hi, > > FB4 > iso8859_1 > > With a varchar(32765) field, the API returns a nullOffset outside the > buffer length and the next field gives me an offset identical to the > nullOffset of the previous field. > > Did I miss something? > -- Mark Rotteveel |
From: Norbert S. G. <ns...@te...> - 2022-09-25 10:49:23
|
Hi, FB4 iso8859_1 With a varchar(32765) field, the API returns a nullOffset outside the buffer length and the next field gives me an offset identical to the nullOffset of the previous field. Did I miss something? -- Norbert Saint Georges http://tetrasys.fi |
From: Mark R. <ma...@la...> - 2022-09-25 09:50:00
|
On 25-09-2022 11:29, Mark Rotteveel wrote: > On 25-09-2022 11:19, Dimitry Sibiryakov via Firebird-devel wrote: >> Mark Rotteveel wrote 25.09.2022 11:15: >>> This list is moving to Google Groups, and we'd like you to move with it. >> >> "Join" button in your invitation sends to 404 page. >> > > Do you mean the invite I sent you directly from Google Groups? That is > odd as that is generated by Google itself. Maybe replying to the message > works as well? Otherwise, I suggest subscribing on > https://groups.google.com/g/firebird-devel or by sending an email to > fir...@go... It looks like the email generated when inviting people through the admin interface contains links that only work when you're logged in to Google. If you're not logged in, it generates a 404 :( In any case, above alternatives should work. Mark -- Mark Rotteveel |
From: Mark R. <ma...@la...> - 2022-09-25 09:29:23
|
On 25-09-2022 11:19, Dimitry Sibiryakov via Firebird-devel wrote: > Mark Rotteveel wrote 25.09.2022 11:15: >> This list is moving to Google Groups, and we'd like you to move with it. > > "Join" button in your invitation sends to 404 page. > Do you mean the invite I sent you directly from Google Groups? That is odd as that is generated by Google itself. Maybe replying to the message works as well? Otherwise, I suggest subscribing on https://groups.google.com/g/firebird-devel or by sending an email to fir...@go... Mark -- Mark Rotteveel |
From: Dimitry S. <sd...@ib...> - 2022-09-25 09:20:19
|
Mark Rotteveel wrote 25.09.2022 11:15: > This list is moving to Google Groups, and we'd like you to move with it. "Join" button in your invitation sends to 404 page. -- WBR, SD. |
From: Mark R. <ma...@la...> - 2022-09-25 09:16:19
|
Hello everyone, This list is moving to Google Groups, and we'd like you to move with it. To do this, subscribe at our new location: https://groups.google.com/g/firebird-devel, or by sending an email to fir...@go... Afterwards, we suggest you unsubscribe from the old list. You can do this at https://lists.sourceforge.net/lists/options/firebird-devel, or be sending an email to fir...@li... with subject: unsubscribe NOTE: After subscribing on Google Groups, messages may be moderated, so please be patient if your message doesn't show up immediately. We'll try to manually clear moderation status for known subscribers. Mark -- Mark Rotteveel |
From: Dimitry S. <sd...@ib...> - 2022-09-23 12:13:51
|
Norbert Saint Georges wrote 23.09.2022 14:00: > Thanks Dimitry, but > length(blr=29) = 12 so ISC_TIMESTAMP_TZ_EXPtr. > in which case to use ISC_TIMESTAMP_TZ_Ptr = 10? You cannot judge by length because it used to be aligned up and may be also include null indicator. You must rely on metadata description to determine right type. -- WBR, SD. |
From: Norbert S. G. <ns...@te...> - 2022-09-23 12:01:06
|
Dimitry Sibiryakov a écrit : > Norbert Saint Georges wrote 23.09.2022 7:26: >> which version should be used and in which case should one or the other be >> used? > > decodeTimeTz is used for ISC_TIME_TZ type and decodeTimeTzEx is used for > ISC_TIME_TZ_EX type (SQL_TIME_TZ and SQL_TIME_TZ_EX values in sqltype of > SQLVAR/IMessageMetadata). Thanks Dimitry, but length(blr=29) = 12 so ISC_TIMESTAMP_TZ_EXPtr. in which case to use ISC_TIMESTAMP_TZ_Ptr = 10? ISC_TIME_TZ = record utc_time: ISC_TIME; time_zone: ISC_USHORT; end; ISC_TIME_TZ_EX = record utc_time: ISC_TIME; time_zone: ISC_USHORT; ext_offset: ISC_SHORT; end; ISC_TIME_TZ = 6; ISC_TIME_TZ_EX = 8; length(BLR(28)) = 8; in which case to use ISC_TIME_TZ? -- Norbert Saint Georges http://tetrasys.fi |
From: Dimitry S. <sd...@ib...> - 2022-09-23 09:30:05
|
Norbert Saint Georges wrote 23.09.2022 7:26: > which version should be used and in which case should one or the other be used? decodeTimeTz is used for ISC_TIME_TZ type and decodeTimeTzEx is used for ISC_TIME_TZ_EX type (SQL_TIME_TZ and SQL_TIME_TZ_EX values in sqltype of SQLVAR/IMessageMetadata). -- WBR, SD. |
From: Norbert S. G. <ns...@te...> - 2022-09-23 05:26:38
|
Hi, which version should be used and in which case should one or the other be used? thank you in advance, Norbert -- Norbert Saint Georges http://tetrasys.fi |
From: Mark R. <ma...@la...> - 2022-09-21 10:36:08
|
Test (please ignore) -- Mark Rotteveel |
From: Alex P. <pes...@ma...> - 2022-09-19 08:19:27
|
On 9/17/22 18:54, Dimitry Sibiryakov wrote: > Hello All. > > What are rules for plugin's returned value of IAttachment::execute() > in the case when input transaction is not NULL? > That depends upon statement executed. > Should it return NULL? In a case of commit/rollback - yes. > Should it return the original transaction? For all non-transacton-control statements - yes. > Should it return current plugin's original transaction (i.e. > YTransaction->next if input transaction is from Y-valve)? No matter of YValve - when SQL statement does not modify transaction (not start and not commit) same value to be returned. > Should reference counter of the returned value to be increased if the > transaction is the same as input one? > Not. When new transaction is created it's ref/counter is set to 1. (This exactly matches logic of assignRefNoIncr() function.) |
From: Dimitry S. <sd...@ib...> - 2022-09-17 15:55:35
|
Hello All. What are rules for plugin's returned value of IAttachment::execute() in the case when input transaction is not NULL? Should it return NULL? Should it return the original transaction? Should it return current plugin's original transaction (i.e. YTransaction->next if input transaction is from Y-valve)? Should reference counter of the returned value to be increased if the transaction is the same as input one? -- WBR, SD. |
From: Dimitry S. <sd...@ib...> - 2022-09-16 10:53:45
|
Alex Peshkoff via Firebird-devel wrote 15.09.2022 18:08: > I do not want to say segfault is good thing and will not provide as a sample > trivial things like strcpy() - but almost any function in C library will > segfault when passed wrong address of some data. strcpy() is a quite bad example because it is even more ancient than Firebird API. Modern functions that are supposed to return an error code get used to returns EFAULT or EINVAL. -- WBR, SD. |
From: Alex P. <pes...@ma...> - 2022-09-15 16:08:33
|
On 9/15/22 18:56, Dimitry Sibiryakov wrote: > Hello All. > > If someone by mistake calls IStatement::execute() providing metadata > but no data buffer, it will pass the values as is to a provider and > overall result will be segfault. > Shouldn't some sanity checks to be performed there? > Not sure. Check for nullptr is really simple but what if user sends garbage instead data buffer address? Luckily that segfault will never disturb remote server - only client or embedded which can suffer same way from any segfault in user process. I do not want to say segfault is good thing and will not provide as a sample trivial things like strcpy() - but almost any function in C library will segfault when passed wrong address of some data. |
From: Dimitry S. <sd...@ib...> - 2022-09-15 15:57:25
|
Hello All. If someone by mistake calls IStatement::execute() providing metadata but no data buffer, it will pass the values as is to a provider and overall result will be segfault. Shouldn't some sanity checks to be performed there? -- WBR, SD. |
From: Alex P. <pes...@ma...> - 2022-09-15 15:08:14
|
On 9/15/22 17:18, Dimitry Sibiryakov wrote: > Alex Peshkoff via Firebird-devel wrote 15.09.2022 16:14: >> On the other hand tomcrypt is successfully used in our sample plugin >> - which is problematic with static linking. For me that appears more >> interesting and useful. >> Not to say about code duplication. > > Dead code elimination with static libraries work at module level so > there is no significant duplication. Crypt modules are tiny. > We do not include crypt algorithms not needed for firebird when building tomcrypt (library's customization is used). Therefore there is not too much effect from code elimination. May be in client-only case... But have you seen a lot of clients running linux? |
From: Dimitry S. <sd...@ib...> - 2022-09-15 14:19:00
|
Alex Peshkoff via Firebird-devel wrote 15.09.2022 16:14: > On the other hand tomcrypt is successfully used in our sample plugin - which is > problematic with static linking. For me that appears more interesting and useful. > Not to say about code duplication. Dead code elimination with static libraries work at module level so there is no significant duplication. Crypt modules are tiny. -- WBR, SD. |
From: Alex P. <pes...@ma...> - 2022-09-15 14:14:56
|
On 9/15/22 17:07, Dimitry Sibiryakov wrote: > Alex Peshkoff via Firebird-devel wrote 15.09.2022 12:04: >>>> With tommath there are no such issues... >>> >>> Why don't force build with static libs? >>> >> >> In what way it's better than own dynamic libraries? > > Surely no problem with API/ABI. Therefore we link some problematic libraries statically. > No mess and vulnerability with dynamic library search path. I see no mess with it but it depends on POV > No multiplying of points above with every third-party plugin. > May be - never used to deal with third-party plugins myself. On the other hand tomcrypt is successfully used in our sample plugin - which is problematic with static linking. For me that appears more interesting and useful. Not to say about code duplication. |