From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1148 invoked by alias); 12 Oct 2005 19:09:09 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 1140 invoked by uid 22791); 12 Oct 2005 19:09:06 -0000 Received: from smtpsrv1.isis.unc.edu (HELO smtp.unc.edu) (152.2.1.140) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 12 Oct 2005 19:09:06 +0000 Received: from ceili (ceili.oit.unc.edu [152.2.21.207]) by smtp.unc.edu (8.13.4/8.13.4) with ESMTP id j9CJ8Ac4001954 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT) for ; Wed, 12 Oct 2005 15:08:10 -0400 (EDT) Date: Wed, 12 Oct 2005 19:09:00 -0000 From: Paul Mitchell To: gcc-help@gcc.gnu.org Subject: Gcc problem Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2005-10/txt/msg00056.txt.bz2 Folks, I'm a real newbie with Linux, and I've just been assigned to work on a set of Opterons for a Beowulf cluster. I've used gcc on the solaris boxes (and Xserves for that mattera) without a problem, but I'm stuck on the linux machines. What am I doing wrong? This occurs on any opteron, and the login baobab (out Beowulf cluster name) node: ipm add gcc Error: already subscribed to package gcc. baobab$ ipm r gcc baobab$ ipm add gcc baobab$ ./configure checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu Beginning configuration for readline-5.0 for x86_64-unknown-linux-gnu checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output... configure: error: C compiler cannot create executables See `config.log' for more details. baobab$ ssh op74 Warning: Permanently added the RSA host key for IP address '192.168.32.144' to the list of known hosts. pmitchel@op74's password: baobab$ cd admin/myrinet/mpichgm-1.2.6..14b /afs/isis.unc.edu/home/p/m/pmitchel/admin/myrinet/mpichgm-1.2.6..14b baobab$ ./configure Configuring MPICH Version 1.2.6 (release) of : 2004/08/04 11:10:38 checking whether filesystem respects case in file names... yes checking for current directory name... /afs/isis.unc.edu/home/p/m/pmitchel/admin/myrinet/mpichgm-1.2.6..14b checking for architecture... LINUX checking device... ch_p4 checking for install checking for ranlib checking gnumake... yes using --no-print-directory checking whether make supports include... yes checking OSF V3 make... no checking for virtual path format... VPATH checking for xlC checking for g++ *# C++ compiler g++ failed to compile a simple program *# C++ interface will not be built with this compiler checking for c++ *# C++ compiler c++ failed to compile a simple program *# C++ interface will not be built with this compiler checking for aCC checking for CC checking for cxx checking for cc... found /usr/bin/cc (cc) checking that the compiler cc accepts ANSI prototypes... no *# The compiler cc does not accept ANSI prototypes checking for gcc... found /afs/isis/pkg/gcc/bin/gcc (gcc) checking whether cross-compiling... yes checking that the compiler gcc runs... no /tmp/cc8ZQSty.s: Assembler messages: /tmp/cc8ZQSty.s:7: Error: suffix or operands invalid for `push' /tmp/cc8ZQSty.s:9: Error: suffix or operands invalid for `movq' /tmp/cc8ZQSty.s:19: Error: suffix or operands invalid for `push' /tmp/cc8ZQSty.s:21: Error: suffix or operands invalid for `movq' /afs/isis/pkg/gcc --> /afs/isis/pkg/gcc-343 Of course, anyone else in the place doesn't have this problem... Any answers will be appreciated, Paul Mitchell ============================================================================== Paul Mitchell email: pmitchel@email.unc.edu phone: (919) 962-9778 office: I have an office, room 14, Phillips Hall ==============================================================================