Port-m68k archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Urgent: need volunteers to fix the build



On 9/18/26 16:10, Radoslaw Kujawa wrote:
On 9/18/26 16:00, Martin Husemann wrote:

Probably easiest way to unblock here is dropping keymaps from the install. Sure, it may annoy the user, but the install is still perfectly possible.

Keymaps are usefull, we should find something less usefull to drop.
Main question here is: was the old code just a few bytes beyound the limit or did the change introduce some new dependency that now pulls in unwanted
parts of libc?

At first glance it is the former.

If I remember, previous floppy had literally zero bytes free. It's just 282 new bytes or so.


I looked at distrib/atari/floppies/common/Makefile.images and this config is already quite aggressive. We're running out of libhack knobs - the only left one is gethost.o, but it has the price of losing ability to resolve names from the network (I'd argue that is more useful than keymaps).

When it comes to next candidates for stubbing, there are a few big objects:
localtime.o - around 23kB
compat_localtime.o - ~17kB
res_debug.o - ~14kB (hmm, needs investigation)
vfprintf.o - ~17kB

Of course, stubbing localtime would probably mean no proper tz selection during installation.


Now the new unbound breaks
all m68k builds due to missing compiler switches to deal with some bigger switch/case table.
(...)
That seems to generate incorrect code (crash with illegal instruction, possibly GCC bug?), I'll try with Jason's suggestion.
Workaround committed with -fno-jump-tables.

Best regards,
Radoslaw


Home | Main Index | Thread Index | Old Index