[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] pkl: Get rid of string literals as exception names
From: |
Luca Saiu |
Subject: |
Re: [PATCH] pkl: Get rid of string literals as exception names |
Date: |
Sun, 30 Jan 2022 22:07:16 +0100 |
User-agent: |
Gnus (Gnus v5.13), GNU Emacs 28.0.50, x86_64-pc-linux-gnu |
On 2022-01-30 at 15:55 +0330, Mohammad-Reza Nabipoor wrote:
> This problem expresses itself as a linker error on a x86_64 Ubuntu 16.04
> container.
> Linker complained about `strcpy`; which I reported on IRC (I know it's a not
> good platform for reporting bugs :D). But I wasn't sure what's the root of
> problem. And after fixing ARMv7, that linker error went away.
I see.
Maybe strcpy should be automatically wrapped. I wonder whether it is
used behind the scenes for cloning large structs when passed by
arguments, for example. I guess we will get experience with these
things when people actually use the system.
>
> Yet another reason for not spoting this problem until recently, is my
> workflow;
> in which I only use switch-dispatching. Because it's very
> debug/debugger-friendly.
> (I'm not sure about Jose).
You are right about this, and I will document this as a suggestion for
development. Direct-threading should be just as friendly, even if it
depends on GNU C -- minimal-threading and no-threading are definitely
not friendly to gdb.
Thanks,
--
Luca Saiu
* My personal web site: http://ageinghacker.net
* GNU Jitter: https://www.gnu.org/software/jitter
* GNU epsilon: https://www.gnu.org/software/epsilon
I support everyone's freedom of mocking any opinion or belief, no
matter how deeply held, with open disrespect and the same unrelented
enthusiasm of a toddler who has just learned the word "poo".
signature.asc
Description: PGP signature
- Re: [PATCH] pkl: Get rid of string literals as exception names,
Luca Saiu <=