allow building intermediate stages for eglibc

Bug #603498 reported by Marcin Juszkiewicz on 2010-07-09
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
eglibc (Ubuntu)
Undecided
Matthias Klose

Bug Description

To bootstrap cross compiler we need support for building stage1 of eglibc (headers + crt*.o).

I am working on a patch which adds DEB_STAGE variable which allow to build stage1.

Related branches

Marcin Juszkiewicz (hrw) wrote :

This patch is what I used to manually bootstrap cross compiler. It is not a thing to merge but rather code which shows what options I use. It builds but fail badly in packaging phase.

I am working on merging that into normal packaging way so stage1 would be "DEB_STAGE=stage1 dpkg-buildpackage -b" command.

tags: added: patch
Marcin Juszkiewicz (hrw) wrote :

This patch is temporary hack to get stage2 compiled in situation when headers are present in non standard directory.

Marcin Juszkiewicz (hrw) wrote :

Cleaned version of stage1 support.

Still lacks packaging support, contains hack for stage2.

Marcin Juszkiewicz (hrw) wrote :

Final version of patch. Contains code for building libc6-dev as a result of stage1 and also WITH_BUILD_SYSROOT helper for stage2.

Deprecates all previous versions.

Marcin Juszkiewicz (hrw) on 2010-07-23
Changed in eglibc (Ubuntu):
status: New → In Progress
Marcin Juszkiewicz (hrw) wrote :

Improved version.

Matthias Klose (doko) on 2010-08-23
Changed in eglibc (Ubuntu):
status: In Progress → Fix Committed
Steve Langasek (vorlon) wrote :

(pardon the noise, Matthias - adjusting bug states here so that this shows up sensibly on burndown charts for Linaro)

Changed in eglibc (Ubuntu):
milestone: none → ubuntu-10.10
assignee: nobody → Matthias Klose (doko)
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package eglibc - 2.12.1-0ubuntu2

---------------
eglibc (2.12.1-0ubuntu2) maverick; urgency=low

  [ Marcin Juszkiewicz ]
  * Add build support to only build single stages. LP: #603498.
 -- Matthias Klose <email address hidden> Mon, 23 Aug 2010 17:05:04 +0200

Changed in eglibc (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related blueprints