Fork us on GitHub Follow us on Facebook Follow us on Twitter

Opened 6 months ago

Last modified 6 months ago

#830 new defect

ia32 build is not setting -march for user space

Reported by: Jiri Svoboda Owned by:
Priority: major Milestone: 0.11.2
Component: helenos/unspecified Version: mainline
Keywords: Cc:
Blocker for: Depends on:
See also: #832, #833

Description

ia32 build does not set -march for user space. This means, for example, that even if we set CPU to 486, user-space code does not run properly on 486 processor (qemu-system-i386 -M isapc).

Before switch to meson here's what we did:

ifeq ($(PROCESSOR),i486)
        COMMON_CFLAGS += -march=i486
else
        COMMON_CFLAGS += -march=pentium
endif

so there was just special case for 486. Probably because of the bug where if we set -march=pentium4, then tester malloc1 and tester malloc3 tend to fail.

Change History (1)

comment:1 Changed 6 months ago by Jiri Svoboda

See also: #832, #833
Note: See TracTickets for help on using tickets.