-
Notifications
You must be signed in to change notification settings - Fork 114
Repair linux64x64 compilation #688
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: Cog
Are you sure you want to change the base?
Conversation
…p.c on Linux x86_64
I wonder in the first place what the code cleanup was/or is in OpenSmalltalk that has happened over the last few weeks. Also see the report in #685 . |
Hi Tony,
apologies for not having attended to these sooner. I'll try and get to
them this week. I'm hopefully nearing the end of a Slang transpiler
rewrite that is consuming all my cycles and head space ATM.
Cheers.
…On Mon, Jul 8, 2024 at 1:12 AM Tony Garnock-Jones ***@***.***> wrote:
Hello Eliot et al.,
I produced these commits to get Cog building on Debian sid/trixie from
current git Cog branch. The number of faults suggested to me that I was
holding it wrong but I couldn't figure out what specifically I was doing;
if I have been an idiot, and these commits are unnecessary, please let me
know because I'll be happy not to have needed them :-)
The commits can be applied individually. I wrote them in a hurry;
hopefully they're reasonable?
There's one, de1cb25
<de1cb25>
(the "workaround" one) that should probably not be applied, but that I
include for completeness because otherwise I do not seem to be able to get
the build to go through.
Cheers,
Tony
------------------------------
You can view, comment on, or merge this pull request online at:
#688
Commit Summary
- f0d1f8e
<f0d1f8e>
Repair compilation of platforms/unix/plugins/DropPlugin/sqUnixDragDrop.c on
Linux x86_64
- 970d324
<970d324>
Repair compilation of platforms/unix/vm-display-X11/sqUnixX11.c on Linux
x86_64
- b32985e
<b32985e>
Repair compilation of vm-sound-* plugins on Linux x86_64
- de1cb25
<de1cb25>
Grody workaround for missing function prototypes on the slang side
- ebf8203
<ebf8203>
Repair (?) signal-handler function signatures on Linux x86_64
File Changes
(9 files
<https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/688/files>)
- *M* platforms/unix/plugins/DropPlugin/sqUnixDragDrop.c
<https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/688/files#diff-6897256c97145e1037506915ed980d7af1e015ee266c11429a2c04d4444dd7da>
(10)
- *M* platforms/unix/vm-display-X11/sqUnixX11.c
<https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/688/files#diff-bde6d852f3eaff3d4caa065c6bae7b9c2258516f4fb122756b60e9ac1a96f521>
(1)
- *M* platforms/unix/vm-sound-ALSA/sqUnixSoundALSA.c
<https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/688/files#diff-a7b1f58c2090bcab992fa2d9d2578eb04f8c298290913b9edd487fa172867f9a>
(27)
- *M* platforms/unix/vm-sound-OSS/sqUnixSoundOSS.c
<https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/688/files#diff-56df7284a9f0a8e873ee5e9454138fb000b58806c4f0398c538d3325b8e53792>
(25)
- *M* platforms/unix/vm-sound-null/sqUnixSoundNull.c
<https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/688/files#diff-625aa46670bfebb7a0beba8d7226e4e4a04886e06f9250c0208c7670be170e0b>
(8)
- *M* platforms/unix/vm-sound-pulse/sqUnixSoundPulseAudio.c
<https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/688/files#diff-456bfe6e5700f3db153e28ca1d028e993fa27f826d39736f14c8db4ff42a5090>
(18)
- *M* platforms/unix/vm-sound-sndio/sqUnixSndioSound.c
<https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/688/files#diff-ea088c71fc980df4264ce6ce15ebe8fd7da894cc8c5789554e740fef8a78d8f2>
(17)
- *M* platforms/unix/vm/sqPlatformSpecific.h
<https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/688/files#diff-1e2205111450e3c2454d06536419cb613576816730621bbf7fc881d9a2d08cd9>
(6)
- *M* platforms/unix/vm/sqUnixMain.c
<https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/688/files#diff-b54a4e3a13ef8ebb1c82f3bce4d6930c230813fe76f3e998851746f332be0a62>
(6)
Patch Links:
- https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/688.patch
- https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/688.diff
—
Reply to this email directly, view it on GitHub
<#688>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADY5VUEI7HSX7PVGOTWTXCDZLJCXVAVCNFSM6AAAAABKQJSD3GVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM4TIOJVGQZTONY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
_,,,^..^,,,_
best, Eliot
|
On 8/20/24 20:56, Eliot Miranda wrote:
apologies for not having attended to these sooner. I'll try and get to
them this week. I'm hopefully nearing the end of a Slang transpiler
rewrite that is consuming all my cycles and head space ATM.
No problem, I'm immensely grateful for your work. Exciting to hear about
the rewrite. Best of luck!
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks really good except for the changes around the unix SoundPlugin.h. Please change sound_SetDevice/GetSwitch/SetSwitch to use sqInt instead of int.
The reasons are that
a) sqInt is guaranteed to be equal to the word size whereas typically int is only 32 bits and so too small on 64-bits to capture the full range of possible values
b) because sqInt is word size typically better/more natural code is generated on 64-bit platforms than for int
Hello Eliot et al.,
I produced these commits to get Cog building on Debian sid/trixie from current git
Cog
branch. The number of faults suggested to me that I was holding it wrong but I couldn't figure out what specifically I was doing; if I have been an idiot, and these commits are unnecessary, please let me know because I'll be happy not to have needed them :-)The commits can be applied individually. I wrote them in a hurry; hopefully they're reasonable?
There's one, de1cb25 (the "workaround" one) that should probably not be applied, but that I include for completeness because otherwise I do not seem to be able to get the build to go through.
Cheers,
Tony