Julian Coleman | 2 Jan 2004 12:36
Picon

No Mozilla nor KDE with gcc 3.3 on sparc

The g++ compiler that is in current will crash (internal compiler error)
when trying to convert a va_arg() to a double (e.g. the attached code).
Both MozillaFirebird and KDE (qt3-libs) have code like this, so it's not
possible to compile these packages for sparc.  I raised gcc bug 13173 for
this, but it's not going to be fixed on the 3.3 branch.

J

  - - 8< - - - - - - - - - - - - - Cut here - - - - - - - - - - - - - >8 - -

  $ cat zz.C
  #include <stdarg.h>
  static void parse_va(va_list ap) { double val = va_arg(ap, double); }

  $ g++ -c -o zz.o zz.C
  zz.C: In function `void parse_va(char*)':
  zz.C:2: internal compiler error: in convert_move, at expr.c:565
  Please submit a full bug report,
  with preprocessed source if appropriate.
  See <URL:http://www.netbsd.org/Misc/send-pr.html> for instructions.

--

-- 
  My other computer also runs NetBSD    /        Sailing at Newbiggin
        http://www.netbsd.org/        /   http://www.newbigginsailingclub.org/  

TROTTI-IMPORT | 3 Jan 2004 01:37

Meilleurs Voeux 2004 !


Bonjour,

Nous vous souhaitons une excellente nouvelle année 2004 !

Tous nos voeux de réussite professionnelle, et personnelle.

Cordialement
Toute l'équipe commerciale
Ste KORAC
www.trotti-import.net
info <at> trotti-import.net

/////////////////////////////////////////////////////////////////
Offre spéciale janvier 2004 : - 10% de remise sur votre commande
de trottinette à l'unité. "CODE PROMO : TROTTI-2004"
/////////////////////////////////////////////////////////////////

matthew green | 3 Jan 2004 14:48
Picon
Favicon

GCC3 ICE with netpbm/kdegraphics


hi folks.

i was building kde3 the other day and i came across an internal
compiler error that -O0 got around.  i finally tracked it down to a
change made on the GCC3.3 branch that doesn't have the same failure
mode on the gcc mainline as it does the 3.3 branch.

i may commit this change to our tree after i test it on some other
platforms as well ... but it does let 'exif.c' compile with -O2.

.mrg.

Index: recog.c
===================================================================
RCS file: /cvsroot/src/gnu/dist/gcc/gcc/recog.c,v
retrieving revision 1.1.1.1
diff -p -r1.1.1.1 recog.c
*** recog.c	23 Jul 2003 02:41:01 -0000	1.1.1.1
--- recog.c	3 Jan 2004 13:25:06 -0000
*************** split_all_insns (upd_life)
*** 2853,2859 ****

    if (changed && upd_life)
      update_life_info (blocks, UPDATE_LIFE_GLOBAL_RM_NOTES,
! 		      PROP_DEATH_NOTES | PROP_REG_INFO);

  #ifdef ENABLE_CHECKING
    verify_flow_info ();
--- 2853,2859 ----
(Continue reading)

phufnagel | 7 Jan 2004 15:54

free HW.

House cleaning, I have two Sparc 1+'s, two Sparc 10's, and
a Sparc 20 I'm looking to get rid of.  Sparc 10's are, I
believe SM40's, the sparc 20 not sure but I'll check.  Just
looking for interest, if there is any I'll test them out to
make sure all is well before sending them anywhere.

Free for pickup in CT, or I'd even be willing to deliver
in a reasonable distance.  Otherwise cover shipping and
they are yours.

phufnagel | 8 Jan 2004 16:24

IPX/etc. "L" stand

Anyone want one of those "L" shaped stands for an IPX or LX?
I have one here, and no machine for it.  Free, I'll even pay
for the shipping.

Pete

Andreas_Hallmann | 8 Jan 2004 18:02

marrying BUILDID and cpuflags

Hi folks,

cpuflags now cooperates very well with most parts of pkgsrc.

To make BUILDID benefit of this ongoing development,
you can make BUILDID use the knowledge build into cpuflags.

As cpuflags.mk only calculate $CPU_FLAGS, if its not set in the environment,
setting CPU_FLAGS by BUILDID works (great).

Put the following at the begining of /etc/mk.conf

Than you are free to set BUILDID in the "profile" of your machine, and get anything 
compiled as you want it.

It is useful for me, may be you like it too.

AHA
---
#
# This peace combines the benefits of cpuflags and buildid in mk.conf (AHA)
#
#Note, if you use the BUILDID stuff I added to the build system a while
#ago, you can make this even more fine-grained.  For example, if you have
#both SPARC v7 and SPARC v8 machines, you can set the BUILDID when you
#build the tree:
#
#       ./build.sh -m sparc -B v8 ...
#
#creating separate obj dirs, and then test like:
(Continue reading)

Brian A. Seklecki | 10 Jan 2004 07:50

Re: GCC3 ICE with netpbm/kdegraphics

On Sat, 2004-01-03 at 08:48, matthew green wrote:
> hi folks.
> 
> 
> i was building kde3 the other day and i came across an internal
> compiler error that -O0 got around.  i finally tracked it down to a

OT, but whenever KDE3 and Sparc appear together I'm always intrigued:
What model sparc is spec'd to handle KDE3?  Moreover, without 24 bit X11
how enjoyable could it possibly be (unless you're running it remotely?)

It didn't even run well on my 300+mhz U5.

-lava

Fr3aK3r | 10 Jan 2004 13:29
Picon

Xserver failure

Hi,

Installed NetBSD 1.6.1 recently from iso cd image and it's up and running 
nicely.

The X server is the one thing i can't seem to get running.
Looking at the docs on netbsd.org i'd say i need to configure /etc/ttys and /
etc/wscons.conf for several screens to become available, but another doc on 
netbsd.org says 1.6.1 configures these things automatically.

I don't see any /dev/ttyE entries and the X server fails with no screens found 
when i try to start startx. Also i don't know if the framebuffer is actually 
coming up since dmesg|grep fb does not show any framebuffer.

Only dmesg|grep ATI shows :

ATI Technologies 3D Rage Pro (VGA display, revision 0x5c) at pci1 dev 2 
function 0 not configured

Any pointers or ideas ?

Thanks in advance
--

-- 
	-= resistance is futile =-

		Fr3aK3r

matthew green | 10 Jan 2004 13:49
Picon
Favicon

re: GCC3 ICE with netpbm/kdegraphics


   On Sat, 2004-01-03 at 08:48, matthew green wrote:
   > hi folks.
   > 
   > 
   > i was building kde3 the other day and i came across an internal
   > compiler error that -O0 got around.  i finally tracked it down to a

   OT, but whenever KDE3 and Sparc appear together I'm always intrigued:
   What model sparc is spec'd to handle KDE3?  Moreover, without 24 bit X11
   how enjoyable could it possibly be (unless you're running it remotely?)

   It didn't even run well on my 300+mhz U5.

konqueror seemed to run fine on the U2/200.  takes a little bit longer
than my new laptop to startup of course :-)  it is only 8 bit, but the
user of this desktop doesn't seem to mind...

i have not yet run the full kde login - i would have but "kdm" doesn't
work on sparc64....and i haven't yet figured out why not.

it does take a LONG TIME to startup on my G4/733 running netbsd, so i
don't expect it to start up fast on the U2 at all ;-)

.mrg.

Greg Earle | 10 Jan 2004 19:04
Picon

Re: Xserver failure

> The X server is the one thing i can't seem to get running.
> 
> [...]
> 
> ATI Technologies 3D Rage Pro (VGA display, revision 0x5c) at pci1 dev 2 
> function 0 not configured
> 
> Any pointers or ideas ?

Sounds like you've got an Ultra 5/10/30/60/80 (you didn't say which
machine you have ... kinda useful to know) and it's got the default
PCI video card which isn't supported in 1.6.1 as far as I know.

At any rate, you should probably be asking this on port-sparc64 so
I've redirected followups over there.

	- Greg


Gmane