Re: internal compiler error with gcc 3.2

2002-09-03 Thread Giorgos Keramidas

On 2002-09-02 08:52 +, Steve Kargl wrote:
 To test gcc 3.2, I've been updating all of my installed
 ports.  It appears gcc 3.2 is having problems with
 libiconv-1.8_1.

It doesn't here.  I've used my own meta-port to install all the usual
stuff I want to have around, yesterday.  The installation of libiconv
stressed the machine a bit at one point (I think it was during
compiling iconv.c that is also giving you problems) but it went on and
eventually worked without problems.

charon@hades[14:58]/home/charon$ pkg_info | grep libiconv
libiconv-1.8_1  A character set conversion library
charon@hades[14:58]/home/charon$ gcc -v
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.2.1 [FreeBSD] 20020901 (prerelease)

 
 cc -I. -I. -I../include -I./../include -I/usr/local/include -O -pipe -march=athlon 
-c ./iconv.c  -fPIC -DPIC -o .libs/iconv.lo

Are you sure you're not hitting faulty memory or something?

-- 
FreeBSD: The Power to Serve -- http://www.FreeBSD.org

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: internal compiler error with gcc 3.2

2002-09-03 Thread Terry Lambert

Giorgos Keramidas wrote:
 On 2002-09-02 08:52 +, Steve Kargl wrote:
  To test gcc 3.2, I've been updating all of my installed
  ports.  It appears gcc 3.2 is having problems with
  libiconv-1.8_1.
 
 It doesn't here.
  cc -I. -I. -I../include -I./../include -I/usr/local/include -O -pipe
  -march=athlon -c ./iconv.c  -fPIC -DPIC -o .libs/iconv.lo
^

Discussed already...

-- Terry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



internal compiler error with gcc 3.2

2002-09-02 Thread Steve Kargl

To test gcc 3.2, I've been updating all of my installed
ports.  It appears gcc 3.2 is having problems with
libiconv-1.8_1.


cc -I. -I. -I../include -I./../include -I/usr/local/include -O -pipe -march=athlon -c 
./iconv.c  -fPIC -DPIC -o .libs/iconv.lo
In file included from gbk.h:64,
 from converters.h:202,
 from iconv.c:67:
gbkext1.h: In function `gbkext1_mbtowc':
gbkext1.h:852: unrecognizable insn:
(insn 157 155 159 (set (reg:QI 79)
(const_int 128 [0x80])) -1 (nil)
(nil))
gbkext1.h:852: Internal compiler error in extract_insn, at recog.c:2150
Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://www.gnu.org/software/gcc/bugs.html for instructions.
*** Error code 1


-- 
Steve

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: internal compiler error with gcc 3.2

2002-09-02 Thread Steve Kargl

On Mon, Sep 02, 2002 at 08:52:56AM -0700, Steve Kargl wrote:
 To test gcc 3.2, I've been updating all of my installed
 ports.  It appears gcc 3.2 is having problems with
 libiconv-1.8_1.
 
 
 cc -I. -I. -I../include -I./../include -I/usr/local/include -O -pipe\
 -march=athlon -c ./iconv.c  -fPIC -DPIC -o .libs/iconv.lo
  ^
This appears to be the cause of the problem.  If I comment
out CPUTYPE?=athlon in /etc/make.conf, then libiconv compiles
without a problem.

 In file included from gbk.h:64,
  from converters.h:202,
  from iconv.c:67:
 gbkext1.h: In function `gbkext1_mbtowc':
 gbkext1.h:852: unrecognizable insn:
 (insn 157 155 159 (set (reg:QI 79)
 (const_int 128 [0x80])) -1 (nil)
 (nil))
 gbkext1.h:852: Internal compiler error in extract_insn, at recog.c:2150
 Please submit a full bug report,
 with preprocessed source if appropriate.
 See URL:http://www.gnu.org/software/gcc/bugs.html for instructions.
 *** Error code 1

-- 
Steve

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: internal compiler error with gcc 3.2

2002-09-02 Thread Alexander Kabaev

On Mon, 2 Sep 2002 08:52:56 -0700
Steve Kargl [EMAIL PROTECTED] wrote:

 O -pipe -march=athlon 
  ^^
This bug is in GCC PR database. Do not use -march=athlon for now.
-- 
Alexander Kabaev

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: internal compiler error with gcc 3.2

2002-09-02 Thread Alexander Kabaev

BTW, the bug is present in official 3.2 release too.

-- 
Alexander Kabaev

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: internal compiler error with gcc 3.2

2002-09-02 Thread Andrea Campi

On Mon, Sep 02, 2002 at 09:01:31AM -0700, Steve Kargl wrote:
 On Mon, Sep 02, 2002 at 08:52:56AM -0700, Steve Kargl wrote:
  To test gcc 3.2, I've been updating all of my installed
  ports.  It appears gcc 3.2 is having problems with
  libiconv-1.8_1.
  
  
  cc -I. -I. -I../include -I./../include -I/usr/local/include -O -pipe\
  -march=athlon -c ./iconv.c  -fPIC -DPIC -o .libs/iconv.lo
   ^
 This appears to be the cause of the problem.  If I comment
 out CPUTYPE?=athlon in /etc/make.conf, then libiconv compiles
 without a problem.
 

I get the same error on a P3:

cc -I. -I. -I../include -I./../include -I/usr/local/include -O -pipe -march=pent
iumpro -c ./iconv.c  -fPIC -DPIC -o .libs/iconv.lo
In file included from gbk.h:64,
 from converters.h:202,
 from iconv.c:67:
gbkext1.h: In function `gbkext1_mbtowc':
gbkext1.h:852: unrecognizable insn:
(insn 157 155 159 (set (reg:QI 78)
(const_int 128 [0x80])) -1 (nil)
(nil))
gbkext1.h:852: Internal compiler error in extract_insn, at recog.c:2150
Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://www.gnu.org/software/gcc/bugs.html for instructions.
*** Error code 1


-- 
   Press every key to continue.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: internal compiler error with gcc 3.2

2002-09-02 Thread Steve Kargl

On Mon, Sep 02, 2002 at 12:05:40PM -0400, Alexander Kabaev wrote:
 On Mon, 2 Sep 2002 08:52:56 -0700
 Steve Kargl [EMAIL PROTECTED] wrote:
 
  O -pipe -march=athlon 
   ^^
 This bug is in GCC PR database. Do not use -march=athlon for now.

Okay.  In case it matters, world builds with -march=athlon set.

You may want to add a entry to src/UPDATING about the new
gcc 3.2 and any apparent gotcha's (like the problem with
-march=athlon).

-- 
Steve

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: internal compiler error with gcc 3.2

2002-09-02 Thread David W. Chapman Jr.

On Mon, Sep 02, 2002 at 09:01:31AM -0700, Steve Kargl wrote:
 On Mon, Sep 02, 2002 at 08:52:56AM -0700, Steve Kargl wrote:
  To test gcc 3.2, I've been updating all of my installed
  ports.  It appears gcc 3.2 is having problems with
  libiconv-1.8_1.
  
  
  cc -I. -I. -I../include -I./../include -I/usr/local/include -O -pipe\
  -march=athlon -c ./iconv.c  -fPIC -DPIC -o .libs/iconv.lo
   ^
 This appears to be the cause of the problem.  If I comment
 out CPUTYPE?=athlon in /etc/make.conf, then libiconv compiles
 without a problem.

Yes, seems to be any CPUTYPE as far as I can tell

-- 
David W. Chapman Jr.
[EMAIL PROTECTED]   Raintree Network Services, Inc. www.inethouston.net
[EMAIL PROTECTED]   FreeBSD Committer www.FreeBSD.org

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: internal compiler error with gcc 3.2

2002-09-02 Thread David O'Brien

On Mon, Sep 02, 2002 at 12:08:41PM -0400, Alexander Kabaev wrote:
 BTW, the bug is present in official 3.2 release too.

What about 3.1.1 release?

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: internal compiler error with gcc 3.2

2002-09-02 Thread Alexander Kabaev

On Mon, 2 Sep 2002 11:10:11 -0700
David O'Brien [EMAIL PROTECTED] wrote:

 On Mon, Sep 02, 2002 at 12:08:41PM -0400, Alexander Kabaev wrote:
  BTW, the bug is present in official 3.2 release too.
 
 What about 3.1.1 release?
I have GCC 3.1.1 port installed on STABLE. libiconv barf when compiled
with it too.

-- 
Alexander Kabaev

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: internal compiler error with gcc 3.2

2002-09-02 Thread Kris Kennaway

On Mon, Sep 02, 2002 at 09:01:31AM -0700, Steve Kargl wrote:
 On Mon, Sep 02, 2002 at 08:52:56AM -0700, Steve Kargl wrote:
  To test gcc 3.2, I've been updating all of my installed
  ports.  It appears gcc 3.2 is having problems with
  libiconv-1.8_1.
  
  
  cc -I. -I. -I../include -I./../include -I/usr/local/include -O -pipe\
  -march=athlon -c ./iconv.c  -fPIC -DPIC -o .libs/iconv.lo
   ^
 This appears to be the cause of the problem.  If I comment
 out CPUTYPE?=athlon in /etc/make.conf, then libiconv compiles
 without a problem.

I'm also seeing an internal compiler error during 'make depend' of my
kernel, with CPUTYPE=k6.  It goes away if I set NO_CPU_COPTFLAGS.

Kris



msg42485/pgp0.pgp
Description: PGP signature


Re: internal compiler error with gcc 3.2

2002-09-02 Thread Terry Lambert

Andrea Campi wrote:
   cc -I. -I. -I../include -I./../include -I/usr/local/include -O -pipe\
   -march=athlon -c ./iconv.c  -fPIC -DPIC -o .libs/iconv.lo
^
 
 I get the same error on a P3:
 
 cc -I. -I. -I../include -I./../include -I/usr/local/include -O -pipe
 -march=pentiumpro -c ./iconv.c  -fPIC -DPIC -o .libs/iconv.lo
  ^

Maybe -march=* doesn't work?

-- Terry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: internal compiler error with gcc 3.2

2002-09-02 Thread Alexander Kabaev

On Mon, 02 Sep 2002 17:20:49 -0700
Terry Lambert [EMAIL PROTECTED] wrote:

  cc -I. -I. -I../include -I./../include -I/usr/local/include -O -pipe
  -march=pentiumpro -c ./iconv.c  -fPIC -DPIC -o .libs/iconv.lo
   ^
 
 Maybe -march=* doesn't work?

I traced it down to broken if_convert optomization. 


-- 
Alexander Kabaev


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message