* [U-Boot-Users] make: *** [u-boot] Error 139
@ 2005-03-31 22:47 Anthony Russello
2005-03-31 23:09 ` Wolfgang Denk
2005-04-01 17:08 ` Yuli Barcohen
0 siblings, 2 replies; 8+ messages in thread
From: Anthony Russello @ 2005-03-31 22:47 UTC (permalink / raw)
To: u-boot
Hi,
I'm trying to compile u-boot version 1.1.2 unmodifed
on an iBook G4 with the following specs:
glibc: 2.3.4
gcc: 3.4.3
binutils: 2.15.90.0.3-r3
Here are the steps I'm using, please let me know if
I've screwed something up:
make Sandpoint8245_config
make
The build appears to go through fine until near the
end, where it is trying to use ld with the option:
...-Map u-boot.map -o u-boot
Then I see this every time in the same place:
make: *** [u-boot] Error 139
u-boot.map is empty at this point.
The exact same thing happens when I try to build
u-boot using a cross compiler built on an x86 machine
for a powerpc 603e cpu. u-boot.map is also empty
Also, I get the exact same error when trying to do the
same task on a Pegasos machine running Debian. The
only difference on the Pegasos machine is that it
actually gets part way through creating
u-boot.map.u-boot.map actually contains some data.
Any help with this would be greatly appreciated. My
attempts to look the issue up through google have
yielded results like "check the hardware, bad ram or
disk corruption", or, "it's the fault of binutils
2.15".
Any assistance would be greatly appreciated, as I've
wasted two days changing and rebuilding cross
compilers, and testing on different machines.
Thanks in advance,
Anthony
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] make: *** [u-boot] Error 139
2005-03-31 22:47 [U-Boot-Users] make: *** [u-boot] Error 139 Anthony Russello
@ 2005-03-31 23:09 ` Wolfgang Denk
2005-04-01 3:26 ` Daniel Ann
2005-04-01 17:08 ` Yuli Barcohen
1 sibling, 1 reply; 8+ messages in thread
From: Wolfgang Denk @ 2005-03-31 23:09 UTC (permalink / raw)
To: u-boot
Dear Anthony,
it has always been a good idea to read or even search (!) a bit in
the mailing list archives BEFORE posting.
You should consider this, too.
In message <20050331224744.92468.qmail@web88101.mail.re2.yahoo.com> you wrote:
>
...
> make: *** [u-boot] Error 139
Your binutils are broken. File a bug report.
> disk corruption", or, "it's the fault of binutils
> 2.15".
The latter is the correct answer.
> Any assistance would be greatly appreciated, as I've
> wasted two days changing and rebuilding cross
> compilers, and testing on different machines.
What a waste of effort. The very same problem has been discussed here
JUST YESTERDAY.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Linux - Why use Windows, since there is a door?
-- Alain Knaff in <slrn50c2o5.auk.knaff@choiseul.inrialpes.fr>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] make: *** [u-boot] Error 139
2005-03-31 23:09 ` Wolfgang Denk
@ 2005-04-01 3:26 ` Daniel Ann
0 siblings, 0 replies; 8+ messages in thread
From: Daniel Ann @ 2005-04-01 3:26 UTC (permalink / raw)
To: u-boot
Too right :)
On Apr 1, 2005 8:09 AM, Wolfgang Denk <wd@denx.de> wrote:
> Dear Anthony,
>
> it has always been a good idea to read or even search (!) a bit in
> the mailing list archives BEFORE posting.
>
> You should consider this, too.
>
> In message <20050331224744.92468.qmail@web88101.mail.re2.yahoo.com> you wrote:
> >
> ...
> > make: *** [u-boot] Error 139
>
> Your binutils are broken. File a bug report.
>
> > disk corruption", or, "it's the fault of binutils
> > 2.15".
>
> The latter is the correct answer.
>
> > Any assistance would be greatly appreciated, as I've
> > wasted two days changing and rebuilding cross
> > compilers, and testing on different machines.
>
> What a waste of effort. The very same problem has been discussed here
> JUST YESTERDAY.
>
> Best regards,
>
> Wolfgang Denk
>
> --
> Software Engineering: Embedded and Realtime Systems, Embedded Linux
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> Linux - Why use Windows, since there is a door?
> -- Alain Knaff in <slrn50c2o5.auk.knaff@choiseul.inrialpes.fr>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by Demarc:
> A global provider of Threat Management Solutions.
> Download our HomeAdmin security software for free today!
> http://www.demarc.com/info/Sentarus/hamr30
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
>
--
Daniel
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] make: *** [u-boot] Error 139
2005-03-31 22:47 [U-Boot-Users] make: *** [u-boot] Error 139 Anthony Russello
2005-03-31 23:09 ` Wolfgang Denk
@ 2005-04-01 17:08 ` Yuli Barcohen
2005-04-02 14:47 ` Wolfgang Denk
1 sibling, 1 reply; 8+ messages in thread
From: Yuli Barcohen @ 2005-04-01 17:08 UTC (permalink / raw)
To: u-boot
>>>>> Anthony Russello writes:
Anthony> Hi, I'm trying to compile u-boot version 1.1.2 unmodifed on
Anthony> an iBook G4 with the following specs:
Anthony> glibc: 2.3.4 gcc: 3.4.3 binutils: 2.15.90.0.3-r3
Anthony> Here are the steps I'm using, please let me know if I've
Anthony> screwed something up:
Anthony> make Sandpoint8245_config make
Anthony> The build appears to go through fine until near the end,
Anthony> where it is trying to use ld with the option:
Anthony> ...-Map u-boot.map -o u-boot
Anthony> Then I see this every time in the same place:
Anthony> make: *** [u-boot] Error 139
Anthony> u-boot.map is empty at this point.
Anthony> The exact same thing happens when I try to build u-boot
Anthony> using a cross compiler built on an x86 machine for a
Anthony> powerpc 603e cpu. u-boot.map is also empty
Anthony> Also, I get the exact same error when trying to do the same
Anthony> task on a Pegasos machine running Debian. The only
Anthony> difference on the Pegasos machine is that it actually gets
Anthony> part way through creating u-boot.map.u-boot.map actually
Anthony> contains some data.
...
Looks like the problem which I found long time ago in binutils but have
no time to fix. What I discovered is that if you request link map (-Map)
and the linker command file (u-boot.lds) contains conditional statement
(in u-boot it's usually DEFINED(env_offset) ? env_offset : .) then the
linker crashes. I don't know if Sandpoint needs this statement, maybe it
can be removed, otherwise remove -Map.
--
========================================================================
Yuli Barcohen | Phone +972-9-765-1788 | Software Project Leader
yuli at arabellasw.com | Fax +972-9-765-7494 | Arabella Software, Israel
========================================================================
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] make: *** [u-boot] Error 139
2005-04-01 17:08 ` Yuli Barcohen
@ 2005-04-02 14:47 ` Wolfgang Denk
2005-04-03 0:55 ` Daniel Ann
0 siblings, 1 reply; 8+ messages in thread
From: Wolfgang Denk @ 2005-04-02 14:47 UTC (permalink / raw)
To: u-boot
In message <16973.32808.124167.511374@home.localdomain> you wrote:
>
> Looks like the problem which I found long time ago in binutils but have
> no time to fix. What I discovered is that if you request link map (-Map)
> and the linker command file (u-boot.lds) contains conditional statement
> (in u-boot it's usually DEFINED(env_offset) ? env_offset : .) then the
> linker crashes. I don't know if Sandpoint needs this statement, maybe it
> can be removed, otherwise remove -Map.
Ummm... this is definitely NOT the right way to address such a problem.
Instead, the bug in the linker should get fixed. For this is it
necessary to report it. So please report it, if necessary again.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
No user-servicable parts inside. Refer to qualified service personnel.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] make: *** [u-boot] Error 139
2005-04-02 14:47 ` Wolfgang Denk
@ 2005-04-03 0:55 ` Daniel Ann
2005-04-03 8:03 ` Wolfgang Denk
0 siblings, 1 reply; 8+ messages in thread
From: Daniel Ann @ 2005-04-03 0:55 UTC (permalink / raw)
To: u-boot
On Apr 2, 2005 11:47 PM, Wolfgang Denk <wd@denx.de> wrote:
> Ummm... this is definitely NOT the right way to address such a problem.
>
> Instead, the bug in the linker should get fixed. For this is it
> necessary to report it. So please report it, if necessary again.
I've made a report to bug-binutils at gnu.org. Absolutely no clue as to
when exactly this will be dealt with, but at least its a step towards
right direction.
--
Daniel
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] make: *** [u-boot] Error 139
2005-04-03 0:55 ` Daniel Ann
@ 2005-04-03 8:03 ` Wolfgang Denk
2005-04-04 0:47 ` Daniel Ann
0 siblings, 1 reply; 8+ messages in thread
From: Wolfgang Denk @ 2005-04-03 8:03 UTC (permalink / raw)
To: u-boot
In message <9b7ca65705040216556848fe4b@mail.gmail.com> you wrote:
>
> I've made a report to bug-binutils at gnu.org. Absolutely no clue as to
> when exactly this will be dealt with, but at least its a step towards
> right direction.
Thanks. Ummm.. It shouldn't be too difficult to debug given thefact
that it's so easily reproducable. How about trying it yourself?
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
There is is no reason for any individual to have a computer in their
home. -- Ken Olsen (President of Digital Equipment Corporation),
Convention of the World Future Society, in Boston, 1977
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] make: *** [u-boot] Error 139
2005-04-03 8:03 ` Wolfgang Denk
@ 2005-04-04 0:47 ` Daniel Ann
0 siblings, 0 replies; 8+ messages in thread
From: Daniel Ann @ 2005-04-04 0:47 UTC (permalink / raw)
To: u-boot
On Apr 3, 2005 5:03 PM, Wolfgang Denk <wd@denx.de> wrote:
> Thanks. Ummm.. It shouldn't be too difficult to debug given thefact
> that it's so easily reproducable. How about trying it yourself?
Hmmm that's something I've never thought about doing.
May sound like I'm trying to put this aside, but right at this moment,
I've got a headache that's been grown to the size of migraine over 1
year period. After this is over, I'll see what I can do to return the
favor to the gnu folks. :)
--
Daniel
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2005-04-04 0:47 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-31 22:47 [U-Boot-Users] make: *** [u-boot] Error 139 Anthony Russello
2005-03-31 23:09 ` Wolfgang Denk
2005-04-01 3:26 ` Daniel Ann
2005-04-01 17:08 ` Yuli Barcohen
2005-04-02 14:47 ` Wolfgang Denk
2005-04-03 0:55 ` Daniel Ann
2005-04-03 8:03 ` Wolfgang Denk
2005-04-04 0:47 ` Daniel Ann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox