[crosstool-ng] Patch application failure while compiling arm-unknown-linux-uclibcgnueabi

Thomas Petazzoni thomas.petazzoni@free-electrons.com
Fri Mar 27 11:25:00 GMT 2009


Hi,

I'm using Revision: 1445 of crosstool-ng, and tried to build
arm-unknown-linux-uclibcgnueabi. The only changes to the config are:
Java, Fortran and native gdb disabled (.config included).

After a while, it fails at :

[ERROR]    Build failed in step 'Extracting and patching toolchain components'
[ERROR]    Error happened in '/home/thomas/local/crosstool-ng/scripts/functions' in function 'CT_DoExecLog' (line unknown, sorry)
[ERROR]          called from '/home/thomas/local/crosstool-ng/scripts/functions' at line # 681 in function 'CT_Patch'
[ERROR]          called from '/home/thomas/local/crosstool-ng/scripts/build/cc/gcc.sh' at line # 35 in function 'do_cc_extract'
[ERROR]          called from '/home/thomas/local/crosstool-ng/scripts/crosstool-NG.sh' at line # 448 in function 'main'
[ERROR]    Look at '/usr/local/xtools/arm-unknown-linux-uclibcgnueabi/build.log' for more info on this error.

And, in the build.log file, I have :

[DEBUG]    Applying patch '/home/thomas/local/crosstool-ng/patches/gcc/4.3.2/220-noteGNUstack-01.patch'
[DEBUG]    ==> Executing: 'patch -g0 -F1 -p1 -f'
[ALL  ]    The next patch would create the file boehm-gc/ia64_save_regs_in_stack.S,
[ALL  ]    which already exists!  Applying it anyway.
[ALL  ]    patching file boehm-gc/ia64_save_regs_in_stack.S
[ALL  ]    Patch attempted to create file boehm-gc/ia64_save_regs_in_stack.S, which already exists.
[ALL  ]    Hunk #1 FAILED at 1.
[ALL  ]    1 out of 1 hunk FAILED -- saving rejects to file boehm-gc/ia64_save_regs_in_stack.S.rej

Which seems to be the problem.

Sincerly,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config
Type: application/octet-stream
Size: 9204 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20090327/7e49947e/attachment.obj>
-------------- next part --------------
--
For unsubscribe information see http://sourceware.org/lists.html#faq


More information about the crossgcc mailing list