ipxe does not build

Bug #821725 reported by Ben Howard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ipxe (Ubuntu)
Fix Released
High
Unassigned

Bug Description

ipxe does not build due to an infinite loop on arch/i386/prefix/linuxprefix.S. This particular file was removed upstream.

During build, the following is displayed:
  [DEPS] arch/i386/prefix/linuxprefix.S
  [DEPS] arch/i386/prefix/linuxprefix.S
  [DEPS] arch/i386/prefix/linuxprefix.S
  [DEPS] arch/i386/prefix/linuxprefix.S
  [DEPS] arch/i386/prefix/linuxprefix.S
  [DEPS] arch/i386/prefix/linuxprefix.S
  [DEPS] arch/i386/prefix/linuxprefix.S
  [DEPS] arch/i386/prefix/linuxprefix.S

Removing arch/{i386,x86_64}/prefix/linuxprefix.S fixes the problem.

Index: ipxe/src/arch/i386/prefix/linuxprefix.S
===================================================================
--- ipxe.orig/src/arch/i386/prefix/linuxprefix.S 2011-08-05 16:56:49.028882032 -0600
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
@@ -1,28 +0,0 @@
-#include <linux/unistd.h>
-
- .section ".text"
- .code32
- .globl _linux_start
- .type _linux_start, @function
-
-_linux_start:
- xorl %ebp, %ebp
-
- popl %esi // save argc
- movl %esp, %edi // save argv
-
- andl $~15, %esp // 16-byte align the stack
-
- pushl %edi // argv -> C arg2
- pushl %esi // argc -> C arg1
-
- call save_args
-
- /* Our main doesn't use any arguments */
- call main
-
- movl %eax, %ebx // rc -> syscall arg1
- movl $__NR_exit, %eax
- int $0x80
-
- .size _linux_start, . - _linux_start
Index: ipxe/src/arch/x86_64/prefix/linuxprefix.S
===================================================================
--- ipxe.orig/src/arch/x86_64/prefix/linuxprefix.S 2011-08-05 16:56:49.058882032 -0600
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
@@ -1,25 +0,0 @@
-#include <linux/unistd.h>
-
- .section ".text"
- .code64
- .globl _linux_start
- .type _linux_start, @function
-
-_linux_start:
- xorq %rbp, %rbp
-
- popq %rdi // argc -> C arg1
- movq %rsp, %rsi // argv -> C arg2
-
- andq $~15, %rsp // 16-byte align the stack
-
- call save_args
-
- /* Our main doesn't use any arguments */
- call main
-
- movq %rax, %rdi // rc -> syscall arg1
- movq $__NR_exit, %rax
- syscall
-
- .size _start, . - _start

Tags: server-o-rs

Related branches

description: updated
Dave Walker (davewalker)
Changed in ipxe (Ubuntu):
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Ben Howard (utlemming)
tags: added: server-o-rs
Changed in ipxe (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Ben Howard (darkmuggle-deactivatedaccount) wrote :

Pending merge request approval.

Revision history for this message
Ben Howard (darkmuggle-deactivatedaccount) wrote :

Blocks LP: #814038.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ipxe - 1.0.0+git-1.293e34-2ubuntu1

---------------
ipxe (1.0.0+git-1.293e34-2ubuntu1) oneiric; urgency=low

  * debian/patches/remove-linuxprefix-resolve-ftbfs.patch: [Removed
    linuxprefix.S, which was causing infinite loop during compile]
    - LP: #821725
 -- Ben Howard <email address hidden> Fri, 05 Aug 2011 16:56:50 -0600

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

Other bug subscribers

Remote bug watches

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