[mpich-discuss] Problems install MPICH2 on Solaris 10 i386_64

Timothy LeBlanc timothy.leblanc at gmail.com
Thu Jun 3 16:15:46 CDT 2010


Hi Dave

Thanks again for all the help. I have listed your request below. As I
mentioned before I'm not a Solaris guy by trade and wanted to build out a
test VMimage for a project I will be delivering on Solaris. I downloaded the
latest Solaris installer from Oracle/Sun and the latest Companion cd and
installed the whole Companion cd. Do I need something else? Could you point
me in a direction to get a compiler tool chain?

Thanks for the help.
Tim


bash-3.00$  /usr/sfw/bin/gas --version
GNU assembler 2.15
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `i386-pc-solaris2.10'.

bash-3.00$ /usr/sfw/bin/gas --help
Usage: /usr/sfw/bin/gas [option...] [asmfile...]
Options:
  -a[sub-option...]       turn on listings
                          Sub-options [default hls]:
                          c      omit false conditionals
                          d      omit debugging directives
                          h      include high-level source
                          l      include assembly
                          m      include macro expansions
                          n      omit forms processing
                          s      include symbols
                          =FILE  list to FILE (must be last sub-option)
  -D                      produce assembler debugging messages
  --defsym SYM=VAL        define symbol SYM to given value
  --execstack             require executable stack for this object
  --noexecstack           don't require executable stack for this object
  -f                      skip whitespace and comment preprocessing
  --gstabs                generate stabs debugging information
  --gstabs+               generate stabs debug info with GNU extensions
  --gdwarf2               generate DWARF2 debugging information
  --help                  show this message and exit
  --target-help           show target specific options
  -I DIR                  add DIR to search list for .include directives
  -J                      don't warn about signed overflow
  -K                      warn when differences altered for long
displacements
  -L,--keep-locals        keep local symbols (e.g. starting with `L')
  -M,--mri                assemble in MRI compatibility mode
  --MD FILE               write dependency information in FILE (default
none)
  -nocpp                  ignored
  -o OBJFILE              name the object-file output OBJFILE (default
a.out)
  -R                      fold data section into text section
  --statistics            print various measured statistics from execution
  --strip-local-absolute  strip local absolute symbols
  --traditional-format    Use same format as native assembler when possible
  --version               print assembler version number and exit
  -W  --no-warn           suppress warnings
  --warn                  don't suppress warnings
  --fatal-warnings        treat warnings as errors
  --itbl INSTTBL          extend instruction set to include instructions
                          matching the specifications defined in file
INSTTBL
  -w                      ignored
  -X                      ignored
  -Z                      generate object file even after errors
  --listing-lhs-width     set the width in words of the output data column
of
                          the listing
  --listing-lhs-width2    set the width in words of the continuation lines
                          of the output data column; ignored if smaller than
                          the width of the first line
  --listing-rhs-width     set the max width in characters of the lines from
                          the source file
  --listing-cont-lines    set the maximum number of continuation lines used
                          for the output data column of the listing
  -Q                      ignored
  -V                      print assembler version number
  -k                      ignored
  -n                      Do not optimize code alignment
  -q                      quieten some warnings
  -s                      ignored

Report bugs to bug-binutils at gnu.org




On Thu, Jun 3, 2010 at 4:50 PM, Dave Goodell <goodell at mcs.anl.gov> wrote:

> So your assembler seems to not tolerate "/" for literal expressions, but
> doesn't understand "--divide".  Would you also please send me the output of:
>
>  /usr/sfw/bin/gas --version
>  /usr/sfw/bin/gas --help
>
> According to http://sourceware.org/bugzilla/show_bug.cgi?id=4572 the "/"
> problem was introduced somewhere between binutils-2.13 to 2.15 versions, but
> it's not obvious to me when the "--divide" option was added.  Your version
> may fall into a gap between the two.
>
> It looks like you have a non-functional compiler tool chain on your Solaris
> box.  You should consider installing an updated one.
>
> -Dave
>
> On Jun 3, 2010 , at 2:34 PM CDT, Timothy LeBlanc wrote:
>
> > Hi Dave
> >
> > here it is.
> >
> > Tim
> >
> > On Thu, Jun 3, 2010 at 3:33 PM, Dave Goodell <goodell at mcs.anl.gov>
> wrote:
> > No.  In that case, please send the config.log instead.
> >
> > -Dave
> >
> > On Jun 3, 2010 , at 2:31 PM CDT, Timothy LeBlanc wrote:
> >
> > > Hi Dave
> > >
> > > When I run the command
> > > /configure CFLAGS=-Wa,--divide --prefix=/usr/local/bin/mpich2-install
> 2>&1 | tee c.txt
> > >
> > > The display only shows about 20 lines before failing they are:
> > > Configuring MPICH2 version 1.2.1p1 with  'CFLAGS=-Wa,--divide'
> '--prefix=/usr/local/bin/mpich2-install'
> > > Running on system: SunOS mars 5.10 Generic_141445-09 i86pc i386 i86pc
> > > Executing mpich2prereq in /work/mpich2/mpich2-1.2.1p1/src/mpid/ch3 with
> > > Executing mpich2prereq in
> /work/mpich2/mpich2-1.2.1p1/src/mpid/ch3/channels/nemesis
> > > sourcing /work/mpich2/mpich2-1.2.1p1/src/pm/mpd/mpich2prereq
> > > sourcing /work/mpich2/mpich2-1.2.1p1/src/pm/hydra/mpich2prereq
> > > sourcing /work/mpich2/mpich2-1.2.1p1/src/pm/gforker/mpich2prereq
> > > sourcing /work/mpich2/mpich2-1.2.1p1/src/pm/mpd/setup_pm
> > > checking for gcc... gcc
> > > checking for C compiler default output file name...
> > > configure: error: in `/work/mpich2/mpich2-1.2.1p1':
> > > configure: error: C compiler cannot create executables
> > > See `config.log' for more details.
> > >
> > > Do you still want me to run make and send you the m.txt file?
> > >
> > > Tim
> > >
> > >
> > > On Thu, Jun 3, 2010 at 2:40 PM, Dave Goodell <goodell at mcs.anl.gov>
> wrote:
> > > On Jun 3, 2010 , at 1:29 PM CDT, Timothy LeBlanc wrote:
> > >
> > > > --divide does not seem to be an acceptable parameter . When I type in
> configure --help it is not listed and it fails when I try using it.
> > > [...]
> > > > So I followed up with running:
> > > > ./configure CFLAGS=-Wa, --prefix=/usr/local/bin/mpich2-install 2>&1 |
> tee c.txt
> > >
> > > This is the not the format you should use.  The whole "-Wa,--divide"
> matters.  So the command should look like the first one you listed:
> > >
> > >  ./configure CFLAGS=-Wa,--divide --prefix=/usr/local/bin/mpich2-install
> 2>&1 | tee c.txt
> > >
> > > > And this fails in the same way as I explained. Seems to configure ok
> but then the make fails.
> > >
> > > Please send us the m.txt from the make command when using the above
> configuration:
> > >
> > >  make V=1 2>&1 | tee m.txt
> > >
> > > I'm surprised that this didn't work for you and I'd like to see what's
> really going on here.
> > >
> > > -Dave
> > > _______________________________________________
> > > mpich-discuss mailing list
> > > mpich-discuss at mcs.anl.gov
> > > https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
> > >
> > >
> > >
> > > --
> > > The information contained in this E-mail message is privileged,
> confidential, and may be protected from disclosure; please be aware that any
> other use, printing, copying, disclosure or dissemination
> > > of this communication may be subject to legal restriction or sanction.
> If you think that you have received this E-mail message in error, please
> reply to the sender and delete it from your computer. Thank you.
> > > _______________________________________________
> > > mpich-discuss mailing list
> > > mpich-discuss at mcs.anl.gov
> > > https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
> >
> > _______________________________________________
> > mpich-discuss mailing list
> > mpich-discuss at mcs.anl.gov
> > https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
> >
> >
> >
> > --
> > The information contained in this E-mail message is privileged,
> confidential, and may be protected from disclosure; please be aware that any
> other use, printing, copying, disclosure or dissemination
> > of this communication may be subject to legal restriction or sanction. If
> you think that you have received this E-mail message in error, please reply
> to the sender and delete it from your computer. Thank you.
> > <config.log>_______________________________________________
> > mpich-discuss mailing list
> > mpich-discuss at mcs.anl.gov
> > https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>



-- 
The information contained in this E-mail message is privileged,
confidential, and may be protected from disclosure; please be aware that any
other use, printing, copying, disclosure or dissemination
of this communication may be subject to legal restriction or sanction. If
you think that you have received this E-mail message in error, please reply
to the sender and delete it from your computer. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20100603/48ce929c/attachment.htm>


More information about the mpich-discuss mailing list