* crosstool-NG build for powerpc on Fedora Core 11 = hundreds of grep processes
[not found] <b268a2e40910231821v734053c0qe934b97bf6883470@mail.gmail.com>
@ 2009-10-24 1:25 ` Mark Schaefer
2009-10-24 10:53 ` Yann E. MORIN
0 siblings, 1 reply; 3+ messages in thread
From: Mark Schaefer @ 2009-10-24 1:25 UTC (permalink / raw)
To: yann.morin.1998; +Cc: crossgcc
Hi all,
The subject mainly covers it...
Here's my process:
./configure --local
make
./ct-ng build
at this point, top shows no significant activity, but script is acting slowly.
If I interrupt (^C), I get the following output:
[INFO ] Performing some trivial sanity checks
[00:00] / ^Cmake: *** [build] Interrupt
Now, ct-ng has spawned off so many grep jobs that I get the following:
[mschaefe@grumpy crosstool-ng.1.5.0]$ ps
-bash: fork: retry: Resource temporarily unavailable
-bash: fork: retry: Resource temporarily unavailable
-bash: fork: retry: Resource temporarily unavailable
-bash: fork: retry: Resource temporarily unavailable
-bash: fork: Resource temporarily unavailable
[mschaefe@grumpy crosstool-ng.1.5.0]$ ps
-bash: fork: retry: Resource temporarily unavailable
-bash: fork: retry: Resource temporarily unavailable
-bash: fork: retry: Resource temporarily unavailable
-bash: fork: retry: Resource temporarily unavailable
-bash: fork: Resource temporarily unavailable
When I finally get a ps, I get a page full of entries like this:
ps ax
27913 pts/0 S 0:00 /bin/bash /home/mschaefe/crosstool-ng.1.
5.0/scripts/crosstool-NG.sh
27915 pts/0 S 0:00 /bin/bash
/share/home/mschaefe/crosstool-ng.1.5.0/targets/bin/sed -r -e
s/%N$/000000000/;
27921 pts/0 S 0:00 /bin/bash
/share/home/mschaefe/crosstool-ng.1.5.0/targets/bin/grep -qw
/usr/lib/ccache
....
30033 pts/0 S 0:00 /bin/bash
/share/home/mschaefe/crosstool-ng.1.5.0/targets/bin/grep -qw
/usr/lib/ccache
30039 pts/0 S 0:00 /bin/bash
/share/home/mschaefe/crosstool-ng.1.5.0/targets/bin/grep -qw
/usr/lib/ccache
30045 pts/0 S 0:00 /bin/bash
/share/home/mschaefe/crosstool-ng.1.5.0/targets/bin/grep -qw
/usr/lib/ccache
30051 pts/0 S 0:00 /bin/bash
/share/home/mschaefe/crosstool-ng.1.5.0/targets/bin/grep -qw
/usr/lib/ccache
30057 pts/0 S 0:00 /bin/bash
/share/home/mschaefe/crosstool-ng.1.5.0/targets/bin/grep -qw
/usr/lib/ccache
30063 pts/0 S 0:00 /bin/bash
/share/home/mschaefe/crosstool-ng.1.5.0/targets/bin/grep -qw
/usr/lib/ccache
30069 pts/0 S 0:00 /bin/bash
/share/home/mschaefe/crosstool-ng.1.5.0/targets/bin/grep -qw
/usr/lib/ccache
Since there's a known issue on ccache, here is some more detail: It
seems as though ccache is now a directory rather than an executable.
Is that a problem? Notice that the processes are 6 PIDs apart, which
suggests that there are some steps being executed non-recursively in
the middle.
[mschaefe@grumpy crosstool-ng.1.5.0]$ ls -l /usr/bin/ccache
-rwxr-xr-x 1 root root 41456 2009-02-24 02:42 /usr/bin/ccache
[mschaefe@grumpy crosstool-ng.1.5.0]$ ls -l /usr/lib/ccache
total 28
lrwxrwxrwx. 1 root root 16 2009-09-07 09:20 c++ -> ../../bin/ccache
lrwxrwxrwx. 1 root root 16 2009-09-07 09:20 cc -> ../../bin/ccache
lrwxrwxrwx. 1 root root 16 2009-09-07 09:20 g++ -> ../../bin/ccache
lrwxrwxrwx. 1 root root 16 2009-09-07 09:20 gcc -> ../../bin/ccache
lrwxrwxrwx. 1 root root 16 2009-09-07 09:20 i586-redhat-linux-c++ ->
../../bin/ccache
lrwxrwxrwx. 1 root root 16 2009-09-07 09:20 i586-redhat-linux-g++ ->
../../bin/ccache
lrwxrwxrwx. 1 root root 16 2009-09-07 09:20 i586-redhat-linux-gcc ->
../../bin/ccache
[mschaefe@grumpy crosstool-ng.1.5.0]$ ls -l /usr/lib |grep ccache
drwxr-xr-x. 2 root root 4096 2009-09-07 15:54 ccache
[mschaefe@grumpy crosstool-ng.1.5.0]$gcc -v
...
...
gcc version 4.4.1 20090725 (Red Hat 4.4.1-2) (GCC)
Please help :)
Thanks!
Mark
P.S. Re-sent because sourceware.org did not accept html-formatted mail.
--
For unsubscribe information see http://sourceware.org/lists.html#faq
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: crosstool-NG build for powerpc on Fedora Core 11 = hundreds of grep processes
2009-10-24 1:25 ` crosstool-NG build for powerpc on Fedora Core 11 = hundreds of grep processes Mark Schaefer
@ 2009-10-24 10:53 ` Yann E. MORIN
2009-10-24 13:18 ` Mark Schaefer
0 siblings, 1 reply; 3+ messages in thread
From: Yann E. MORIN @ 2009-10-24 10:53 UTC (permalink / raw)
To: crossgcc; +Cc: Mark Schaefer
Mark,
All,
On Saturday 24 October 2009 03:24:57 Mark Schaefer wrote:
> Here's my process:
> ./configure --local
> make
> ./ct-ng build
> at this point, top shows no significant activity, but script is acting slowly.
If I do exactly that, then here's what I get:
# ./configure --local
# make
# ./ct-ng build
There is no existing .config file!
You need to either run 'menuconfig',
or configure an existing sample.
make: *** [.config] Error 1
#
So, I guess you did configure it (./ct-ng menuconfig) before you run the
actual build, right?
> When I finally get a ps, I get a page full of entries like this:
> ps ax
> 27913 pts/0 S 0:00 /bin/bash /home/mschaefe/crosstool-ng.1.
> 5.0/scripts/crosstool-NG.sh
> 27915 pts/0 S 0:00 /bin/bash
> /share/home/mschaefe/crosstool-ng.1.5.0/targets/bin/sed -r -e
> s/%N$/000000000/;
> 27921 pts/0 S 0:00 /bin/bash
> /share/home/mschaefe/crosstool-ng.1.5.0/targets/bin/grep -qw
> /usr/lib/ccache
None of the crosstool-NG scripts call grep with '-qw'.
The only solution I know of right now is to de-install ccache.
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. |
`------------------------------^-------^------------------^--------------------'
--
For unsubscribe information see http://sourceware.org/lists.html#faq
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: crosstool-NG build for powerpc on Fedora Core 11 = hundreds of grep processes
2009-10-24 10:53 ` Yann E. MORIN
@ 2009-10-24 13:18 ` Mark Schaefer
0 siblings, 0 replies; 3+ messages in thread
From: Mark Schaefer @ 2009-10-24 13:18 UTC (permalink / raw)
To: Yann E. MORIN; +Cc: crossgcc
Hi again,
You're correct, I did a menuconfig prior to that. And thanks,
de-installing ccache did the trick. I should have tried that first
before posting.
Thanks,
Mark
--
For unsubscribe information see http://sourceware.org/lists.html#faq
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-10-24 13:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <b268a2e40910231821v734053c0qe934b97bf6883470@mail.gmail.com>
2009-10-24 1:25 ` crosstool-NG build for powerpc on Fedora Core 11 = hundreds of grep processes Mark Schaefer
2009-10-24 10:53 ` Yann E. MORIN
2009-10-24 13:18 ` Mark Schaefer
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).