> On Sep 28, 2021, at 11:59 PM, Marcel Taeumel ***(a)***.***> wrote:
>
>
> Needs more work. :-) Let's see whether I can identify the issues. Here is a quick overview of the current errors per platform (from the CI):
>
Thanks Marcel, this is exactly the digest I needed! I shall fix these within a few hours.
_,,,^..^,,,_ (phone)
> macOS
>
> ../../../platforms/iOS/vm/Common/Classes/sqSqueakMainApp.m:190:2: error: implicit declaration of function 'dumpPrimTraceLogOn' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
> Windows
>
> ../../../platforms/win32/vm/sqWin32Main.c:281:7: error: 'debugBreakOnException' undeclared (first use in this function)
> Linux (x86/ARM)
>
> /usr/bin/ld: vm/vm.a(sqUnixMain.o): in function `reportStackState':
> /home/runner/work/opensmalltalk-vm/opensmalltalk-vm/platforms/unix/vm/sqUnixMain.c:951: undefined reference to `dumpPrimTraceLogOn'
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub, or unsubscribe.
> Triage notifications on the go with GitHub Mobile for iOS or Android.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/c6b70458764ba471a1…
Branch: refs/heads/Cog
Home: https://github.com/OpenSmalltalk/opensmalltalk-vm
Commit: 783c850d27680f23220d3acac430aa08afad1c3e
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/783c850d27680f2322…
Author: David T. Lewis <lewis(a)mail.msen.com>
Date: 2021-09-25 (Sat, 25 Sep 2021)
Changed paths:
M .github/workflows/linux.yml
Log Message:
-----------
Do not use linux-latest runner, use an older stable version.
A VM compiled on ubuntu-20.04 (aka latest) will not run on
ubuntu-16.04 due to runtime library link issues. Therefore
select ubuntu-18.04 as a build runner that is likely to support
a wider range of existing Linux systems. Addresses this problem:
/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found
Commit: 528ce2787b80d50ef1dbe480bd8867e92981d085
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/528ce2787b80d50ef1…
Author: Marcel Taeumel <marcel.taeumel(a)hpi.de>
Date: 2021-09-25 (Sat, 25 Sep 2021)
Changed paths:
M scripts/ci/actions_prepare_linux_x86.sh
Log Message:
-----------
Do not try to load libllvm12:i386 on ubuntu-18.04
Commit: a9619d83c9adb69f32f53caca14b9c92033b3528
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/a9619d83c9adb69f32…
Author: Marcel Taeumel <marcel.taeumel(a)hpi.de>
Date: 2021-09-28 (Tue, 28 Sep 2021)
Changed paths:
M platforms/unix/config/make.cfg.in
R platforms/unix/plugins/FT2Plugin/Makefile.in
A platforms/unix/plugins/FT2Plugin/Makefile.inc
A platforms/unix/plugins/FT2Plugin/acinclude.m4
M platforms/unix/plugins/UnicodePlugin/Makefile.inc
R platforms/unix/plugins/UnicodePlugin/README.UnicodePlugin
M platforms/unix/plugins/UnicodePlugin/acinclude.m4
Log Message:
-----------
Merge remote-tracking branch 'upstream/Cog' into dtl/linux-runs-on-setting
Commit: e0e2198baa9380c7fb5d394a132860c6605c33a2
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/e0e2198baa9380c7fb…
Author: Marcel Taeumel <marcel.taeumel(a)hpi.de>
Date: 2021-09-28 (Tue, 28 Sep 2021)
Changed paths:
M platforms/unix/config/aclocal.m4
M platforms/unix/config/configure
M platforms/unix/config/ltmain.sh
Log Message:
-----------
Merge remote-tracking branch 'upstream/Cog' into dtl/linux-runs-on-setting
Commit: 0cce8a8a06d1128d24dcbce27a8a1015b7ab4ec4
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/0cce8a8a06d1128d24…
Author: Marcel Taeumel <marcel.taeumel(a)hpi.de>
Date: 2021-09-28 (Tue, 28 Sep 2021)
Changed paths:
M platforms/unix/config/aclocal.m4
M platforms/unix/config/configure
M platforms/unix/config/configure.ac
M platforms/unix/config/ltmain.sh
Log Message:
-----------
Use architecture-specific pkg-config to also find the right include paths for 32-bit libraries.
Commit: fae103c23be02ffe63dc565501c1e6d2e66e531b
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/fae103c23be02ffe63…
Author: Marcel Taeumel <marcel.taeumel(a)hpi.de>
Date: 2021-09-28 (Tue, 28 Sep 2021)
Changed paths:
M scripts/ci/actions_prepare_linux_x86.sh
Log Message:
-----------
Unload pre-loaded libfreetype6-dev (64-bit) (such as on Ubuntu 18.04) to avoid linking errors on 32-bit builds.
Commit: 8b2c633483ba209ec6c1cc93e112242bc982121d
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/8b2c633483ba209ec6…
Author: Marcel Taeumel <marcel.taeumel(a)hpi.de>
Date: 2021-09-28 (Tue, 28 Sep 2021)
Changed paths:
M scripts/ci/actions_prepare_linux_x86.sh
Log Message:
-----------
Fix syntax error. Sorry for the noise.
Commit: bac32e38fde7df13992034670777235ac1ad2721
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/bac32e38fde7df1399…
Author: Marcel Taeumel <marcel.taeumel(a)hpi.de>
Date: 2021-09-28 (Tue, 28 Sep 2021)
Changed paths:
M platforms/unix/config/configure
M platforms/unix/config/configure.ac
Log Message:
-----------
Set PKG_CONFIG with a full /usr/bin/ path to not be overwritten again.
Commit: 2c67883bcba54442c3b4ccd49644df875532ccb1
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/2c67883bcba54442c3…
Author: Marcel Taeumel <marcel.taeumel(a)hpi.de>
Date: 2021-09-28 (Tue, 28 Sep 2021)
Changed paths:
M platforms/unix/config/configure
M platforms/unix/config/configure.ac
Log Message:
-----------
Always use generic "pkg-config" except for 32-bit x86 builds. Note that also our ARMv6 and ARMv8 setup works with "pkg-config". Just linux32x86 builds need "i686-linux-gnu-pkg-config" to find the right paths.
Commit: ae7578c4c40711fb1b5d7368106b23a3f6c645ec
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/ae7578c4c40711fb1b…
Author: Marcel Taeumel <marcel.taeumel(a)hpi.de>
Date: 2021-09-29 (Wed, 29 Sep 2021)
Changed paths:
M .github/workflows/linux.yml
M platforms/unix/config/aclocal.m4
M platforms/unix/config/configure
M platforms/unix/config/configure.ac
M platforms/unix/config/ltmain.sh
M scripts/ci/actions_prepare_linux_x86.sh
Log Message:
-----------
Merge pull request #598 from OpenSmalltalk/dtl/linux-runs-on-setting
Do not use linux-latest runner, use an older stable version.
Compare: https://github.com/OpenSmalltalk/opensmalltalk-vm/compare/89619fa8899e...ae…
Branch: refs/heads/Cog
Home: https://github.com/OpenSmalltalk/opensmalltalk-vm
Commit: 44421db6d70776a23174c5c4a583650defb3e863
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/44421db6d70776a231…
Author: Marcel Taeumel <marcel.taeumel(a)hpi.de>
Date: 2021-09-29 (Wed, 29 Sep 2021)
Changed paths:
M src/spur32.stack.lowcode/gcc3x-interp.c
M src/spur32.stack.lowcode/interp.c
M src/spur32.stack/gcc3x-interp.c
M src/spur32.stack/interp.c
M src/spur64.stack.lowcode/gcc3x-interp.c
M src/spur64.stack.lowcode/interp.c
M src/spur64.stack/gcc3x-interp.c
M src/spur64.stack/interp.c
M src/v3.stack/gcc3x-interp.c
M src/v3.stack/interp.c
Log Message:
-----------
StackVM source as per VMMaker.oscog-eem.3078
Marcel Taeumel uploaded a new version of VMMaker to project VM Maker:
http://source.squeak.org/VMMaker/VMMaker.oscog-mt.3078.mcz
==================== Summary ====================
Name: VMMaker.oscog-mt.3078
Author: mt
Time: 29 September 2021, 10:37:21.026044 am
UUID: a1b7ca1a-b3ca-e14d-bfed-50c696d47afa
Ancestors: VMMaker.oscog-eem.3077
Fixes building of *.stack* VMs. Adds missing #dumpPrimTraceLogOn: dummy in StackInterpreter, just like the existing #dumpPrintTraceLog.
=============== Diff against VMMaker.oscog-eem.3077 ===============
Item was added:
+ ----- Method: StackInterpreter>>dumpPrimTraceLogOn: (in category 'debug printing redirected') -----
+ dumpPrimTraceLogOn: aStdioStream
+ "Dummy definition to allow the StackInterpreter to link against the Cog run-time."
+
+ <export: true>
+ <var: 'aStdioStream' type: #'FILE *'>!
Needs more work. :-) Let's see whether I can identify the issues. Here is a quick overview of the current errors per platform (from the CI):
macOS
```
../../../platforms/iOS/vm/Common/Classes/sqSqueakMainApp.m:190:2: error: implicit declaration of function 'dumpPrimTraceLogOn' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
```
Windows
```
../../../platforms/win32/vm/sqWin32Main.c:281:7: error: 'debugBreakOnException' undeclared (first use in this function)
```
Linux (x86/ARM)
```
/usr/bin/ld: vm/vm.a(sqUnixMain.o): in function `reportStackState':
/home/runner/work/opensmalltalk-vm/opensmalltalk-vm/platforms/unix/vm/sqUnixMain.c:951: undefined reference to `dumpPrimTraceLogOn'
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/c6b70458764ba471a1…
Branch: refs/heads/Cog
Home: https://github.com/OpenSmalltalk/opensmalltalk-vm
Commit: c6b70458764ba471a1602b2f5b43357387375504
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/c6b70458764ba471a1…
Author: Eliot Miranda <eliot.miranda(a)gmail.com>
Date: 2021-09-28 (Tue, 28 Sep 2021)
Changed paths:
M platforms/Cross/vm/sq.h
M platforms/Cross/vm/sqVirtualMachine.c
M platforms/Cross/vm/sqVirtualMachine.h
M platforms/Mac OS/vm/sqMacMain.c
M platforms/iOS/vm/Common/Classes/sqSqueakMainApp.m
M platforms/minheadless/unix/sqPlatformSpecific-Unix.c
M platforms/minheadless/windows/sqPlatformSpecific-Win32.c
M platforms/unix/vm/sqUnixMain.c
M platforms/win32/vm/sqWin32Main.c
M src/plugins/BochsIA32Plugin/BochsIA32Plugin.c
M src/plugins/BochsX64Plugin/BochsX64Plugin.c
M src/plugins/FileAttributesPlugin/FileAttributesPlugin.c
M src/plugins/FilePlugin/FilePlugin.c
M src/plugins/GdbARMPlugin/GdbARMPlugin.c
M src/plugins/GdbARMv8Plugin/GdbARMv8Plugin.c
M src/plugins/SqueakFFIPrims/ARM32FFIPlugin.c
M src/plugins/SqueakFFIPrims/ARM64FFIPlugin.c
M src/plugins/SqueakFFIPrims/IA32FFIPlugin.c
M src/plugins/SqueakFFIPrims/X64SysVFFIPlugin.c
M src/plugins/SqueakFFIPrims/X64Win64FFIPlugin.c
M src/spur32.cog.lowcode/cogit.h
M src/spur32.cog.lowcode/cogitARMv5.c
M src/spur32.cog.lowcode/cogitIA32.c
M src/spur32.cog.lowcode/cointerp.c
M src/spur32.cog.lowcode/cointerp.h
M src/spur32.cog.lowcode/gcc3x-cointerp.c
M src/spur32.cog.lowcode/interp.h
M src/spur32.cog/cogit.h
M src/spur32.cog/cogitARMv5.c
M src/spur32.cog/cogitIA32.c
M src/spur32.cog/cointerp.c
M src/spur32.cog/cointerp.h
M src/spur32.cog/cointerpmt.c
M src/spur32.cog/cointerpmt.h
M src/spur32.cog/gcc3x-cointerp.c
M src/spur32.cog/gcc3x-cointerpmt.c
M src/spur32.cog/interp.h
M src/spur32.sista/cogit.h
M src/spur32.sista/cogitARMv5.c
M src/spur32.sista/cogitIA32.c
M src/spur32.sista/cointerp.c
M src/spur32.sista/cointerp.h
M src/spur32.sista/gcc3x-cointerp.c
M src/spur32.sista/interp.h
M src/spur32.stack.lowcode/gcc3x-interp.c
M src/spur32.stack.lowcode/interp.c
M src/spur32.stack.lowcode/interp.h
M src/spur32.stack/gcc3x-interp.c
M src/spur32.stack/interp.c
M src/spur32.stack/interp.h
M src/spur32.stack/validImage.c
M src/spur64.cog.lowcode/cogit.h
M src/spur64.cog.lowcode/cogitARMv8.c
M src/spur64.cog.lowcode/cogitX64SysV.c
M src/spur64.cog.lowcode/cogitX64WIN64.c
M src/spur64.cog.lowcode/cointerp.c
M src/spur64.cog.lowcode/cointerp.h
M src/spur64.cog.lowcode/gcc3x-cointerp.c
M src/spur64.cog.lowcode/interp.h
M src/spur64.cog/cogit.h
M src/spur64.cog/cogitARMv8.c
M src/spur64.cog/cogitX64SysV.c
M src/spur64.cog/cogitX64WIN64.c
M src/spur64.cog/cointerp.c
M src/spur64.cog/cointerp.h
M src/spur64.cog/cointerpmt.c
M src/spur64.cog/cointerpmt.h
M src/spur64.cog/gcc3x-cointerp.c
M src/spur64.cog/gcc3x-cointerpmt.c
M src/spur64.cog/interp.h
M src/spur64.sista/cogit.h
M src/spur64.sista/cogitARMv8.c
M src/spur64.sista/cogitX64SysV.c
M src/spur64.sista/cogitX64WIN64.c
M src/spur64.sista/cointerp.c
M src/spur64.sista/cointerp.h
M src/spur64.sista/gcc3x-cointerp.c
M src/spur64.sista/interp.h
M src/spur64.stack.lowcode/gcc3x-interp.c
M src/spur64.stack.lowcode/interp.c
M src/spur64.stack.lowcode/interp.h
M src/spur64.stack/gcc3x-interp.c
M src/spur64.stack/interp.c
M src/spur64.stack/interp.h
M src/spur64.stack/validImage.c
M src/v3.cog/cogit.h
M src/v3.cog/cogitARMv5.c
M src/v3.cog/cogitIA32.c
M src/v3.cog/cointerp.c
M src/v3.cog/cointerp.h
M src/v3.cog/gcc3x-cointerp.c
M src/v3.cog/interp.h
M src/v3.stack/gcc3x-interp.c
M src/v3.stack/interp.c
M src/v3.stack/interp.h
Log Message:
-----------
CogVM source as per VMMaker.oscog-eem.3076
StackInterpreter
Add primitiveFailFor:withSecondary: to allow the ThreadedFFIPlugin to
fail with the new PrimErrFFIMarshallingError and its own specific
marshalling error code as a parameter.
Make sure primitiveCallout is loaded only once from SqueakFFIPrims.
C initializer semantics may have meant it was being reloaded every time.
Major change to debug printing so that the platform error handlers can
print the call stack to a specific FILE * stream, not simply hack stdout
via pushOutputFile.
Linux, Mac & Windows now all produce crash.dmp containing C and Smalltalk
backtraces on fatal exception in 32 & 64 bits.