public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* GCC 4.7.1 - Solaris 10 SPARC Build - File not found resolved, takes too much time to run.
@ 2012-06-26 19:08 Bevilacqua, Argemiro (Ericsson Montreal R&D HUB)
  2012-06-26 19:37 ` Marc Glisse
  2012-06-26 19:49 ` Jonathan Wakely
  0 siblings, 2 replies; 5+ messages in thread
From: Bevilacqua, Argemiro (Ericsson Montreal R&D HUB) @ 2012-06-26 19:08 UTC (permalink / raw)
  To: gcc-help

Dear all,

I got two errors of "file not found", during my build of GCC
4.7.1 on Solaris 10. I could resolve them just renaming the
files that had wrong names. The correct names are *.hpp, but
I found two files with *.hp extensions.

I am running on a SUN T2000 machine. The compilation is still
running, taking several hours to complete. Is there an option
to run it more quickly? I have re-run it with "--prefix"
option.

Please, see below a clipped screenshot of my run.

Kind Regards,

Argemiro Bevilacqua
Unix Systems Support Analyst Sr. - HP Brasil Ltda.
Outsourcing Services Ericsson Account - Montreal R&D HUB
+55 11 9940-6188 mobile - Ericsson Same Time: xhparbe



...<clipped>

/home/xhparbe/gcc-obj/./gcc/xgcc -shared-libgcc -B/home/xhparbe/gcc-obj/./gcc -nostdinc++ \
-L/home/xhparbe/gcc-obj/sparc-sun-solaris2.10/libstdc++-v3/src \
-L/home/xhparbe/gcc-obj/sparc-sun-solaris2.10/libstdc++-v3/src/.libs \
-B/usr/local/sparc-sun-solaris2.10/bin/ -B/usr/local/sparc-sun-solaris2.10/lib/ -isystem \
/usr/local/sparc-sun-solaris2.10/include \
-isystem /usr/local/sparc-sun-solaris2.10/sys-include  \
  -x c++-header -nostdinc++ -g -O2 \
-I/home/xhparbe/gcc-obj/sparc-sun-solaris2.10/libstdc++-v3/include/sparc-sun-solaris2.10 \
-I/home/xhparbe/gcc-obj/sparc-sun-solaris2.10/libstdc++-v3/include \
-I/home/xhparbe/gcc/gcc-4.7.1/libstdc++-v3/libsupc++ -O2 \
-g /home/xhparbe/gcc/gcc-4.7.1/libstdc++-v3/include/precompiled/extc++.h \
-o sparc-sun-solaris2.10/bits/extc++.h.gch/O2g.gch
In file included from /home/xhparbe/gcc-obj/sparc-sun-solaris2.10/libstdc++-v3/include/ext/pb_ds/detail/standard_policies.hpp:45:0,
                 from /home/xhparbe/gcc-obj/sparc-sun-solaris2.10/libstdc++-v3/include/ext/pb_ds/assoc_container.hpp:47,
                 from /home/xhparbe/gcc/gcc-4.7.1/libstdc++-v3/include/precompiled/extc++.h:60:
/home/xhparbe/gcc-obj/sparc-sun-solaris2.10/libstdc++-v3/include/ext/pb_ds/hash_policy.hpp:281:81: \
fatal error: ext/pb_ds/detail/resize_policy/hash_load_check_resize_trigger_imp.hpp: No such file or directory
compilation terminated.
make[5]: *** [sparc-sun-solaris2.10/bits/extc++.h.gch/O2g.gch] Error 1
make[5]: Leaving directory `/home/xhparbe/gcc-obj/sparc-sun-solaris2.10/libstdc++-v3/include'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/xhparbe/gcc-obj/sparc-sun-solaris2.10/libstdc++-v3'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/xhparbe/gcc-obj/sparc-sun-solaris2.10/libstdc++-v3'
make[2]: *** [all-stage1-target-libstdc++-v3] Error 2
make[2]: Leaving directory `/home/xhparbe/gcc-obj'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/xhparbe/gcc-obj'
make: *** [all] Error 2
ecamoux0800:/home/xhparbe/gcc-obj{xhparbe}234 pwd
/home/xhparbe/gcc-obj
ecamoux0800:/home/xhparbe/gcc-obj{xhparbe}235 ls -lad ext
ext: No such file or directory
ecamoux0800:/home/xhparbe/gcc-obj{xhparbe}236



ecamoux0600:/home/xhparbe/gcc/gcc-4.7.1/libstdc++-v3/include/ext/pb_ds/detail/resize_policy{xhparbe}122 ls -l
total 104
-rw-r--r--   1 xhparbe  is          4912 Apr  9  2009 cc_hash_max_collision_check_resize_trigger_imp.hpp
-rw-r--r--   1 xhparbe  is          2779 Apr  9  2009 hash_exponential_size_policy_imp.hpp
-rw-r--r--   1 xhparbe  is          7780 May 11  2011 hash_load_check_resize_trigger_imp.hp             <------------- .hpp!
-rw-r--r--   1 xhparbe  is          2977 Jun 10  2011 hash_load_check_resize_trigger_size_base.hpp
...<clipped>

ecamoux0600:/home/xhparbe/gcc/gcc-4.7.1/libstdc++-v3/include/ext/pb_ds/detail/bin_search_tree_{xhparbe}135 ls -l
total 216
-rw-r--r--   1 xhparbe  is         12438 Jun 10  2011 bin_search_tree_.hpp
-rw-r--r--   1 xhparbe  is          5541 May 23  2011 constructors_destructor_fn_imps.hp                   <------------- .hpp!
-rw-r--r--   1 xhparbe  is          8090 May 23  2011 debug_fn_imps.hpp
-rw-r--r--   1 xhparbe  is          2938 May 23  2011 erase_fn_imps.hpp
...<clipped>

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

* Re: GCC 4.7.1 - Solaris 10 SPARC Build - File not found resolved, takes too much time to run.
  2012-06-26 19:08 GCC 4.7.1 - Solaris 10 SPARC Build - File not found resolved, takes too much time to run Bevilacqua, Argemiro (Ericsson Montreal R&D HUB)
@ 2012-06-26 19:37 ` Marc Glisse
  2012-06-26 20:20   ` Bevilacqua, Argemiro (Ericsson Montreal R&D HUB)
  2012-07-05 13:20   ` Bevilacqua, Argemiro (Ericsson Montreal R&D HUB)
  2012-06-26 19:49 ` Jonathan Wakely
  1 sibling, 2 replies; 5+ messages in thread
From: Marc Glisse @ 2012-06-26 19:37 UTC (permalink / raw)
  To: Bevilacqua, Argemiro (Ericsson Montreal R&D HUB); +Cc: gcc-help

On Tue, 26 Jun 2012, Bevilacqua, Argemiro (Ericsson Montreal R&D HUB) wrote:

> I got two errors of "file not found", during my build of GCC
> 4.7.1 on Solaris 10. I could resolve them just renaming the
> files that had wrong names. The correct names are *.hpp, but
> I found two files with *.hp extensions.
>
> I am running on a SUN T2000 machine. The compilation is still
> running, taking several hours to complete. Is there an option
> to run it more quickly? I have re-run it with "--prefix"
> option.

You know, it would help if you told us what you did: how you run 
configure, how you run make, etc.

Crystal ball (somewhat foggy) tells me your PATH doesn't have 
/usr/xpg6/bin:/usr/xpg4/bin before /usr/bin, and you didn't pass a -j20 
option to gmake.

-- 
Marc Glisse

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

* Re: GCC 4.7.1 - Solaris 10 SPARC Build - File not found resolved, takes too much time to run.
  2012-06-26 19:08 GCC 4.7.1 - Solaris 10 SPARC Build - File not found resolved, takes too much time to run Bevilacqua, Argemiro (Ericsson Montreal R&D HUB)
  2012-06-26 19:37 ` Marc Glisse
@ 2012-06-26 19:49 ` Jonathan Wakely
  1 sibling, 0 replies; 5+ messages in thread
From: Jonathan Wakely @ 2012-06-26 19:49 UTC (permalink / raw)
  To: Bevilacqua, Argemiro (Ericsson Montreal R&D HUB); +Cc: gcc-help

On 26 June 2012 20:06, Bevilacqua, Argemiro (Ericsson Montreal R&D HUB) wrote:
> Dear all,
>
> I got two errors of "file not found", during my build of GCC
> 4.7.1 on Solaris 10. I could resolve them just renaming the
> files that had wrong names. The correct names are *.hpp, but
> I found two files with *.hp extensions.

This usually means 'tar' went wrong when extracting the files from the
archive, make sure you use GNU tar and it will work.

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

* RE: GCC 4.7.1 - Solaris 10 SPARC Build - File not found resolved, takes too much time to run.
  2012-06-26 19:37 ` Marc Glisse
@ 2012-06-26 20:20   ` Bevilacqua, Argemiro (Ericsson Montreal R&D HUB)
  2012-07-05 13:20   ` Bevilacqua, Argemiro (Ericsson Montreal R&D HUB)
  1 sibling, 0 replies; 5+ messages in thread
From: Bevilacqua, Argemiro (Ericsson Montreal R&D HUB) @ 2012-06-26 20:20 UTC (permalink / raw)
  To: gcc-help

Hi Marc,

Thank you very much for the valuable reply. I will run again
using your recommendation and let you know when finished.

My answers are below.

1) I run configure without any options:
ecamoux0800:/home/xhparbe/gcc-obj{xhparbe}133 ../gcc/gcc-4.7.1/configure
(I will use "--prefix in my next run").

2) Also, I used no options to run make:
ecamoux0800:/home/xhparbe/gcc-obj{xhparbe}133 make
(I will use "-j20" in my nest run)

ecamoux0800:/home/xhparbe/gcc-obj{xhparbe}133 gcc --version
2.95.2
ecamoux0800:/home/xhparbe/gcc-obj{xhparbe}134 make --version
GNU Make 3.82
Built for sparc-sun-solaris2.10
Copyright (C) 2010  Free Software Foundation, Inc.

3) You are right, I don't have /usr/xpg6/bin:/usr/xpg4/bin
before /usr/bin and I didn't passed a -j20 option to gmake.
Good idea! I will change my $PATH as well.

Regards,
Argemiro

-----Original Message-----
From: Marc Glisse [mailto:marc.glisse@inria.fr]
Sent: terça-feira, 26 de junho de 2012 16:37
To: Bevilacqua, Argemiro (Ericsson Montreal R&D HUB)
Cc: gcc-help@gcc.gnu.org
Subject: Re: GCC 4.7.1 - Solaris 10 SPARC Build - File not found resolved, takes too much time to run.

On Tue, 26 Jun 2012, Bevilacqua, Argemiro (Ericsson Montreal R&D HUB) wrote:

> I got two errors of "file not found", during my build of GCC
> 4.7.1 on Solaris 10. I could resolve them just renaming the
> files that had wrong names. The correct names are *.hpp, but
> I found two files with *.hp extensions.
>
> I am running on a SUN T2000 machine. The compilation is still
> running, taking several hours to complete. Is there an option
> to run it more quickly? I have re-run it with "--prefix"
> option.

You know, it would help if you told us what you did: how you run
configure, how you run make, etc.

Crystal ball (somewhat foggy) tells me your PATH doesn't have
/usr/xpg6/bin:/usr/xpg4/bin before /usr/bin, and you didn't pass a -j20
option to gmake.

--
Marc Glisse

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

* RE: GCC 4.7.1 - Solaris 10 SPARC Build - File not found resolved, takes too much time to run.
  2012-06-26 19:37 ` Marc Glisse
  2012-06-26 20:20   ` Bevilacqua, Argemiro (Ericsson Montreal R&D HUB)
@ 2012-07-05 13:20   ` Bevilacqua, Argemiro (Ericsson Montreal R&D HUB)
  1 sibling, 0 replies; 5+ messages in thread
From: Bevilacqua, Argemiro (Ericsson Montreal R&D HUB) @ 2012-07-05 13:20 UTC (permalink / raw)
  To: gcc-help

Dear Marc Glisse and all,

I got SUCCESS!

I want to thank you and inform how I run the compilation of gcc-4.7.1.
I wish to share experience with all.

1) I didn´t inserted "/usr/xpg6/bin:/usr/xpg4/bin" at the beginning of
my PATH. I run the build several times with errors, then I decided
to read again http://gcc.gnu.org/install/prerequisites.html and
check everything. I could only get rid of errors after carefully
editing my PATH putting all GNU software at the beginning.

2) I had to create several symbolic links:
        cd /opt/csw/bin
        ln -s gar ar
        ln -s gawk awk
        ln -s gtar tar
        ln -s gnm nm
        ... and so on

3) Also edited my LD_LIBRARY_PATH environment variable including
the GNU software at the beginning. Editing $PATH and
$LD_LIBRARY_PATH was the solution, and made all the difference.

4) Run "rehash" and source .cshrc and .login before starting the
build.

5) gmp, mpc and mpfr: The best choice is to put them in the same
place as the GCC source code to be compiled togheter. I installed
Them precompiled, but got error with the lack of include files
*.h, I could not find these files, caution! Do not use .h files
that are different versions of the installed libraries. Use exactly
the versions numbers listed in the pre-requisites page.

6) -j option:  I started the build with -j20 that caused too much
Performance decrease in a machine that was in production. Use
This with caution with say, -j4 instead.

Have patience and GOOD LUCK!

Best Regards,

Argemiro Bevilacqua
Unix Systems Support Analyst Sr. - HP Brasil Ltda.
Outsourcing Services Ericsson Account - Montreal R&D HUB
+55 11 9940-6188 mobile - Ericsson Same Time: xhparbe





-----Original Message-----
From: Bevilacqua, Argemiro (Ericsson Montreal R&D HUB)
Sent: terça-feira, 26 de junho de 2012 17:19
To: gcc-help@gcc.gnu.org
Subject: RE: GCC 4.7.1 - Solaris 10 SPARC Build - File not found resolved, takes too much time to run.

Hi Marc,

Thank you very much for the valuable reply. I will run again
using your recommendation and let you know when finished.

My answers are below.

1) I run configure without any options:
ecamoux0800:/home/xhparbe/gcc-obj{xhparbe}133 ../gcc/gcc-4.7.1/configure
(I will use "--prefix in my next run").

2) Also, I used no options to run make:
ecamoux0800:/home/xhparbe/gcc-obj{xhparbe}133 make
(I will use "-j20" in my nest run)

ecamoux0800:/home/xhparbe/gcc-obj{xhparbe}133 gcc --version
2.95.2
ecamoux0800:/home/xhparbe/gcc-obj{xhparbe}134 make --version
GNU Make 3.82
Built for sparc-sun-solaris2.10
Copyright (C) 2010  Free Software Foundation, Inc.

3) You are right, I don't have /usr/xpg6/bin:/usr/xpg4/bin
before /usr/bin and I didn't passed a -j20 option to gmake.
Good idea! I will change my $PATH as well.

Regards,
Argemiro

-----Original Message-----
From: Marc Glisse [mailto:marc.glisse@inria.fr]
Sent: terça-feira, 26 de junho de 2012 16:37
To: Bevilacqua, Argemiro (Ericsson Montreal R&D HUB)
Cc: gcc-help@gcc.gnu.org
Subject: Re: GCC 4.7.1 - Solaris 10 SPARC Build - File not found resolved, takes too much time to run.

On Tue, 26 Jun 2012, Bevilacqua, Argemiro (Ericsson Montreal R&D HUB) wrote:

> I got two errors of "file not found", during my build of GCC
> 4.7.1 on Solaris 10. I could resolve them just renaming the
> files that had wrong names. The correct names are *.hpp, but
> I found two files with *.hp extensions.
>
> I am running on a SUN T2000 machine. The compilation is still
> running, taking several hours to complete. Is there an option
> to run it more quickly? I have re-run it with "--prefix"
> option.

You know, it would help if you told us what you did: how you run
configure, how you run make, etc.

Crystal ball (somewhat foggy) tells me your PATH doesn't have
/usr/xpg6/bin:/usr/xpg4/bin before /usr/bin, and you didn't pass a -j20
option to gmake.

--
Marc Glisse

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

end of thread, other threads:[~2012-07-05 13:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-26 19:08 GCC 4.7.1 - Solaris 10 SPARC Build - File not found resolved, takes too much time to run Bevilacqua, Argemiro (Ericsson Montreal R&D HUB)
2012-06-26 19:37 ` Marc Glisse
2012-06-26 20:20   ` Bevilacqua, Argemiro (Ericsson Montreal R&D HUB)
2012-07-05 13:20   ` Bevilacqua, Argemiro (Ericsson Montreal R&D HUB)
2012-06-26 19:49 ` Jonathan Wakely

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).