| View previous topic :: View next topic |
| Author |
Message |
MarkMawson
Joined: 31 Jan 2012 Posts: 2
|
Posted: Thu Feb 16, 2012 3:49 am Post subject: Error when compiling example code |
|
|
I've just installed v11.10 of the 64-bit linux accelerator compilers, when compiling a simple test program (which I've successfully compiled on other machines) I receive the following error:
| Code: | /usr/bin/ld: error: /opt/pgi/linux86-64/11.10/lib/pgi.ld: SECTIONS seen after other input files; try -T/--script
/usr/bin/ld: internal error in input_sections_begin, at ../../gold/merge.h:269
|
The error is the same whether I use the C or Fortran compiler, any ideas? |
|
| Back to top |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 4996 Location: The Portland Group Inc.
|
Posted: Thu Feb 16, 2012 12:50 pm Post subject: |
|
|
Hi Mark,
From what little I can find about this on the web, it seems to be an issue with the binutils-gold ld.
What OS are you using?
Is binutils-gold the default on this system or was it installed separately?
Can you try installing (if not already there) the standard binutils? (http://ftp.gnu.org/gnu/binutils/)
- Mat |
|
| Back to top |
|
 |
MarkMawson
Joined: 31 Jan 2012 Posts: 2
|
Posted: Fri Feb 17, 2012 6:27 am Post subject: |
|
|
| That worked nicely. Thanks. |
|
| Back to top |
|
 |
JohnCSYZ
Joined: 17 Jan 2013 Posts: 5
|
Posted: Tue Feb 12, 2013 6:05 pm Post subject: |
|
|
| MarkMawson wrote: | | That worked nicely. Thanks. |
I met the same problem, but the problem still there after I installed binutils lib.
But actually I get some confuse on the installed binutils, since I didn't see any gold dir or merge.h file in it.
Would you please show me how did you installed?
Thanks |
|
| Back to top |
|
 |
|