Skip to contentSkip to conversation

New: [PATCH] native toolchain in the target filesystem fails

Buildroot New bugzilla at busybox.net 1 participant 3 messages Sep 10, 2010 – Feb 2, 2011

lore
Share & tools
lore
#0 lore raw

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

Summary: [PATCH] native toolchain in the target filesystem
fails
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: arpinf at gmail.com
CC: buildroot at uclibc.org
Estimated Hours: 0.0

Created attachment 2449
--> https://bugs.busybox.net/attachment.cgi?id=2449
Patch to fix native toolchain in target filesystem

Buildroot version: 2010.08
Host: x86_64
Target: i686

Selecting:
Package Selection for the target --->
Development tools --->
[*] native toolchain in the target filesystem

Fails with:
mkdir -p /home/illuminate/buildroot-2010.08/output/toolchain/gcc-4.4.4-final touch /home/illuminate/buildroot-2010.08/output/build/gcc-4.4.4-target/.prepared
touch: cannot touch `/home/illuminate/buildroot-2010.08/output/build/gcc-4.4.4-target/.prepared':
No such file or directory
make: *** [/home/illuminate/buildroot-2010.08/output/build/gcc-4.4.4-target/.prepared] Error 1

Cause:
Creating the .prepared file in a missing directory. $(GCC_BUILD_DIR4)/.prepared: $(STAMP_DIR)/gcc_libs_target_installed $(GCC_TARGET_PREREQ)

        mkdir -p $(GCC_BUILD_DIR3)

fixed by changing $(GCC_BUILD_DIR3) to $(GCC_BUILD_DIR4)

Included fix in the patch.

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

PATCH 1/1 native toolchain in the target filesystem fails

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

--- Comment #1 from Clement Foucher <[email protected]> --- Same problem with arch=powerpc and gcc version=4.3.5. Log:

[...]
make[6]: quittant le r?pertoire ? /home/foucher/Bureau/12-3/common/buildroot-2010.08/output/build/binutils-2.20.1-target/ld ?
make[5]: quittant le r?pertoire ? /home/foucher/Bureau/12-3/common/buildroot-2010.08/output/build/binutils-2.20.1-target/ld ?
make[4]: quittant le r?pertoire ? /home/foucher/Bureau/12-3/common/buildroot-2010.08/output/build/binutils-2.20.1-target/ld ?
make[3]: quittant le r?pertoire ? /home/foucher/Bureau/12-3/common/buildroot-2010.08/output/build/binutils-2.20.1-target/ld ?
make[6]: quittant le r?pertoire ? /home/foucher/Bureau/12-3/common/buildroot-2010.08/output/build/binutils-2.20.1-target/binutils ?
make[5]: quittant le r?pertoire ? /home/foucher/Bureau/12-3/common/buildroot-2010.08/output/build/binutils-2.20.1-target/binutils ?
make[4]: quittant le r?pertoire ? /home/foucher/Bureau/12-3/common/buildroot-2010.08/output/build/binutils-2.20.1-target/binutils ?
make[3]: quittant le r?pertoire ? /home/foucher/Bureau/12-3/common/buildroot-2010.08/output/build/binutils-2.20.1-target/binutils ?
make[2]: quittant le r?pertoire ? /home/foucher/Bureau/12-3/common/buildroot-2010.08/output/build/binutils-2.20.1-target
?
make[1]: quittant le r?pertoire ? /home/foucher/Bureau/12-3/common/buildroot-2010.08/output/build/binutils-2.20.1-target
?
rm -rf
/home/foucher/Bureau/12-3/common/buildroot-2010.08/output/target/share/locale /home/foucher/Bureau/12-3/common/buildroot-2010.08/output/staging/usr/bin/powerpc-unknown-linux-uclibc-strip --remove-section=.comment --remove-section=.note /home/foucher/Bureau/12-3/common/buildroot-2010.08/output/target/usr/powerpc-unknown-linux-uclibc/bin/*

Quoted 1 line

/dev/null 2>&1

make:
[/home/foucher/Bureau/12-3/common/buildroot-2010.08/output/target/usr/bin/ld]
Erreur 1 (ignor?e) /home/foucher/Bureau/12-3/common/buildroot-2010.08/output/staging/usr/bin/powerpc-unknown-linux-uclibc-strip --remove-section=.comment --remove-section=.note /home/foucher/Bureau/12-3/common/buildroot-2010.08/output/target/usr/bin/* >
/dev/null 2>&1
make:
[/home/foucher/Bureau/12-3/common/buildroot-2010.08/output/target/usr/bin/ld]
Erreur 1 (ignor?e)
mkdir -p /home/foucher/Bureau/12-3/common/buildroot-2010.08/output/toolchain/gcc-4.3.5-final
touch /home/foucher/Bureau/12-3/common/buildroot-2010.08/output/build/gcc-4.3.5-target/.prepared
touch: impossible de faire un touch ? /home/foucher/Bureau/12-3/common/buildroot-2010.08/output/build/gcc-4.3.5-target/.prepared ?: Aucun fichier ou dossier de ce type
make: *** [/home/foucher/Bureau/12-3/common/buildroot-2010.08/output/build/gcc-4.3.5-target/.prepared] Erreur 1

Trying the patch now, this seems to solve the problem, but since there is another problem after, I'm unable to test the software.

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

PATCH 1/1 native toolchain in the target filesystem fails

In reply to bugzilla at busybox.net

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

Gustavo Zacarias <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Gustavo Zacarias <[email protected]> --- Fixed during the toolchain rework cycle, 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.