Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Grégory Hermant" <gregory.hermant@calao-systems.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3] at91bootstrap: fix gcc-4.6.x overlap linker issue
Date: Thu, 11 Oct 2012 09:02:07 +0200	[thread overview]
Message-ID: <50766EEF.7070308@calao-systems.com> (raw)
In-Reply-To: <20121010131905.4c485886@skate>

Hi thomas,
Thanks very much for your feedback.
gregory

Le 10/10/2012 13:19, Thomas Petazzoni a ?crit :
> Gr?gory,
> 
> On Wed, 10 Oct 2012 10:27:18 +0200, Gr?gory Hermant wrote:
>> Things always happen in threes...
>> This patch fixes an issue detected in the linking stage of the at91bootstraploader from gcc-4.6.x release.
>> Indeed from this gcc release the linking stage fails due to an overlap between text.startup and data section.
>> To fix this issue we need to modify the linker script in order to add the text.startup input section into the text output section.
>>
>>
>> Signed-off-by: Gregory Hermant <gregory.hermant@calao-systems.com>
>> ---
>>  ...at91bootstrap-1.16-gcc-4.6.x-ldscript-fix.patch |   26 ++++++++++++++++++++
>>  1 file changed, 26 insertions(+)
>>  create mode 100644 boot/at91bootstrap/at91bootstrap-1.16-gcc-4.6.x-ldscript-fix.patch
> 
> Unfortunately, it still cannot be applied as is:
> 
>  *) All the text before the --- separator goes into the commit log (so
>  it remains forever in the Buildroot commit history). Therefore, it
>  shouldn't contain "personal" comments such as "Things always happen in
>  threes"
> 
>  *) The commit log text should be wrapped at ~80 columns
> 
> In addition to that, most of the commit log text would benefit from
> being copy/pasted into the description of the
> at91bootstrap-1.16-gcc-4.6.x-ldscript-fix.patch patch.
> 
> Of course, Peter can probably fix those minor problems while
> committing, but I thought it would be useful to describe what's still
> not perfect with your patch.
> 
> Best regards,
> 
> Thomas
> 

      reply	other threads:[~2012-10-11  7:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-10  8:27 [Buildroot] [PATCH v3] at91bootstrap: fix gcc-4.6.x overlap linker issue Grégory Hermant
2012-10-10 11:19 ` Thomas Petazzoni
2012-10-11  7:02   ` Grégory Hermant [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50766EEF.7070308@calao-systems.com \
    --to=gregory.hermant@calao-systems.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox