Damn! I will remove the offending code now.
-Nathan
HPC-3, LANL
On Tue, 25 Jan 2011, Jeff Squyres wrote:
FWIW, we might have a deal breaker back here at Cisco...
The OMPI code base is being used in an embedded environment with a toolchain
that (we think) was derived from gcc 3.x. It seems t
FWIW, we might have a deal breaker back here at Cisco...
The OMPI code base is being used in an embedded environment with a toolchain
that (we think) was derived from gcc 3.x. It seems to totally hate the
-std=gnu99 flag. :-(
Further, it is extremely unlikely that the toolchain will be upgrad
Wow, its a feature, not a bug. Its strange that it works without the
-xassembler when using gcc 4.2.
-Nathan
HPC-3, LANL
On Tue, 25 Jan 2011, Paul H. Hargrove wrote:
I found a root cause and a simpler/better simple fix:
From manpage for gcc on Linux:
file.s
Asse
Can you try with the current trunk head (r24296)?
I just committed a fix for the C/R functionality in which restarts were getting
stuck. This will likely affect the migration functionality, but I have not had
an opportunity to test just yet.
Another thing to check is that prelink is turned off o
I found a root cause and a simpler/better simple fix:
From manpage for gcc on Linux:
file.s
Assembler code.
And from Darwin:
file.s
Assembler code. Apple's version of GCC runs the
preprocessor on these files as well as
those ending in .S.
S
Ok, then there are two possible simple fixes:
- Strip -std from CCASFLAGS if Apple's gcc 4.0 is encountered, or
- Always strip -std from CCASFLAGS. The flag shouln't have any effect when
compiling assembly.
-Nathan
HPC-3, LANL
On Tue, 25 Jan 2011, Paul H. Hargrove wrote:
I can confirm that
I can confirm that the problem appears specific to Apple's compiler.
Since the failure was reported to be configure-time, that took less time
to check up on that I'd expected.
What I find is that gcc-4.0.0 on Linux/x86 *does* fail the
"#_gsym_test_func" test, but for the RIGHT reason, and then
I have gcc-4.0.0 on Linux built from unmodified FSF sources.
I will try to reproduce.
-Paul
On 1/25/2011 1:47 PM, Nathan Hjelm wrote:
Looks like a bug in Apple's gcc 4.0. I tried the source with gcc 3.4.6
and gcc 4.1.2 on Linux and did not see that error.
I will take a look and see if there i
Looks like a bug in Apple's gcc 4.0. I tried the source with gcc 3.4.6 and gcc
4.1.2 on Linux and did not see that error.
I will take a look and see if there is a simple fix to get around this apparent
compiler bug.
-Nathan
On Tue, 25 Jan 2011, Jeff Squyres wrote:
Short version
Short version
=
MTT turned up a problem with -std=gnu99 on OS X Leopard, which ships with the
gcc 4.0 compiler (OS X Snow Leopard ships with gcc 4.2, and doesn't have a
problem). Does anyone have gcc 4.0 on Linux? I'm wondering if the same
problem would occur.
More details:
=
10 matches
Mail list logo