public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* custom kernel issue
@ 2011-08-16 19:34 Guylhem Aznar
  2011-08-16 20:36 ` Yann E. MORIN
  0 siblings, 1 reply; 3+ messages in thread
From: Guylhem Aznar @ 2011-08-16 19:34 UTC (permalink / raw)
  To: crossgcc

Hello

I'm using a tarball of the specific version running on some embedded
linux hardware ; this is set up in the menus and everything, but the
build fails with the latest version pulled from mercurial

In build.log :

[INFO ]  Retrieving needed toolchain components' tarballs
[DEBUG]    ==> Executing: 'ln' '-sf'
'/Volumes/Crosstools/Fritzbox.src/GPL-release_kernel.tar.gz'
'/Volumes/Crosstools/crosstool-ng/.build/src/linux-custom.tar.gz'
(...)
[INFO ]  Extracting and patching toolchain components
[WARN ]    'linux-custom' not found in
'/Volumes/Crosstools/crosstool-ng/.build/tarballs'

Solved by:
ln -sf ../src/linux-custom.tar.gz .

(or so I guess because it has been extracting and patching for 10
minutes instead of failling fast)

It's a possible regression over version 1.11.4 because I don't
remember having that issue then.

-- 
vCard: http://guylhem.tel

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: custom kernel issue
  2011-08-16 19:34 custom kernel issue Guylhem Aznar
@ 2011-08-16 20:36 ` Yann E. MORIN
  2011-08-16 23:05   ` Guylhem Aznar
  0 siblings, 1 reply; 3+ messages in thread
From: Yann E. MORIN @ 2011-08-16 20:36 UTC (permalink / raw)
  To: crossgcc; +Cc: Guylhem Aznar

[-- Attachment #1: Type: Text/Plain, Size: 1317 bytes --]

Guylhem, All,

On Tuesday 16 August 2011 21:32:57 Guylhem Aznar wrote:
> I'm using a tarball of the specific version running on some embedded
> linux hardware ; this is set up in the menus and everything, but the
> build fails with the latest version pulled from mercurial
> 
> In build.log :
> 
> [INFO ]  Retrieving needed toolchain components' tarballs
> [DEBUG]    ==> Executing: 'ln' '-sf'
> '/Volumes/Crosstools/Fritzbox.src/GPL-release_kernel.tar.gz'
> '/Volumes/Crosstools/crosstool-ng/.build/src/linux-custom.tar.gz'
> (...)
> [INFO ]  Extracting and patching toolchain components
> [WARN ]    'linux-custom' not found in
> '/Volumes/Crosstools/crosstool-ng/.build/tarballs'

Ah, thanks for spotting this. Care to test the attached patch (you have to
start from a clean dir, though), please?

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

[-- Attachment #2: ct-ng.fix-kernel-linux-custom-tarball.patch --]
[-- Type: text/x-patch, Size: 601 bytes --]

diff --git a/scripts/build/kernel/linux.sh b/scripts/build/kernel/linux.sh
--- a/scripts/build/kernel/linux.sh
+++ b/scripts/build/kernel/linux.sh
@@ -35,7 +35,7 @@
             *)  CT_Abort "Unknown extension for custom linux tarball '${CT_KERNEL_LINUX_CUSTOM_TARBALL}'";;
         esac
         CT_DoExecLog DEBUG ln -sf "${CT_KERNEL_LINUX_CUSTOM_TARBALL}"  \
-                                  "${CT_SRC_DIR}/${custom_name}"
+                                  "${CT_TARBALLS_DIR}/${custom_name}"
     else # Not a custom tarball
         case "${CT_KERNEL_VERSION}" in
             2.6.*.*|3.*.*)


[-- Attachment #3: Type: text/plain, Size: 71 bytes --]

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: custom kernel issue
  2011-08-16 20:36 ` Yann E. MORIN
@ 2011-08-16 23:05   ` Guylhem Aznar
  0 siblings, 0 replies; 3+ messages in thread
From: Guylhem Aznar @ 2011-08-16 23:05 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: crossgcc

Will do tomorrow, because starting from a clean state takes some time.
I'm going back home now :-)

PS: Another one : state restore fails with :
[INFO ]  Restoring state at step 'cc', as requested.
[00:05] / zcat:
/Volumes/Crosstools/crosstool-ng/.build/mips-osx-linux-uclibc/state/cc/log.gz.Z:
No such file or directory

That's a strange one, .gz.Z :-)

Likewise, copying the .gz to .gz.Z fixed that however.

PS: A 3rd one : for uclibc
./.build/mips-osx-linux-uclibc/build/build-libc-headers/extra/scripts/install_headers.sh,
"find" should be replaced by "find ." which works both on OSX and
Linux

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-08-16 23:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-16 19:34 custom kernel issue Guylhem Aznar
2011-08-16 20:36 ` Yann E. MORIN
2011-08-16 23:05   ` Guylhem Aznar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).