Replies: 8 comments 3 replies
-
Thank You! I going to create release based on "zcxh" branch |
Beta Was this translation helpful? Give feedback.
-
Technician: Can You merge "master" branch into "zcxh" branch? ( as next / ( current + one) step) |
Beta Was this translation helpful? Give feedback.
-
P.S. ( And please see |
Beta Was this translation helpful? Give feedback.
-
( What is "M3CG version stamp" ? https://github.com/VictorMiasnikov/cm3/actions/runs/3190634848/jobs/5206004669
|
Beta Was this translation helpful? Give feedback.
-
Please, see some "1/2 binary" in P.S. 2022-10-07: |
Beta Was this translation helpful? Give feedback.
-
That is a strange error. It's hard to see it being related to
exception handling changes.
…On Tue, 11 Oct 2022 at 01:41, VictorMiasnikov ***@***.***> wrote:
Please, see some "1/2 binary" in
https://github.com/VictorMiasnikov/cm3/releases/tag/d5.11.9-ZZYYXX-20220907_04-27_Tag
P.S.
2022-10-07: It has been tested on AMD64_NT. There is "all good". ( Of
course, it is only "regression test" )
Sorry: may be, I see regression:
https://github.com/VictorMiasnikov/cm3/actions/runs/3190726991/jobs/5206462414
AMD64_NT / build
failed 5 days ago in 12m 45s
cd D:\a\cm3\cm3\m3-ui\ui
D:\a\cm3\install\cm3\bin\cm3.exe -build -DBUILD_DIR=AMD64_NT -DROOT=D:\a\cm3\cm3 -DTARGET=AMD64_NT -DM3_BACKEND_MODE=C
--- building in AMD64_NT ---
ignoring ../src\m3overrides
new source -> compiling Pixmap.i3
new source -> compiling TrestleComm.i3
( . . .)
new source -> compiling TextVBT.m3
***
*** runtime error:
*** <*ASSERT*> failed: NOT is_const
*** file "../src/values/Module.m3", line 1045
***
—
Reply to this email directly, view it on GitHub
<#1095 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABALZX6WZFBVF3TAFKYEKN3WCQTKTANCNFSM6AAAAAAQ4EEQF4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
The next step is....
I have merged zcxh into master and will push that tomorrow or next day. I
think
any further testing should be based on that. The trouble is the
difficulty in diagnosing problems
based on the set of variations. The emails I get don't specify the branch
being built, the backend being
used, the backend being targeted or the quake defs defined. We need a more
systematic method of
problem reporting.
There was a mention of libunwind on windows in reference to zcxh. That may
be so and having
libunwind is necessary but not sufficient. I have added 5 new instructions
to the M3 IR.
start_try
end_try
invoke_direct
invoke_indirect
landing_pad
only the GCC and llvm backend implement these instructions.
Both these backend have mechanisms to inject the gcc_except_table tables
into the code
streams. It is hard to see how the c backend could accomplish this without
calling c++.
And it is even harder to imagine the integrated windows backend doing the
same without
a lot of work.
The new zcxh implements the Itaniam abi as implemented by the C++ runtime
with a couple
of changes. We define a personality function but don't do anything with it
since raise does all the
work. Also we don't handle cleanups or certain other exception types which
only apply to say C++.
A major imperative was to ensure the current sjlj exception mechanism
worked as a default. That
said, the new exception mechanism should be mostly portable across most
unixes. If it works with
GCC then it should work with m3.
Regards Peter
On Tue, 11 Oct 2022 at 19:43, VictorMiasnikov ***@***.***>
wrote:
… That is a strange error. It's hard to see it being related to exception
handling changes.
… <#m_8332834844049596473_>
On Tue, 11 Oct 2022 at 01:41, VictorMiasnikov *@*.*> wrote: Please, see
some "1/2 binary" in
https://github.com/VictorMiasnikov/cm3/releases/tag/d5.11.9-ZZYYXX-20220907_04-27_Tag
<https://github.com/VictorMiasnikov/cm3/releases/tag/d5.11.9-ZZYYXX-20220907_04-27_Tag>
P.S. 2022-10-07: It has been tested on AMD64_NT. There is "all good". ( Of
course, it is only "regression test" ) Sorry: may be, I see regression:
https://github.com/VictorMiasnikov/cm3/actions/runs/3190726991/jobs/5206462414
<https://github.com/VictorMiasnikov/cm3/actions/runs/3190726991/jobs/5206462414>
AMD64_NT / build failed 5 days ago in 12m 45s cd D:\a\cm3\cm3\m3-ui\ui
D:\a\cm3\install\cm3\bin\cm3.exe -build -DBUILD_DIR=AMD64_NT
-DROOT=D:\a\cm3\cm3 -DTARGET=AMD64_NT -DM3_BACKEND_MODE=C --- building in
AMD64_NT --- ignoring ../src\m3overrides new source -> compiling Pixmap.i3
new source -> compiling TrestleComm.i3 ( . . .) new source -> compiling
TextVBT.m3 *** *** runtime error: *** <ASSERT> failed: NOT is_const ***
file "../src/values/Module.m3", line 1045 *** — Reply to this email
directly, view it on GitHub <#1095 (reply in thread)
<#1095 (reply in thread)>>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABALZX6WZFBVF3TAFKYEKN3WCQTKTANCNFSM6AAAAAAQ4EEQF4
<https://github.com/notifications/unsubscribe-auth/ABALZX6WZFBVF3TAFKYEKN3WCQTKTANCNFSM6AAAAAAQ4EEQF4>
. You are receiving this because you authored the thread.Message ID: @.*>
Now I think: "What is next step"?
—
Reply to this email directly, view it on GitHub
<#1095 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABALZXY2FESYRJG74KRUQZ3WCUSCNANCNFSM6AAAAAAQ4EEQF4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I just pushed a branch, zcxh, zero cost exception handling for the
target amd64_linux based on libunwind. Feel free to comment,
try out or find bugs. I'll merge it into master in a couple of weeks
if no showstoppers. To be clear, current sjlj exception handling
is unaffected on all targets. You have to define M3_USE_STACK_WALKER
in AMD64_LINUX config and recompile the runtime to see any effect.
Only the GCC and llvm backends are supported. Oh, and you may have
to install the libunwind libraries.
Beta Was this translation helpful? Give feedback.
All reactions