Opened 3 years ago

Closed 2 years ago

#830 closed defect (fixed)

ia32 build is not setting -march for user space

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

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 (4)

comment:1 by Jiri Svoboda, 3 years ago

See also: #832, #833

comment:2 by Jiri Svoboda, 2 years ago

Milestone: 0.11.20.12.1

comment:3 by Jiri Svoboda, 2 years ago

Depends on: #832, #833
See also: #832, #833

comment:4 by Jiri Svoboda, 2 years ago

Resolution: fixed
Status: newclosed

With #832 and #833 fixed, we can now enable march for ia32 user-space.

Fixed in changeset 7eec25fcc916d12889b4ae19ba7f3e78678be3dd.

Note: See TracTickets for help on using tickets.