I installed the latest GPC beta (gpc-19990118) on a DEC3000/800 (Alpha) running Digital UNIX 4.0B and was able to compile and install without difficulty. However, anything I compile gives me the following error message when run:
internal error: duplicate constructor
No coredump or anything else is produced.
I compiled on top of GCC 2.8.1.
128 MB of RAM is installed. I uninstalled the DEC Pascal runtime to insure no conflict.
John L. Ries System Administrator Salford Systems Phone: (619) 543-8880 x25 Fax: (619) 543-8888 E-Mail: jries@salford-systems.com
John L. Ries wrote:
I installed the latest GPC beta (gpc-19990118) on a DEC3000/800 (Alpha) running Digital UNIX 4.0B and was able to compile and install without difficulty. However, anything I compile gives me the following error message when run:
internal error: duplicate constructor
In which stage of the compilation this message is produced? I'd guess it's during linking. `gpc -v ...' can tell you ...
Which linker do you use? Did you try the GNU linker?
Hoping that we can fix this,
Peter
On Wed, 1 Sep 1999, Peter Gerwinski wrote:
Date: Wed, 1 Sep 1999 00:40:35 +0200 From: Peter Gerwinski peter@gerwinski.de To: "John L. Ries" jries@salford-systems.com Cc: gpc@gnu.de Subject: Re: Help! Nothing runs
John L. Ries wrote:
I installed the latest GPC beta (gpc-19990118) on a DEC3000/800 (Alpha) running Digital UNIX 4.0B and was able to compile and install without difficulty. However, anything I compile gives me the following error message when run:
internal error: duplicate constructor
The compiler itself does not produce this message, nor does the linker. The executables produced by it do.
In which stage of the compilation this message is produced? I'd guess it's during linking. `gpc -v ...' can tell you ...
gpc -v produces the following:
Reading specs from /usr/local/lib/gcc-lib/alpha-dec-osf4.0b/2.8.1/specs gpc version 19990118, based on gcc-2.8.1
Which linker do you use? Did you try the GNU linker?
We use the DEC linker. I'm not willing to replace it outright with the GNU linker on this particular machine because this is our main development Alpha and we use DEC compilers (Fortran and C) to compile the bulk of our software. If it's possible to set up the GNU linker to work with the GNU compilers only (leaving the DEC linker to work with the DEC compilers) I'll go ahead and do it. Another possibility is to install gcc, gpc and gld on one of our other 2 Alphas. I'll follow which ever course you recommend.
Hoping that we can fix this,
Thank you very much for getting back with me.
John L. Ries System Administrator Salford Systems Phone: (619) 543-8880 x25 Fax: (619) 543-8888 E-Mail: jries@salford-systems.com