You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
(71) |
Aug
(152) |
Sep
(123) |
Oct
(49) |
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(3) |
Oct
|
Nov
|
Dec
|
2002 |
Jan
|
Feb
|
Mar
|
Apr
(37) |
May
(554) |
Jun
(301) |
Jul
(84) |
Aug
(39) |
Sep
(44) |
Oct
(99) |
Nov
(41) |
Dec
(52) |
2003 |
Jan
(15) |
Feb
(32) |
Mar
(19) |
Apr
(4) |
May
(8) |
Jun
(30) |
Jul
(122) |
Aug
(100) |
Sep
(120) |
Oct
(4) |
Nov
(39) |
Dec
(32) |
2004 |
Jan
(38) |
Feb
(87) |
Mar
(11) |
Apr
(23) |
May
(7) |
Jun
(6) |
Jul
(18) |
Aug
(2) |
Sep
(22) |
Oct
(2) |
Nov
(7) |
Dec
(48) |
2005 |
Jan
(74) |
Feb
(29) |
Mar
(28) |
Apr
(1) |
May
(24) |
Jun
(16) |
Jul
(9) |
Aug
(7) |
Sep
(69) |
Oct
(11) |
Nov
(13) |
Dec
(13) |
2006 |
Jan
(5) |
Feb
(3) |
Mar
(7) |
Apr
|
May
(12) |
Jun
(12) |
Jul
(5) |
Aug
(1) |
Sep
(4) |
Oct
(61) |
Nov
(68) |
Dec
(46) |
2007 |
Jan
(16) |
Feb
(15) |
Mar
(46) |
Apr
(171) |
May
(78) |
Jun
(109) |
Jul
(61) |
Aug
(71) |
Sep
(189) |
Oct
(219) |
Nov
(162) |
Dec
(91) |
2008 |
Jan
(49) |
Feb
(41) |
Mar
(43) |
Apr
(31) |
May
(70) |
Jun
(98) |
Jul
(39) |
Aug
(8) |
Sep
(75) |
Oct
(47) |
Nov
(11) |
Dec
(17) |
2009 |
Jan
(9) |
Feb
(12) |
Mar
(8) |
Apr
(11) |
May
(27) |
Jun
(25) |
Jul
(161) |
Aug
(28) |
Sep
(66) |
Oct
(36) |
Nov
(49) |
Dec
(22) |
2010 |
Jan
(34) |
Feb
(20) |
Mar
(3) |
Apr
(12) |
May
(1) |
Jun
(10) |
Jul
(28) |
Aug
(98) |
Sep
(7) |
Oct
(25) |
Nov
(4) |
Dec
(9) |
2011 |
Jan
|
Feb
(12) |
Mar
(7) |
Apr
(16) |
May
(11) |
Jun
(59) |
Jul
(120) |
Aug
(7) |
Sep
(4) |
Oct
(5) |
Nov
(3) |
Dec
(2) |
2012 |
Jan
|
Feb
(6) |
Mar
(21) |
Apr
|
May
|
Jun
|
Jul
(9) |
Aug
|
Sep
(5) |
Oct
(3) |
Nov
(6) |
Dec
(1) |
2013 |
Jan
|
Feb
(19) |
Mar
(10) |
Apr
|
May
(2) |
Jun
|
Jul
(7) |
Aug
(62) |
Sep
(14) |
Oct
(44) |
Nov
(38) |
Dec
(47) |
2014 |
Jan
(14) |
Feb
(1) |
Mar
(4) |
Apr
|
May
(20) |
Jun
|
Jul
|
Aug
(8) |
Sep
(6) |
Oct
(11) |
Nov
(9) |
Dec
(9) |
2015 |
Jan
(3) |
Feb
(2) |
Mar
(2) |
Apr
(3) |
May
(2) |
Jun
(5) |
Jul
|
Aug
(2) |
Sep
(1) |
Oct
(1) |
Nov
(10) |
Dec
(2) |
2016 |
Jan
(12) |
Feb
(13) |
Mar
(9) |
Apr
(45) |
May
(9) |
Jun
(2) |
Jul
(15) |
Aug
(32) |
Sep
(6) |
Oct
(28) |
Nov
(1) |
Dec
|
2017 |
Jan
(1) |
Feb
|
Mar
|
Apr
(13) |
May
(8) |
Jun
(2) |
Jul
(3) |
Aug
(10) |
Sep
|
Oct
(2) |
Nov
|
Dec
(1) |
2018 |
Jan
(2) |
Feb
(4) |
Mar
(2) |
Apr
(7) |
May
|
Jun
(8) |
Jul
|
Aug
(8) |
Sep
(2) |
Oct
(2) |
Nov
(8) |
Dec
(6) |
2019 |
Jan
(2) |
Feb
|
Mar
(1) |
Apr
|
May
(1) |
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(3) |
2020 |
Jan
(3) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2021 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2022 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: C. M. <pu...@38...> - 2018-11-27 16:18:09
|
Hi, the bugzilla bug entry page seems to be broken. My browser (Firefox 52.9.0 on Debian testing amd64) replies with this error message upon clicking "Submit Bug" on https://bugzilla.nasm.us/enter_bug.cgi > File not found > > Firefox can't find the file at https://bugzilla.nasm.us/post_bug.cgi. > > Check the file name for capitalisation or other typing errors. > Check to see if the file was moved, renamed or deleted. Regards, ecm |
From: Michael B. <mj...@go...> - 2018-11-21 20:18:02
|
On Wed, Nov 21, 2018 at 11:25 AM Debbie Wiles <deb...@ho...> wrote: > There is a small amount of code for 808x CPUs that relies on the undefined > features. > Can you help clarify how this patch would break them? I'm happy to revise it, but it's unclear to me how this patch is problematic. |
From: Debbie W. <deb...@ho...> - 2018-11-21 19:58:44
|
There is a small amount of code for 808x CPUs that relies on the undefined features. ________________________________ From: Michael Bradshaw via Nasm-devel <nas...@li...> Sent: 21 November 2018 19:18 To: nas...@li... Subject: [Nasm-devel] [PATCH] Fix undefined behavior when shifting left by 32 bits Hi, Attached patch fixes issue 3392368 (see [1]), where a left shift results in undefined behavior. Please review. This is my first patch submission to nasm, so if I'm going about this incorrectly, please let me know. Thanks, --Michael [1]: https://bugzilla.nasm.us/show_bug.cgi?id=3392368 |
From: Michael B. <mj...@go...> - 2018-11-21 19:18:29
|
Hi, Attached patch fixes issue 3392368 (see [1]), where a left shift results in undefined behavior. Please review. This is my first patch submission to nasm, so if I'm going about this incorrectly, please let me know. Thanks, --Michael [1]: https://bugzilla.nasm.us/show_bug.cgi?id=3392368 |
From: Cyrill G. <gor...@gm...> - 2018-11-15 21:11:58
|
Instead of copying data just reuse already allocated paths. Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- Something like below? asm/nasm.c | 13 +++---------- asm/preproc-nop.c | 4 ++-- asm/preproc.c | 17 ++++++++--------- include/nasm.h | 2 +- 4 files changed, 14 insertions(+), 22 deletions(-) diff --git a/asm/nasm.c b/asm/nasm.c index 95938ee4..2dd8cbc0 100644 --- a/asm/nasm.c +++ b/asm/nasm.c @@ -328,18 +328,11 @@ static void define_macros(void) * Command-line specified preprocessor directives (-p, -d, -u, * --pragma, --before) are processed after this function. */ -static void preproc_init(struct strlist **ipath) +static void preproc_init(struct strlist *ipath) { - struct strlist_entry *l; - preproc->init(); define_macros(); - - list_for_each(l, (*ipath)->head) - preproc->include_path(l->str); - - strlist_free(*ipath); - *ipath = strlist_alloc(); + preproc->include_path(ipath); } static void emit_dependencies(struct strlist *list) @@ -503,7 +496,7 @@ int main(int argc, char **argv) } } - preproc_init(&include_path); + preproc_init(include_path); parse_cmdline(argc, argv, 2); if (terminate_after_phase) { diff --git a/asm/preproc-nop.c b/asm/preproc-nop.c index 90f18e60..655eff7f 100644 --- a/asm/preproc-nop.c +++ b/asm/preproc-nop.c @@ -170,9 +170,9 @@ static void nop_pre_command(const char *what, char *string) (void)string; } -static void nop_include_path(const char *path) +static void nop_include_path(struct strlist *list) { - (void)path; + (void)list; } static void nop_error_list_macros(int severity) diff --git a/asm/preproc.c b/asm/preproc.c index 3d54c075..f672d0e2 100644 --- a/asm/preproc.c +++ b/asm/preproc.c @@ -386,7 +386,7 @@ static int LocalOffset = 0; static Context *cstk; static Include *istk; -static struct strlist *ipath; +static const struct strlist *ipath_list; static int pass; /* HACK: pass 0 = generate dependencies only */ static struct strlist *deplist; @@ -1501,12 +1501,15 @@ enum incopen_mode { static FILE *inc_fopen_search(const char *file, char **slpath, enum incopen_mode omode, enum file_flags fmode) { + const struct strlist_entry *ip = NULL; FILE *fp; const char *prefix = ""; - const struct strlist_entry *ip = ipath->head; char *sp; bool found; + if (ipath_list) + ip = ipath_list->head; + while (1) { sp = nasm_catfile(prefix, file); if (omode == INC_PROBE) { @@ -4993,7 +4996,6 @@ pp_reset(const char *file, int apass, struct strlist *dep_list) static void pp_init(void) { hash_init(&FileHash, HASH_MEDIUM); - ipath = strlist_alloc(); } static char *pp_getline(void) @@ -5261,16 +5263,13 @@ static void pp_cleanup(int pass) predef = NULL; delete_Blocks(); freeTokens = NULL; - strlist_free(ipath); + ipath_list = NULL; } } -static void pp_include_path(const char *path) +static void pp_include_path(struct strlist *list) { - if (!path) - path = ""; - - strlist_add(ipath, path); + ipath_list = list; } static void pp_pre_include(char *fname) diff --git a/include/nasm.h b/include/nasm.h index a6ff11ce..ebbf6c44 100644 --- a/include/nasm.h +++ b/include/nasm.h @@ -362,7 +362,7 @@ struct preproc_ops { void (*pre_command)(const char *what, char *str); /* Include path from command line */ - void (*include_path)(const char *path); + void (*include_path)(struct strlist *ipath); /* Unwind the macro stack when printing an error message */ void (*error_list_macros)(int severity); -- 2.17.2 |
From: Cyrill G. <gor...@gm...> - 2018-10-01 12:07:04
|
On Mon, Oct 01, 2018 at 02:57:14PM +0300, Michael Proshchuk wrote: > Thanks for the feedback! I am very glad that you support me in something. > If you change your mind, I will always be ready to help. Definitely! Thank you! |
From: Michael P. <mik...@gm...> - 2018-10-01 11:57:34
|
Thanks for the feedback! I am very glad that you support me in something. If you change your mind, I will always be ready to help. пн, 1 жовт. 2018 о 00:15 Cyrill Gorcunov <gor...@gm...> пише: > On Sun, Sep 30, 2018 at 09:58:29PM +0300, Michael Proshchuk wrote: > > Hello! > > I want to translate into Ukrainian all static text on your site. I > want to > > make Ukrainian localization of the site. Hope you too :) > > Best wishes, Michael Proshchuk. > > Hi Michael! Thanks a lot for proposal! You know I think it is doable, > surely it would be great to have a multilanguage support on the site > but I fear we won't have enough manpower to support translations in > future, while there are always people with more/less good knowledge > of english language. > |
From: Cyrill G. <gor...@gm...> - 2018-09-30 21:15:15
|
On Sun, Sep 30, 2018 at 09:58:29PM +0300, Michael Proshchuk wrote: > Hello! > I want to translate into Ukrainian all static text on your site. I want to > make Ukrainian localization of the site. Hope you too :) > Best wishes, Michael Proshchuk. Hi Michael! Thanks a lot for proposal! You know I think it is doable, surely it would be great to have a multilanguage support on the site but I fear we won't have enough manpower to support translations in future, while there are always people with more/less good knowledge of english language. |
From: Michael P. <mik...@gm...> - 2018-09-30 18:58:47
|
Hello! I want to translate into Ukrainian all static text on your site. I want to make Ukrainian localization of the site. Hope you too :) Best wishes, Michael Proshchuk. |
From: Ed B. <be...@mi...> - 2018-08-29 14:44:19
|
On 08/29/2018 06:11 AM, Ruslan Kabatsayev wrote: > You seem to confuse "configure" script and autogen.sh/autoreconf. The > former indeed should work correctly regardless of $PWD. I'm not confused at all, but maybe my description was not sufficiently clear. I agree that it's the configure script and not autoconf or autoreconf that should work regardless of $PWD and agree with the rest of your description as well. It might be nice to be able to do that trick with autoreconf as well, but if that's possible, I don't know how to do it. As you correctly point out, the "configure" script is typically something that we developers generate (and check in to the repository), but that someone building from source would simply run. Ed |
From: Ruslan K. <b7....@gm...> - 2018-08-29 10:11:52
|
Hi Ed, On Wed, 29 Aug 2018 at 05:34, Ed Beroset <be...@mi...> wrote: > > On 08/28/2018 03:24 PM, Cyrill Gorcunov wrote: > > On Tue, Aug 28, 2018 at 01:52:43PM -0400, Ed Beroset wrote: > >> Today, for the first time in a long time, I refreshed my local copy of the > >> NASM repo and tried to do a built outside the source directory, as is my > >> usual practice. It failed. > >> > >> Specifically, if you clone the source into a fresh new directory "nasm" and > >> then create and navigate into "nasm/build" I would expect the following > >> steps to successfully do a build: > >> > >> autoreconf .. -i > >> ../configure > >> make > >> > >> However it fails because of the generated file pptok.sh > >> > >> I believe I can fix this, but before I expend the effort to do so, I wanted > >> ask some questions: > >> > >> 1. can you reproduce this problem? > >> 2. do you agree it should be fixed? > >> > >> Thanks. > > > > Hi Ed! Why did you enter nasm/build? Usually I personally run ./autogen.sh > > from root source directory. Would it work for you? > > Hi Cyrill, > > Yes, it works from the root source directory, but only from there. One > of the features of autotools is that it's supposed to allow one to run > "configure" from anywhere and build successfully. One reason for doing > that is that it keeps the source tree (mostly) free of build artifacts. You seem to confuse "configure" script and autogen.sh/autoreconf. The former indeed should work correctly regardless of $PWD. But the latter ones actually create the configure script, and normally it's distributed in the source release tarball, already generated (unlike git repo). So I don't think autoreconf is something one needs to work from outside the source tree. The workflow should be something like: autoreconf -i # NOTE: once! cd /path/to/build/dir /source/dir/configure --options... make cd /path/to/another/build/dir /source/dir/configure --other-options... make > > Another common use of this feature is to create both release and debug > versions (in two separate locations) from the same source. See > https://www.gnu.org/software/automake/manual/html_node/VPATH-Builds.html > for example. > > Ed > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Nasm-devel mailing list > Nas...@li... > https://lists.sourceforge.net/lists/listinfo/nasm-devel |
From: Cyrill G. <gor...@gm...> - 2018-08-29 07:05:22
|
On Tue, Aug 28, 2018 at 10:33:52PM -0400, Ed Beroset wrote: > On 08/28/2018 03:24 PM, Cyrill Gorcunov wrote: > > On Tue, Aug 28, 2018 at 01:52:43PM -0400, Ed Beroset wrote: > > > Today, for the first time in a long time, I refreshed my local copy of the > > > NASM repo and tried to do a built outside the source directory, as is my > > > usual practice. It failed. > > > > > > Specifically, if you clone the source into a fresh new directory "nasm" and > > > then create and navigate into "nasm/build" I would expect the following > > > steps to successfully do a build: > > > > > > autoreconf .. -i > > > ../configure > > > make > > > > > > However it fails because of the generated file pptok.sh > > > > > > I believe I can fix this, but before I expend the effort to do so, I wanted > > > ask some questions: > > > > > > 1. can you reproduce this problem? > > > 2. do you agree it should be fixed? > > > > > > Thanks. > > > > Hi Ed! Why did you enter nasm/build? Usually I personally run ./autogen.sh > > from root source directory. Would it work for you? > > Hi Cyrill, > > Yes, it works from the root source directory, but only from there. One of > the features of autotools is that it's supposed to allow one to run > "configure" from anywhere and build successfully. One reason for doing that > is that it keeps the source tree (mostly) free of build artifacts. > > Another common use of this feature is to create both release and debug > versions (in two separate locations) from the same source. See > https://www.gnu.org/software/automake/manual/html_node/VPATH-Builds.html for > example. Ah! To be fair, never used this feature of autotools. If so then yes, it is a bug and should be fixed. |
From: Ed B. <be...@mi...> - 2018-08-29 02:34:06
|
On 08/28/2018 03:24 PM, Cyrill Gorcunov wrote: > On Tue, Aug 28, 2018 at 01:52:43PM -0400, Ed Beroset wrote: >> Today, for the first time in a long time, I refreshed my local copy of the >> NASM repo and tried to do a built outside the source directory, as is my >> usual practice. It failed. >> >> Specifically, if you clone the source into a fresh new directory "nasm" and >> then create and navigate into "nasm/build" I would expect the following >> steps to successfully do a build: >> >> autoreconf .. -i >> ../configure >> make >> >> However it fails because of the generated file pptok.sh >> >> I believe I can fix this, but before I expend the effort to do so, I wanted >> ask some questions: >> >> 1. can you reproduce this problem? >> 2. do you agree it should be fixed? >> >> Thanks. > > Hi Ed! Why did you enter nasm/build? Usually I personally run ./autogen.sh > from root source directory. Would it work for you? Hi Cyrill, Yes, it works from the root source directory, but only from there. One of the features of autotools is that it's supposed to allow one to run "configure" from anywhere and build successfully. One reason for doing that is that it keeps the source tree (mostly) free of build artifacts. Another common use of this feature is to create both release and debug versions (in two separate locations) from the same source. See https://www.gnu.org/software/automake/manual/html_node/VPATH-Builds.html for example. Ed |
From: Cyrill G. <gor...@gm...> - 2018-08-28 19:25:05
|
On Tue, Aug 28, 2018 at 01:52:43PM -0400, Ed Beroset wrote: > Today, for the first time in a long time, I refreshed my local copy of the > NASM repo and tried to do a built outside the source directory, as is my > usual practice. It failed. > > Specifically, if you clone the source into a fresh new directory "nasm" and > then create and navigate into "nasm/build" I would expect the following > steps to successfully do a build: > > autoreconf .. -i > ../configure > make > > However it fails because of the generated file pptok.sh > > I believe I can fix this, but before I expend the effort to do so, I wanted > ask some questions: > > 1. can you reproduce this problem? > 2. do you agree it should be fixed? > > Thanks. Hi Ed! Why did you enter nasm/build? Usually I personally run ./autogen.sh from root source directory. Would it work for you? |
From: Ed B. <be...@mi...> - 2018-08-28 19:03:44
|
On 08/28/2018 02:20 PM, Taylor Holberton wrote: > > I'm not a nasm developer but I made a CMake build system for nasm that > builds out of source just fine. It's on GitHub. > > https://github.com/riscv/riscv-nasm > > It's on the refactoring branch. I'm a big fan of CMake and tried out your patch in April when you posted it to the list, so thank you for that! I look forward to collaborating with you on improving that, too (adding ndisasm, and packaging for Windows, building and installing docs, etc.) Meanwhile, I thought I'd also work on the current autotools version but would very happily abandon it in favor of the CMake version if that's the direction we collectively choose. Another project I've worked on (Wireshark) currently maintains both an autotools *and* a CMake version, so that's certainly possible as well. Ed |
From: Taylor H. <tay...@gm...> - 2018-08-28 18:21:13
|
Hi, I'm not a nasm developer but I made a CMake build system for nasm that builds out of source just fine. It's on GitHub. https://github.com/riscv/riscv-nasm It's on the refactoring branch. On Tue, Aug 28, 2018, 13:53 Ed Beroset <be...@mi...> wrote: > Today, for the first time in a long time, I refreshed my local copy of > the NASM repo and tried to do a built outside the source directory, as > is my usual practice. It failed. > > Specifically, if you clone the source into a fresh new directory "nasm" > and then create and navigate into "nasm/build" I would expect the > following steps to successfully do a build: > > autoreconf .. -i > ../configure > make > > However it fails because of the generated file pptok.sh > > I believe I can fix this, but before I expend the effort to do so, I > wanted ask some questions: > > 1. can you reproduce this problem? > 2. do you agree it should be fixed? > > Thanks. > > Ed > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Nasm-devel mailing list > Nas...@li... > https://lists.sourceforge.net/lists/listinfo/nasm-devel > |
From: Ed B. <be...@mi...> - 2018-08-28 17:52:51
|
Today, for the first time in a long time, I refreshed my local copy of the NASM repo and tried to do a built outside the source directory, as is my usual practice. It failed. Specifically, if you clone the source into a fresh new directory "nasm" and then create and navigate into "nasm/build" I would expect the following steps to successfully do a build: autoreconf .. -i ../configure make However it fails because of the generated file pptok.sh I believe I can fix this, but before I expend the effort to do so, I wanted ask some questions: 1. can you reproduce this problem? 2. do you agree it should be fixed? Thanks. Ed |
From: <bal...@un...> - 2018-06-29 12:31:58
|
> Sorry for delay. I finally spotted the bad commit > (98578071b9d71ecaa2344dd9c185237c1765041e). > Gonna figure out what exactly is happening. Thanks again for report! if this can be of interest: in 2.14rc14 the problem I reported seems to be fixed (the test script I sent completes successfully). (note that 2.14rc{5,7,10,11} all fail) ciao -g |
From: Cyrill G. <gor...@gm...> - 2018-06-24 16:43:07
|
On Sun, Jun 17, 2018 at 7:19 PM Cyrill Gorcunov <gor...@gm...> wrote: > > On Sun, Jun 17, 2018 at 05:43:26PM +0200, bal...@un... wrote: > > hello > > > > I don't know if this is actually a problem with nasm or ffmpeg: so > > apologies if I am reporting to the wrong list > > > > The problem is with the current nasm rc version 2.14rc5 (so something > > which is still to be officially released); I'm sending this just as a > > possible heads up for the nasm developers... > > > > While building the latest official ffmpeg release (ffmpeg-4.0.1), > > using nasm-2.14rc5 I get: > > > > Thanks a lot for report! Better to file a bug of course but I'll > take a look on the week. Sorry for delay. I finally spotted the bad commit (98578071b9d71ecaa2344dd9c185237c1765041e). Gonna figure out what exactly is happening. Thanks again for report! |
From: Cyrill G. <gor...@gm...> - 2018-06-24 16:14:18
|
On Fri, Jun 22, 2018 at 8:19 PM Taylor Holberton <tay...@gm...> wrote: > > Hello! > > I am writing you to give you the pleasure of knowing that you were right in saying that porting nasm to support another architecture would be a lot of work. > > Too much work. > > It looks like the assembler just wasn't built from the start to support more than a single architecture. Aside from that, the code is just too difficult to follow. Like many of the older C projects I've seen, there are just too many abbreviations, long winded functions, and larger than preferred files. I will say, though, that the documentation was a little helpful. > > Thank you for your replies and answering my questions. Hi! Indeed it is quite a task. And as far as I know we never been planning to support other archs that's why code structure is so coupled with x86. |
From: Taylor H. <tay...@gm...> - 2018-06-22 17:19:22
|
Hello! I am writing you to give you the pleasure of knowing that you were right in saying that porting nasm to support another architecture would be a lot of work. Too much work. It looks like the assembler just wasn't built from the start to support more than a single architecture. Aside from that, the code is just too difficult to follow. Like many of the older C projects I've seen, there are just too many abbreviations, long winded functions, and larger than preferred files. I will say, though, that the documentation was a little helpful. Thank you for your replies and answering my questions. |
From: Cyrill G. <gor...@gm...> - 2018-06-17 16:20:06
|
On Sun, Jun 17, 2018 at 05:43:26PM +0200, bal...@un... wrote: > hello > > I don't know if this is actually a problem with nasm or ffmpeg: so > apologies if I am reporting to the wrong list > > The problem is with the current nasm rc version 2.14rc5 (so something > which is still to be officially released); I'm sending this just as a > possible heads up for the nasm developers... > > While building the latest official ffmpeg release (ffmpeg-4.0.1), > using nasm-2.14rc5 I get: > Thanks a lot for report! Better to file a bug of course but I'll take a look on the week. |
From: <bal...@un...> - 2018-06-17 15:58:32
|
hello I don't know if this is actually a problem with nasm or ffmpeg: so apologies if I am reporting to the wrong list The problem is with the current nasm rc version 2.14rc5 (so something which is still to be officially released); I'm sending this just as a possible heads up for the nasm developers... While building the latest official ffmpeg release (ffmpeg-4.0.1), using nasm-2.14rc5 I get: ----8<---- nasm -f elf64 -DPIC -g -F dwarf -I./ -I.// -Ilibavcodec/x86/ -Pconfig.asm -MD libavcodec/x86/h264_deblock.d -o libavcodec/x86/h264_deblock.o libavcodec/x86/h264_deblock.asm libavcodec/x86/h264_deblock.asm:1392: error: symbol `ff_h264_loop_filter_strength_mmxext.bidir' undefined libavutil/x86/x86inc.asm:683: ... from macro `jne' defined here libavcodec/x86/h264_deblock.asm:1392: warning: label `..@12237.branch_instr' changed during code generation [...a bunch of similar warnings...] ---->8---- OTOH, no problem whatsoever if I use nasm-2.13.03 (Both nasm-2.14rc5 and nasm-2.13.03 built from source with: --prefix=/opt/stow.d/versions/nasm-${version}/usr --libdir=/opt/stow.d/versions/nasm-${version}/usr/lib64 --infodir=/opt/stow.d/versions/nasm-${version}/usr/share/info ) Here is a scriptlett which you can edit/use to reproduce the problem: ----8<---- #!/bin/sh mkdir -p /tmp/ffmpeg-test # create a sandbox cd /tmp/ffmpeg-test rm -f ./ffmpeg-4.0.1.tar.bz2 # get the ffmpeg tarball wget http://ffmpeg.org/releases/ffmpeg-4.0.1.tar.bz2 rm -rf ./ffmpeg-4.0.1 # unpack tar axf ffmpeg-4.0.1.tar.bz2 cd ffmpeg-4.0.1 set -x # some verbosity ./configure # use defaults ###################################################### # this fails for 2.14rc5 while succeeds for 2.13.03. # ###################################################### nasm -f elf64 -DPIC -g -F dwarf -I./ -I.// -Ilibavcodec/x86/ \ -Pconfig.asm -MD libavcodec/x86/h264_deblock.d \ -o libavcodec/x86/h264_deblock.o libavcodec/x86/h264_deblock.asm # see which nasm is in use nasm --version ---->8---- Apologies if this report is inappropriate ciao gabriele |
From: Cyrill G. <gor...@gm...> - 2018-06-15 06:42:23
|
On Thu, Jun 14, 2018 at 05:25:16PM -0700, H. Peter Anvin wrote: > Hi, > > I have just pushed out NASM 2.14rc3. I discovered that the subsection > support that I had originally implemented it broke a bunch of other > things. After messing around with it for a while, I came up with a far > better implementation, which should also provide significant performance > improvements for the MachO backend when there are a lot of sections. Great! Thanks, Peter! > I have released this as NASM 2.14rc3. Any and all help testing would be > appreciated. > > I have branched off nasm-2.14.xx as a new release branch; this is now > officially release track and should not have any further development > changes. |
From: anonymous c. <nas...@us...> - 2018-06-04 15:43:48
|
While looking into implementing the <=> operator [1] [2], I ended up re-visiting the long-standing operator precedence differences between NASM and C. In particular, NASM lumps relational and equality operators while C keeps them separate [3], and NASM implements bitwise AND/ OR/XOR above relational and equality operators while C handles them below those [4]. These differences go back all the way to NASM 0.96, when eval.c was separated from parser.c, and the bitwise AND/OR/XOR were actually introduced. For [3] I have been using a NASM patch for many years -- it splits relational and equality operators by default (a la C) but provides a command line option for lumping them back together (for the sake of NASM compatibility). For [4] I did not end up with a NASM patch (to move bitwise AND/ OR/XOR below relational and equality, a la C) -- my decision back then was driven by [5]. Alright, enough history -- back to <=> i.e. the issue at hand. :) For C the <=> operator's precedence seems to be heading toward below bitwise shifts but above relational. Which is where NASM is currently having bitwise AND/OR/XOR. Which in turn does require a decision on whether <=> should go above or below bitwise AND/ OR/XOR for NASM. And while the precedence of bitwise AND/OR/XOR in NASM could be changed (to match the one in C), doing so without an option for reverting to traditional NASM behavior (similar to what I did for the splitting/lumping of relational and equality) seems risky. With such an option, the precedence question -- of <=> versus bitwise AND/ OR/XOR -- remains. Given where C seems to be heading, placing <=> *above* bitwise AND/OR/XOR striks me as the right choice. It not only follows C's precedence (pun intended :), but it also allows for NASM's bitwise AND/OR/XOR to be moved in the future (to match C). Comments? [1] https://en.wikipedia.org/wiki/Three-way_comparison [2] http://open-std.org/JTC1/SC22/WG21/docs/papers/2017/p0515r0.pdf [3] https://sourceforge.net/p/nasm/bugs/103/ [4] https://sourceforge.net/p/nasm/bugs/107/ [5] http://www.lysator.liu.se/c/dmr-on-or.html |