Currently the `mvm` scripts within Linux build directories are failing to properly invoke `checkSCCSversion` because their those directories are nested three levels deep rather than two (as in other platforms).
To fix, update all `mvm` scripts within three-level nested linux build directories to invoke
`../../../scripts/checkSCCSversion`
rather than
`../../scripts/checkSCCSversion`
I believe this can be accomplished by executing the following one-liner from the repo root:
```
for f in $(find . -name mvm -exec grep -q checkSCCS {} \; -print | awk -F/ 'NF == 5 { print $0 }') ; do printf "g/checkSCCSversion/s/\.\.\//&\.\.\//\nw\nq" | ed ${f} ; done
```
--
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/issues/405
`FileStream stdout closed` returns `true` in a currently Squeak trunk image. The reason for this is that the `primitiveFileSize` fails. To be fair, it makes sense as `stdout` does not really have a size. Nonetheless, it does not make sense that Squeak thinks `stdout` is closed, especially when it really isn't. On SqueakJS, for example, the primitive returns `0` which lets `FileStream stdout closed` return `false`.
I'm not sure where to fix this, probably in the `FilePlugin` code of VMMaker? Could someone please take a look? Thanks!
See also: http://forum.world.st/FileStream-stdout-closed-td5105395.html
--
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/issues/430
#### Steps to reproduce:
```bash
cd build.macos64x64/squeak.cog.spur
make debug
```
#### Errors
```
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:109:12: error: attributes may not be specified on a category
@interface NSArray<ObjectType> (NSArrayDiffing)
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:196:12: error: attributes may not be specified on a category
@interface NSMutableArray<ObjectType> (NSMutableArrayDiffing)
^
In file included from <built-in>:1:
In file included from ./../../platforms/iOS/vm/SqueakPureObjc_Prefix.pch:12:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:48:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueCoding.h:8:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedSet.h:112:12: error: attributes may not be specified on a category
@interface NSOrderedSet<ObjectType> (NSOrderedSetDiffing)
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedSet.h:187:12: error: attributes may not be specified on a category
@interface NSMutableOrderedSet<ObjectType> (NSMutableOrderedSetDiffing)
```
--
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/issues/470
I downloaded squeak 5.3 image fresh from the site (32-bit) and tried to run it in this vm on a Rpi Zero W. Crash.dmp outputs```
Segmentation fault Mon Apr 20 21:39:41 2020
/home/pi/squeak/lib/squeak/5.0-202003021730/squeak
Squeak VM version: 5.0-202003021730 Tue Mar 3 09:42:45 UTC 2020 gcc 4.9.2 [Production Spur VM]
Built from: CoInterpreter VMMaker.oscog-nice.2712 uuid: da64ef0b-fb0a-4770-ac16-f9b448234615 Mar 3 2020
With: StackToRegisterMappingCogit VMMaker.oscog-eem.2719 uuid: e40f3e94-3a54-411b-9613-5d19114ea131 Mar 3 2020
Revision: VM: 202003021730 https://github.com/OpenSmalltalk/opensmalltalk-vm.git
Date: Mon Mar 2 18:30:55 2020 CommitHash: 6a0bc96
Plugins: 202003021730 https://github.com/OpenSmalltalk/opensmalltalk-vm.git
Build host: Linux travis-job-97835d24-79f4-41d1-b7e9-c81bd8bf7149 4.4.0-104-generic #127~14.04.1-Ubuntu SMP Mon Dec 11 12:44:15 UTC 2017 armv7l GNU/Linux
plugin path: ./../lib/squeak/5.0-202003021730 [default: /home/pi/squeak/lib/squeak/5.0-202003021730/]
C stack backtrace & registers:
r0 0x021b79d8 r1 0x00000002 r2 0x01000d34 r3 0x00000000
r4 0x00216288 r5 0x00000000 r6 0xbeec682c r7 0x0379170b
r8 0x001e7414 r9 0x0021e268 r10 0x00000000 fp 0xbeec489c
ip 0x00224250 sp 0xbeec4810 lr 0x000748b4 pc 0x0007055c
*[0x0]
/lib/arm-linux-gnueabihf/libc.so.6(vsprintf+0x80)[0xb6cee228]
Smalltalk stack dump:
0xbeec6860 I SmalltalkImage>setGCParameters 0x233a9d0: a(n) SmalltalkImage
0xbeec6888 I SmalltalkImage>snapshot:andQuit:withExitCode:embedded: 0x233a9d0: a(n) SmalltalkImage
0x47d16d0 s SmalltalkImage>snapshot:andQuit:embedded:
0x47d26f8 s SmalltalkImage>snapshot:andQuit:
0x47d27b8 s [] in ReleaseBuilder class>saveAndQuit
0x47d2890 s WorldState>runStepMethodsIn:
0x47d2920 s PasteUpMorph>runStepMethods
0x47d29f0 s WorldState>doOneCycleNowFor:
0x47d2a50 s WorldState>doOneCycleFor:
0x47d2ac0 s PasteUpMorph>doOneCycle
0x47d2b20 s [] in MorphicProject>spawnNewProcess
0x47d2b80 s [] in BlockClosure>newProcess
Most recent primitives
basicNew
size
at:
basicNew:
decompress:fromByteArray:at:
beCursorWithMask:
vmParameterAt:
fractionPart
truncated
stack page bytes 4096 available headroom 2788 minimum unused headroom 3740
(Segmentation fault)
Segmentation fault Mon Apr 20 21:41:26 2020
/home/pi/squeak/lib/squeak/5.0-202003021730/squeak
Squeak VM version: 5.0-202003021730 Tue Mar 3 09:42:45 UTC 2020 gcc 4.9.2 [Production Spur VM]
Built from: CoInterpreter VMMaker.oscog-nice.2712 uuid: da64ef0b-fb0a-4770-ac16-f9b448234615 Mar 3 2020
With: StackToRegisterMappingCogit VMMaker.oscog-eem.2719 uuid: e40f3e94-3a54-411b-9613-5d19114ea131 Mar 3 2020
Revision: VM: 202003021730 https://github.com/OpenSmalltalk/opensmalltalk-vm.git
Date: Mon Mar 2 18:30:55 2020 CommitHash: 6a0bc96
Plugins: 202003021730 https://github.com/OpenSmalltalk/opensmalltalk-vm.git
Build host: Linux travis-job-97835d24-79f4-41d1-b7e9-c81bd8bf7149 4.4.0-104-generic #127~14.04.1-Ubuntu SMP Mon Dec 11 12:44:15 UTC 2017 armv7l GNU/Linux
plugin path: ./../lib/squeak/5.0-202003021730 [default: /home/pi/squeak/lib/squeak/5.0-202003021730/]
C stack backtrace & registers:
r0 0x00000000 r1 0x00000dcd r2 0x00216288 r3 0x00b04c70
r4 0x00216288 r5 0x00000000 r6 0xbeaf382c r7 0x00224250
r8 0x001e7414 r9 0x00000000 r10 0x00216288 fp 0xbeaf189c
ip 0x00224250 sp 0xbeaf17e0 lr 0x0006ae84 pc 0x0004c4bc
*[0x0]
/lib/arm-linux-gnueabihf/libc.so.6(vsprintf+0x80)[0xb6c6e228]
Smalltalk stack dump:
0xbeaf3860 I SmalltalkImage>setGCParameters 0xe3a9d0: a(n) SmalltalkImage
0xbeaf3888 I SmalltalkImage>snapshot:andQuit:withExitCode:embedded: 0xe3a9d0: a(n) SmalltalkImage
0x32d16d0 s SmalltalkImage>snapshot:andQuit:embedded:
0x32d26f8 s SmalltalkImage>snapshot:andQuit:
0x32d27b8 s [] in ReleaseBuilder class>saveAndQuit
0x32d2890 s WorldState>runStepMethodsIn:
0x32d2920 s PasteUpMorph>runStepMethods
0x32d29f0 s WorldState>doOneCycleNowFor:
0x32d2a50 s WorldState>doOneCycleFor:
0x32d2ac0 s PasteUpMorph>doOneCycle
0x32d2b20 s [] in MorphicProject>spawnNewProcess
0x32d2b80 s [] in BlockClosure>newProcess
Most recent primitives
basicNew
size
at:
basicNew:
decompress:fromByteArray:at:
beCursorWithMask:
vmParameterAt:
fractionPart
truncated
stack page bytes 4096 available headroom 2788 minimum unused headroom 3740
(Segmentation fault)
```
--
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/issues/487
- We added customization for Pharo to allow a different menu to be used.
- We modified the default action of help menu to open an URL (only for Pharo)
- We added a Info.plist property with the string value of the URL (only for Pharo)
- And also the about dialog was not receiving the close event, we have fixed that. It was related with the filtering of events for SDL.
@demarey
You can view, comment on, or merge this pull request online at:
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/388
-- Commit Summary --
* Adding a custom Menu for Pharo VMs
* Adding a optional URL for the help, only fr Pharo
* Handling correctly the events of the about window
* Making the about window property as weak.
-- File Changes --
M build.macos32x86/common/Makefile.app (8)
M build.macos32x86/pharo.cog.spur.lowcode/Makefile (3)
M build.macos32x86/pharo.cog.spur.minheadless/Makefile (2)
M build.macos32x86/pharo.cog.spur/Makefile (1)
M build.macos32x86/pharo.cog.spur/plugins.ext (2)
M build.macos32x86/pharo.cog.v3/Makefile (2)
M build.macos32x86/pharo.sista.spur/Makefile (2)
M build.macos32x86/pharo.stack.spur.lowcode/Makefile (2)
M build.macos32x86/pharo.stack.spur/Makefile (2)
M build.macos64x64/common/Makefile.app (8)
M build.macos64x64/pharo.cog.spur.lowcode/Makefile (1)
M build.macos64x64/pharo.cog.spur/Makefile (1)
M build.macos64x64/pharo.sista.spur/Makefile (1)
M build.macos64x64/pharo.stack.spur.lowcode/Makefile (1)
M build.macos64x64/pharo.stack.spur/Makefile (1)
A platforms/iOS/vm/English.lproj/Pharo-MainMenu-opengl.xib (1261)
A platforms/iOS/vm/English.lproj/Pharo-MainMenu.xib (1261)
M platforms/iOS/vm/OSX/Pharo-Info.plist (2)
M platforms/iOS/vm/OSX/SqueakOSXApplication.m (30)
M platforms/iOS/vm/OSX/sqSqueakOSXApplication+events.m (16)
M platforms/iOS/vm/OSX/sqSqueakOSXApplication.h (5)
M platforms/iOS/vm/OSX/sqSqueakOSXApplication.m (1)
-- Patch Links --
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/388.patchhttps://github.com/OpenSmalltalk/opensmalltalk-vm/pull/388.diff
--
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/pull/388
Ronie submitted a pull request that fixes the build with cygwin for win32 ( https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/311 ) and I'm curious if any of my changes here are still applicable. @ronsaldo could you comment on these...
You can view, comment on, or merge this pull request online at:
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/312
-- Commit Summary --
* Fix function call declarations and return types (x64-msvc2017)
* Fix unresolved external symbol 'alloca' (x64-msvc2017)
* Workaround _controlfp() does not support _MCW_PC or _MCW_IC on x64. Expert review required.
* Add architecture define _M_IX86 to ABI (x86-msvc2017)
* Workaround hang allocating initial memory (x64-msvc2017). Expert review required.
* Better 32bit CMakeLists.txt for SqueakFFIPrims (x86-msvc2017)
-- File Changes --
M CMakeLists.txt (43)
M platforms/Cross/plugins/IA32ABI/ia32abicc.c (2)
M platforms/Cross/plugins/IA32ABI/x64win64abicc.c (3)
M platforms/Cross/plugins/IA32ABI/xabicc.c (2)
M platforms/minheadless/common/sqMain.c (1)
M platforms/minheadless/windows/sqPlatformSpecific-Win32.c (9)
M platforms/minheadless/windows/sqPlatformSpecific-Win32.h (2)
M platforms/minheadless/windows/sqWin32Main.c (1)
M platforms/minheadless/windows/sqWin32SpurAlloc.c (9)
-- Patch Links --
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/312.patchhttps://github.com/OpenSmalltalk/opensmalltalk-vm/pull/312.diff
--
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/pull/312
I'm trying to build the squeak.cog.spur vm on FreeBSD 12.1
Steps I took so far:
- build.linux64x64
- squeak.cog.spur
- adding to mvm
```
case $(uname -s) in
OpenBSD)
CFLAGS="$CFLAGS -I/usr/local/include"
LIBS="$LIBS -lexecinfo"
LDFLAGS="$LDFLAGS -L/usr/local/lib"
;;
FreeBSD)
CFLAGS="$CFLAGS -I/usr/local/include"
LIBS="$LIBS -lexecinfo -liconv"
LDFLAGS="$LDFLAGS -L/usr/local/lib"
;;
esac
```
to fix linking issue with libiconv
- changed vm-sound-ALSA/sqUnixSoundALSA.c
`static char devname[MAX_NAME_LEN]`
to
`static char a_devname[MAX_NAME_LEN]`
and changed all occurences of devname to a_devname to fix a name resoltuion issue with /usr/include/stdlib
Now I'm stuck with plugins/SqueakSSL/sqUnixOpenSSL.inc line 75
```
/oscog/platforms/unix/plugins/SqueakSSL/sqUnixOpenSSL.inc:75:18: error: variable has incomplete type 'struct in6_addr'
struct in6_addr addr = { 0 }; // placeholder, longest of in_addr and in6_addr
```
Compiler is clang 8.
Can you give me a hint how to move on?
--
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/issues/483
I have built and tested aarch64 builds on
Raspbery Pi 3B / Arch Linux / MUSL+Busybox
Chromebook Two / Linux / libc
The mvm "-O1" seems to work in both cases -- no need to go to "-O0"
Please ignore the spurious sqSCCSVersion.h -- I don't know how to elide this.
The getwd() -> getcwd() in sqUnixSecurityPlugin.c should likewise be harmless [no getwd() in MUSL]
Not a time concern. I don't know of anyone asking for this.
You can view, comment on, or merge this pull request online at:
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/450
-- Commit Summary --
* MUSL for AlpineLinux
* MUSL for AlpineLinux
-- File Changes --
M build.linux64ARMv8/squeak.stack.spur/build.debug/mvm (7)
M build.linux64ARMv8/squeak.stack.spur/build/mvm (10)
M platforms/Cross/plugins/sqPluginsSCCSVersion.h (8)
M platforms/Cross/vm/sqSCCSVersion.h (14)
M platforms/Cross/vm/sqVirtualMachine.c (5)
M platforms/unix/plugins/SecurityPlugin/sqUnixSecurity.c (3)
M platforms/unix/vm/sqUnixMain.c (5)
-- Patch Links --
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/450.patchhttps://github.com/OpenSmalltalk/opensmalltalk-vm/pull/450.diff
--
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/pull/450