Fwd: Bug#644405: FTBFS on ppc64: The mistake of using ".size" in ppc64/start.S

Hector Oron <[email protected]> Thu, 6 Oct 2011 13:26:51 +0100
Newsgroups gmane.linux.lib.dietlibc
Message-ID <CAODfWeFcW6HE9Uhm2-bMj3+YFMgR=qsy3JtJ5beAuoBoxrzdMA@mail.gmail.com>
Hello,

  It looks like dietlibc fails to build from source on ppc64.
According to Hiroyuki comments I have applied the following patch:

--- dietlibc-0.33~cvs20110918.orig/ppc64/start.S
+++ dietlibc-0.33~cvs20110918/ppc64/start.S
@@ -78,7 +78,7 @@ _start:
        .ascii "_start"
 .LT_start_name_end:
        .align 2
-       .size _start,.-_start
+       .size ._start,.-._start

 /* Define a symbol for the first piece of initialized data.  */
        .section ".data"

Best regards,

---------- Forwarded message ----------
From: Hiroyuki Yamamoto <[email protected]>
Date: 2011/10/5
Subject: Bug#644405: [dietlibc] FTBFS on ppc64: The mistake of using
".size" in ppc64/start.S
To: [email protected]


Package: dietlibc
Version: 0.32-7
Severity: wishlist

Because ".previous" is used in the symbol "_start:",
".size _start,.-_start" cannot associate the size.

Although I surmise that it may be probably ".size ._start,.-._start",
I think that it is necessary to check this by the upstream.
It checked that it could build, if this correction was applied.

Regards,
--
Hiroyuki Yamamoto
A75D B285 7050 4BF9 AEDA  91AC 3A10 59C6 5203 04DC





-- 
 Héctor Orón  -.. . -... .. .- -.   -.. . ...- . .-.. --- .--. . .-.