Ticket #3119 (closed task: fixed)

Opened 4 years ago

Last modified 4 years ago

Make ghc-6.10 use a non-executable stack (by bumping libffi)

Reported by: kolmodin Owned by: igloo
Priority: high Milestone: 6.12.1
Component: Compiler Version: 6.10.1
Keywords: Cc:
Operating System: Linux Architecture: Unknown/Multiple
Type of failure: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

Attached patch:

Mon Mar 23 08:08:32 CET 2009  Lennart Kolmodin <kolmodin@gentoo.org>
  * Replace libffi 3.0.4 with libffi 3.0.8
  Use the latest version of libffi, which compiles with a non-executable
  stack. libffi 3.0.4 was the single piece of ghc using the executable stack,
  forcing the whole toolchain to use executable stacks (including all
  executables it compiled).

Change History

Changed 4 years ago by kolmodin

Due to attachment size limitations, I've put the patch here:  http://haskell.org/~kolmodin/replace-libffi-3_0_4-with-libffi-3_0_8.dpatch

Changed 4 years ago by duncan

Just to note that several distros (including Gentoo) consider executable stacks an important QA issue.

Changed 4 years ago by simonmar

  • owner set to igloo
  • difficulty set to Unknown
  • priority changed from normal to high
  • type changed from feature request to merge
  • milestone set to 6.12 branch

I pushed this to the 6.10 branch (it wouldn't apply to HEAD for me, made darcs crash). Ian, could you merge to HEAD please?

Changed 4 years ago by igloo

  • type changed from merge to task

Worked fine for me; perhaps your 6.10 repo is partial.

But HEAD had already updated to 3.0.6, so this conflicted. Also, HEAD has patches that get applied to libffi, which will need updating. Let's just do this update in the new build system.

Changed 4 years ago by igloo

  • milestone changed from 6.12 branch to 6.12.1

Changed 4 years ago by igloo

  • status changed from new to closed
  • resolution set to fixed

The HEAD now has 3.0.8 too.

Note: See TracTickets for help on using tickets.