Skip to contentSkip to conversation

New: make external-deps wants to download gcc-.tar.bz2 when using an external toolchain

Buildroot bugzilla at busybox.net 1 participant 4 messages Jan 17, 2011 – Jan 19, 2011

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=3103

Summary: make external-deps wants to download gcc-.tar.bz2 when
using an external toolchain
Product: buildroot
Version: 2010.11
Platform: PC
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: eliedebrauwer at gmail.com
CC: buildroot at uclibc.org
Estimated Hours: 0.0

Created attachment 2863
--> https://bugs.busybox.net/attachment.cgi?id=2863
.config illustrating this problem.

I tested this on 2010.11 and buildroot-20110117.tar.bz2, I tested this with a real external toolchain/powerpc but for the sake of the exercise let's do this as follows. Steps to reproduce:
* Extract buildroot
* make allnoconfig
* In make menuconfig -> toolchain -> set toolchain type to external
toolchain, save the config

edb at lapedb:/tmp/tmp/buildroot$ make external-deps gcc-.tar.bz2
gmp-5.0.1.tar.bz2
mpfr-3.0.0.tar.bz2
edb at lapedb:/tmp/tmp/buildroot$ make source
<snip>
successful download of http://ftp.gnu.org/pub/gnu/gmp/gmp-5.0.1.tar.bz2 and
http://www.mpfr.org/mpfr-3.0.0/mpfr-3.0.0.tar.bz2 </snip>

mkdir -p /tmp/tmp/buildroot/dl
--2011-01-17 12:58:19-- http://ftp.gnu.org/pub/gnu/gcc/gcc-/gcc-.tar.bz2
Resolving ftp.gnu.org... 140.186.70.20
Connecting to ftp.gnu.org|140.186.70.20|:80... connected. HTTP request sent, awaiting response... 404 Not Found

2011-01-17 12:58:20 ERROR 404: Not Found.

--2011-01-17 12:58:20-- http://sources.buildroot.net//gcc-.tar.bz2
Resolving sources.buildroot.net... 88.198.64.109 Connecting to sources.buildroot.net|88.198.64.109|:80... connected. HTTP request sent, awaiting response... 404 Not Found

2011-01-17 12:58:20 ERROR 404: Not Found.

make: *** [/tmp/tmp/buildroot/dl/gcc-.tar.bz2] Error 1

Adding my .config in attach

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 3103] make external-deps wants to download gcc-.tar.bz2 when using an external toolchain

https://bugs.busybox.net/show_bug.cgi?id=3103

Gustavo Zacarias <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |ASSIGNED
         AssignedTo|unassigned at buildroot.uclibc |gustavo at zacarias.com.ar
                   |.org                        |

--- Comment #1 from Gustavo Zacarias <[email protected]> --- Created attachment 2869
--> https://bugs.busybox.net/attachment.cgi?id=2869
Disable gcc fetch when not internal toolchain

This is an old bug that's been lingering for some time now. Try the attached patch, it should solve the issue.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#2 lore raw

[Buildroot] [Bug 3103] make external-deps wants to download gcc-.tar.bz2 when using an external toolchain

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=3103

--- Comment #2 from Elie De Brauwer <[email protected]> --- Tested on 2010.11, works there for me.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#3 lore raw

[Buildroot] [Bug 3103] make external-deps wants to download gcc-.tar.bz2 when using an external toolchain

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=3103

Peter Korsgaard <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Peter Korsgaard <[email protected]> --- Committed a slightly revised version of the patch, which also disables the unneeded gmp/mpfr/mpc libraries, thanks.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.