Closed 3246251196 closed 1 year ago
This is with:
version full newlib.library
newlib.library 53.80 (06/04/2022)
For me, going into tests/8* and manually doing the steps make would have done results in an executable that passes on my X5000. Just noting this down.
Crashlog_New Process_2023-07-11_20-53-43.txt
We see that it is line 580 of gthr-amigaos-native.c:
static int __gthread_entry(STRPTR args UNUSED, int32 length UNUSED, APTR execbase UNUSED)
{
struct Task *task;
threadentry_t *thr;
int i;
/* Initialize libs */
__gthread_once (&libs_once, init_libs);
task = iexec->FindTask (NULL);
thr = (threadentry_t *)((struct Process*)task)->pr_Task.tc_UserData;
/* Wait for the parent task to enqueue the process in the global list */
while (!(iexec->Wait (SIGBREAKF_CTRL_F) & SIGBREAKF_CTRL_F));
thr->result = thr->entry(thr->args);
/* Invoke destructors of all non-NULL thread specifics */
iexec->ObtainSemaphore (&keystore->sem);
for (i = 0; i < keystore->num_key_entries; i++)
{
void (*destroy)(void *);
keyentry_t *key;
if (!(destroy = keystore->keys[i].destroy))
continue;
if (!(key = find_keyentry (i, task)))
continue;
if (key->data)
destroy ((void *)key->data); /* !!!! LINE 580 */
}
iexec->ReleaseSemaphore (&keystore->sem);
__gthread_close_timer (thr);
thr->finished = 1;
return 0;
}
In the WebKit dev group: we believe that work must start on updating binutils due to issues with destructors!
https://easyupload.io/5zv337 (For self: ~/Desktop/stock_build_adt_tests.lha)
ADTOOLS commit: 0e9abdbab3bf2afa252d0542a83b1c16f40b379f CLIB2 commit: 28aa4eec565160d7fbe90cd534fc57542d921d65
MOD SCRIPT was: