On 02/25/10 12:13 AM, William Kucharski wrote:
What I see in b133 is this:
$ CC test.cc
CC: Fatal error in ld: Segmentation Fault (core dumped)
ld: fatal: file /opt/sunstudio12.1/prod/lib/crti.o: section [9].rela.annotate
has invalid type [ SHT_RELA ]
When previously reported, the two
On 02/24/10 11:13 PM, William Kucharski wrote:
What I see in b133 is this:
$ CC test.cc
CC: Fatal error in ld: Segmentation Fault (core dumped)
ld: fatal: file /opt/sunstudio12.1/prod/lib/crti.o: section [9].rela.annotate
has invalid type [ SHT_RELA ]
If you have installed sunstudio12u1,
Till you get the updated compiler, you can try setting the environment
variable
LD_NOEXEC_64=1
-Siva
PS: Did we not just had a similar question?
On 02/25/10 11:10 AM, Ginn Chen wrote:
An old bug. You need to update the compiler.
However, I don't know how to do that on OpenSolaris.
I just
What I see in b133 is this:
$ CC test.cc
CC: Fatal error in ld: Segmentation Fault (core dumped)
ld: fatal: file /opt/sunstudio12.1/prod/lib/crti.o: section [9].rela.annotate
has invalid type [ SHT_RELA ]
--
This message posted from opensolaris.org
An old bug. You need to update the compiler.
However, I don't know how to do that on OpenSolaris.
I just rsync the updated compiler from a Solaris 10 machine.
Ginn
On Feb 25, 2010, at 1:13 PM, William Kucharski wrote:
What I see in b133 is this:
$ CC test.cc
CC: Fatal error in ld:
Try setting environment variable
LD_NOEXEC_64=1
and do the compilation.
Thank you for this! Indeed, when I do this, I'm able to compile the file. On
the other hand this breaks compilation with -m64 for which I need to unset this
variable.
Anyway, thanks!
Karel
--
This message posted from
Hello,
after update from b129 to b132 I'm not able to use CC as the called ld
segfaults:
$ cat test.cc
#include iostream
int
main()
{
std::cerr Hello std::endl;
return 0;
}
$ CC test.cc
CC: Fatal error in ld: Segmentation Fault (core dumped)
ld: fatal: file
Hello,
after update from b129 to b132 I'm not able to use CC as the called ld
segfaults:
$ cat test.cc
#include iostream
int
main()
{
std::cerr Hello std::endl;
return 0;
}
$ CC test.cc
CC: Fatal error in ld: Segmentation Fault (core dumped)
ld: fatal: file
Oops, the forum is not working correctly while trying to inline the
information. Please see transcript including CC/ld error message here:
http://www.mico.org/~karel/suncc_ld_segfault.txt
Thanks,
Karel
--
This message posted from opensolaris.org
___
On 02/16/10 07:49 AM, Karel Gardas wrote:
$ CC test.cc
CC: Fatal error in ld: Segmentation Fault (core dumped)
ld: fatal: file /opt/sunstudio12.1/prod/lib/crti.o: section [9].rela.annotate
has invalid type [ SHT_RELA ]
is this a known bug or should it be reported somewhere?
CR
John Martin wrote:
CR 6823945. Apply the latest SS12U1 patch 141858.
Which would require installing a machine running an older version
of Solaris, installing the Studio tools on it, and then patching,
since you can't apply SVR4 package patches on OpenSolaris (and
b132 means he must be running
Try setting environment variable
LD_NOEXEC_64=1
and do the compilation.
-Siva
On 16/02/2010 18:19, Karel Gardas wrote:
Hello,
after update from b129 to b132 I'm not able to use CC as the called ld
segfaults:
$ cat test.cc
#includeiostream
int
main()
{
std::cerr Hello std::endl;
return 0;
}
In the linker options, use -xannotate=no
--
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org
13 matches
Mail list logo