allow building intermediate stages for eglibc

Bug #603498 reported by Marcin Juszkiewicz
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
eglibc (Ubuntu)
Fix Released
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.

Tags: patch

Related branches

Revision history for this message
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
Revision history for this message
Marcin Juszkiewicz (hrw) wrote :

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

Revision history for this message
Marcin Juszkiewicz (hrw) wrote :

Cleaned version of stage1 support.

Still lacks packaging support, contains hack for stage2.

Revision history for this message
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)
Changed in eglibc (Ubuntu):
status: New → In Progress
Revision history for this message
Marcin Juszkiewicz (hrw) wrote :

Improved version.

Matthias Klose (doko)
Changed in eglibc (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
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)
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.