egcs 1.0.3a Internal compiler error (debian apt)
compiling apt-0.0.15 (experimental debian package manager)
(ftp://ftp.debian.org/debian/projects/experimental/apt*.tar.gz)
~/apt-0.0.15# /opt/pkgs/egcs-1.0.3a//bin/g++ -v
Reading specs from /opt/pkgs/egcs-1.0.3a/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.90.29/specs
gcc version egcs-2.90.29 980515 (egcs-1.0.3 release)
~/apt-0.0.15#
make[2]: Entering directory `/home.local/job/apt-0.0.15/contrib'
/opt/pkgs/egcs-1.0.3a//bin/g++ -bi686-pc-linux-gnu -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I.. -I.. -I. -I. -I../include -I../include -I../intl -I../intl -g -O2 -c pointer.cc
../include/pkglib/dpointer.h: In method `void DPointer::malloc(unsigned int)':
In file included from pointer.cc:24:
../include/pkglib/dpointer.h:52: Internal compiler error.
../include/pkglib/dpointer.h:52: Please submit a full bug report to `egcs-bugs@cygnus.com'.
make[2]: *** [pointer.o] Error 1
make[2]: Leaving directory `/home.local/job/apt-0.0.15/contrib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home.local/job/apt-0.0.15'
make: *** [all-recursive-am] Error 2
relavent part of dpointer.h:
/* Double Smart-Pointer template definition
This template allows for making smart double-pointers to an arbitrary type.
It also overloads the standard pointer operators to allow them to be used
normally. */
class DPointer
{
protected:
IPtr <Pointer> dPtr; // double pointer to data
public:
// Assignment
DPointer& operator= (const DPointer& rhs);
DPointer& operator= (const Pointer& rhs);
// Comparision
bool operator ==(const DPointer& rhs) const;
bool operator !=(const DPointer& rhs) const;
bool operator ==(const Pointer& rhs) const;
bool operator !=(const Pointer& rhs) const;
bool operator !(void) const;
bool isValid(void) const;
bool isNull(void) const;
// Casting
operator const void*() const {return isValid()?(const void *)*dPtr : NULL;};
operator const Pointer&() const {return *dPtr;};
operator void*() {return(isValid() ? (void*)*dPtr : NULL);};
operator Pointer&() {return *dPtr;};
// Allocation
void malloc(size_t size) {(*dPtr).malloc(size);};
void free(void) {(*dPtr).free();};
void resize(size_t o, size_t n) {(*dPtr).resize(o,n);};
// Construct/destruct
DPointer(void);
DPointer(const DPointer& rhs);
~DPointer(void);
};
~/apt-0.0.15# uname -a
Linux peanut 2.0.30 #18 Tue Jun 3 12:18:43 CDT 1997 i686 unknown
~/apt-0.0.15# cat /proc/cpuinfo
processor : 0
cpu : 686
model : Pentium Pro
vendor_id : GenuineIntel
stepping : 2
fdiv_bug : no
hlt_bug : no
fpu : yes
fpu_exception : yes
cpuid : yes
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic 11 mtrr pge mca cmov
bogomips : 149.50
processor : 1
cpu : 686
model : Pentium Pro
vendor_id : GenuineIntel
stepping : 2
fdiv_bug : no
hlt_bug : no
fpu : yes
fpu_exception : yes
cpuid : yes
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic 11 mtrr pge mca cmov
bogomips : 149.50
~/apt-0.0.15#
~/apt-0.0.15# free
total used free shared buffers cached
Mem: 126968 121024 5944 28896 22820 62208
-/+ buffers/cache: 35996 90972
Swap: 143352 9488 133864
~/apt-0.0.15#
--
To UNSUBSCRIBE, email to deity-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: