From owner-freebsd-sparc Sun Sep 22 14:13:23 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3808237B401 for ; Sun, 22 Sep 2002 14:13:23 -0700 (PDT) Received: from smtp05.wxs.nl (smtp05.wxs.nl [195.121.6.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3095843E4A for ; Sun, 22 Sep 2002 14:13:22 -0700 (PDT) (envelope-from Peter.Blok@inter.NL.net) Received: from bsdpc ([80.60.248.65]) by smtp05.wxs.nl (Netscape Messaging Server 4.15) with ESMTP id H2UYY801.DRV for ; Sun, 22 Sep 2002 23:13:20 +0200 Content-Type: text/plain; charset="us-ascii" From: "Peter J. Blok" To: freebsd-sparc@freebsd.org Subject: cast void * to int Date: Sun, 22 Sep 2002 23:10:38 +0200 User-Agent: KMail/1.4.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200209222310.38552.Peter.Blok@inter.NL.net> Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I am trying to port some modules to the sparc64 port, but I am getting warnings on places where void * is used to store an int. For example the void * private, sometimes point towards something. On other places it is used to store a 32 bit int. What is the nicest way to get around this? I mean when porting to a 64-bit architecture, lots of times this must have happened. What is the "best - freebsd" way to handle it? I can come up with a union, but that means lots of changes. Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sun Sep 22 14:34:41 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D8E937B401 for ; Sun, 22 Sep 2002 14:34:40 -0700 (PDT) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48A0043E3B for ; Sun, 22 Sep 2002 14:34:40 -0700 (PDT) (envelope-from mux@freebsd.org) Received: by elvis.mu.org (Postfix, from userid 1920) id 3D092AE162; Sun, 22 Sep 2002 14:34:40 -0700 (PDT) Date: Sun, 22 Sep 2002 14:34:40 -0700 From: Maxime Henrion To: "Peter J. Blok" Cc: freebsd-sparc@freebsd.org Subject: Re: cast void * to int Message-ID: <20020922213440.GA4530@elvis.mu.org> References: <200209222310.38552.Peter.Blok@inter.NL.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200209222310.38552.Peter.Blok@inter.NL.net> User-Agent: Mutt/1.4i Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Peter J. Blok wrote: > Hi, > > I am trying to port some modules to the sparc64 port, but I am getting > warnings on places where void * is used to store an int. > > For example the void * private, sometimes point towards something. On other > places it is used to store a 32 bit int. > > What is the nicest way to get around this? I mean when porting to a 64-bit > architecture, lots of times this must have happened. What is the "best - > freebsd" way to handle it? I can come up with a union, but that means lots of > changes. Use the C99 type intptr_t. Cheers, Maxime To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Tue Sep 24 10:13:25 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72BBE37B401 for ; Tue, 24 Sep 2002 10:13:24 -0700 (PDT) Received: from wall.polstra.com (wall-gw.polstra.com [206.213.73.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4A0F43E6A for ; Tue, 24 Sep 2002 10:13:23 -0700 (PDT) (envelope-from jdp@polstra.com) Received: from strings.polstra.com (strings.polstra.com [206.213.73.20]) by wall.polstra.com (8.11.3/8.11.3) with ESMTP id g8OHDMx58434 for ; Tue, 24 Sep 2002 10:13:22 -0700 (PDT) (envelope-from jdp@polstra.com) Message-ID: X-Mailer: XFMail 1.5.1 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Tue, 24 Sep 2002 10:13:22 -0700 (PDT) Organization: Polstra & Co., Inc. From: John Polstra To: sparc@freebsd.org Subject: Sparc64 CVSup port status Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I spent quite a bit of time last week trying to port CVSup (and ezm3) to FreeBSD/sparc64. I updated the ezm3 code generator to gcc-2.95.4, but I'm still running into what appear to be code generation bugs. The code isn't completely broken -- e.g., when it's about to die, it manages to print a message saying so. I don't know whether the problem is due to sparc bugs in gcc-2.95.4 or due to a porting bug on my part. I would try gcc-3.2, but that port looks like it would be a substantially larger effort. I don't think I can make any further progress on this until gdb works. And fixing gdb is not something I want to add to my personal task list. If someone else can get gdb working to the point where I can set breakpoints, step through code, examine variables, etc., then there's a reasonable chance I can get CVSup working on this platform. Until then, I'm afraid the effort is stalled. John To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Thu Sep 26 2:46:11 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9379137B401 for ; Thu, 26 Sep 2002 02:46:09 -0700 (PDT) Received: from cc-gw.1anetworks.net (cc-gw.1anetworks.net [193.243.179.83]) by mx1.FreeBSD.org (Postfix) with SMTP id AA38743E4A for ; Thu, 26 Sep 2002 02:46:08 -0700 (PDT) (envelope-from brian@ukip.com) Received: from BRI (brian.1anetworks.net [212.36.98.200]) by parma.1anetworks.net (8.9.3+Sun/8.9.3) with SMTP id KAA14374 for ; Thu, 26 Sep 2002 10:46:07 +0100 (BST) From: "Bri" To: Subject: Using the lastest Sparc64 Snapshot Date: Thu, 26 Sep 2002 10:42:27 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org When trying to compile netatalk 1.5.5 from sources it gives the error as follows Making all in asp source='asp_tickle.c' object='asp_tickle.lo' libtool=yes depfile='.deps/asp_tickle.Plo' tmpdepfile='.deps/asp_tickle.TPlo' depmode=gcc3 /bin/sh ../../depcomp /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../include -g -O2 -I.. /../sys -c -o asp_tickle.lo `test -f 'asp_tickle.c' || echo './'`asp_tickle.c rm -f .libs/asp_tickle.lo gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../include -g -O2 -I../../s ys -c asp_tickle.c -MT asp_tickle.lo -MD -MP -MF deps/asp_tickle.TPlo -fPIC -DPIC -o .libs/asp_tickle.lo In file included from asp_tickle.c:16: /usr/include/sys/socket.h:170: syntax error before "u_char" /usr/include/sys/socket.h:181: syntax error before "u_short" /usr/include/sys/socket.h:195: syntax error before "u_char" /usr/include/sys/socket.h:197: `int64_t' undeclared here (not in a function) /usr/include/sys/socket.h:197: `u_char' undeclared here (not in a function) /usr/include/sys/socket.h:197: size of array `__ss_pad1' is too large /usr/include/sys/socket.h:198: syntax error before "int64_t" /usr/include/sys/socket.h:199: `u_char' undeclared here (not in a function) /usr/include/sys/socket.h:199: `int64_t' undeclared here (not in a function) /usr/include/sys/socket.h:199: `u_char' undeclared here (not in a function) /usr/include/sys/socket.h:199: `int64_t' undeclared here (not in a function) /usr/include/sys/socket.h:200: confused by earlier errors, bailing out *** Error code 1 Stop in /GXP120/users/home/wheel/dome/netatalk-1.5.5/libatalk/asp. *** Error code 1 Stop in /GXP120/users/home/wheel/dome/netatalk-1.5.5/libatalk. *** Error code 1 Stop in /GXP120/users/home/wheel/dome/netatalk-1.5.5. *** Error code 1 Stop in /GXP120/users/home/wheel/dome/netatalk-1.5.5. Bri, To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Thu Sep 26 7:50:18 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 50EAE37B401 for ; Thu, 26 Sep 2002 07:50:17 -0700 (PDT) Received: from k6.locore.ca (k6.locore.ca [198.96.117.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 331DF43E3B for ; Thu, 26 Sep 2002 07:50:16 -0700 (PDT) (envelope-from jake@k6.locore.ca) Received: from k6.locore.ca (jake@localhost.locore.ca [127.0.0.1]) by k6.locore.ca (8.12.5/8.12.5) with ESMTP id g8QEqXbd001887; Thu, 26 Sep 2002 10:52:33 -0400 (EDT) (envelope-from jake@k6.locore.ca) Received: (from jake@localhost) by k6.locore.ca (8.12.5/8.12.5/Submit) id g8QEqXMK001886; Thu, 26 Sep 2002 10:52:33 -0400 (EDT) Date: Thu, 26 Sep 2002 10:52:33 -0400 From: Jake Burkholder To: Bri Cc: freebsd-sparc@FreeBSD.ORG Subject: Re: Using the lastest Sparc64 Snapshot Message-ID: <20020926105233.A218@locore.ca> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from brian@ukip.com on Thu, Sep 26, 2002 at 10:42:27AM +0100 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Apparently, On Thu, Sep 26, 2002 at 10:42:27AM +0100, Bri said words to the effect of; > When trying to compile netatalk 1.5.5 from sources it gives the error as > follows > > Making all in asp > source='asp_tickle.c' object='asp_tickle.lo' libtool=yes > depfile='.deps/asp_tickle.Plo' tmpdepfile='.deps/asp_tickle.TPlo' > depmode=gcc3 /bin/sh ../../depcomp /bin/sh ../../libtool --mode=compile > gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../include -g -O2 -I.. > /../sys -c -o asp_tickle.lo `test -f 'asp_tickle.c' || echo > './'`asp_tickle.c > rm -f .libs/asp_tickle.lo > gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../include -g -O2 -I../../s > ys -c asp_tickle.c -MT asp_tickle.lo -MD -MP -MF > deps/asp_tickle.TPlo -fPIC -DPIC -o .libs/asp_tickle.lo > In file included from asp_tickle.c:16: > /usr/include/sys/socket.h:170: syntax error before "u_char" > /usr/include/sys/socket.h:181: syntax error before "u_short" > /usr/include/sys/socket.h:195: syntax error before "u_char" > /usr/include/sys/socket.h:197: `int64_t' undeclared here (not in a function) > /usr/include/sys/socket.h:197: `u_char' undeclared here (not in a function) > /usr/include/sys/socket.h:197: size of array `__ss_pad1' is too large > /usr/include/sys/socket.h:198: syntax error before "int64_t" > /usr/include/sys/socket.h:199: `u_char' undeclared here (not in a function) > /usr/include/sys/socket.h:199: `int64_t' undeclared here (not in a function) > /usr/include/sys/socket.h:199: `u_char' undeclared here (not in a function) > /usr/include/sys/socket.h:199: `int64_t' undeclared here (not in a function) > /usr/include/sys/socket.h:200: confused by earlier errors, bailing out > *** Error code 1 > > Stop in /GXP120/users/home/wheel/dome/netatalk-1.5.5/libatalk/asp. > *** Error code 1 > > Stop in /GXP120/users/home/wheel/dome/netatalk-1.5.5/libatalk. > *** Error code 1 > > Stop in /GXP120/users/home/wheel/dome/netatalk-1.5.5. > *** Error code 1 > > Stop in /GXP120/users/home/wheel/dome/netatalk-1.5.5. Have you tried the port? Jake To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Thu Sep 26 18: 3:19 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC53D37B40C for ; Thu, 26 Sep 2002 18:03:12 -0700 (PDT) Received: from mx1.FreeBSD.org (mke-24-209-122-123.wi.rr.com [24.209.122.123]) by mx1.FreeBSD.org (Postfix) with SMTP id 1D87D43E8A for ; Thu, 26 Sep 2002 18:03:11 -0700 (PDT) (envelope-from nharlan@wi.rr.com) From: "nharlan" Date: Thu, 26 Sep 2002 20:15:30 To: freebsd-sparc@FreeBSD.org Subject: $60,000,000 IN 6 MONTHS! VERIFIABLE! CHEAT-PROOF! MIME-Version: 1.0 Content-Type: text/plain;charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <20020927010311.1D87D43E8A@mx1.FreeBSD.org> Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org MY PERSONAL GOAL IS TO MAKE CERTAIN THAT YOU RECEIVE $60,000,000 IN 6 MONTHS OR LESS! FACT #1 Those who "get in" on a proven successful program at it's "birth" are guaranteed success! FACT #2 THE UP WAS JUST BORN! YOU ARE AT YOUR DREAM LOCATION! THIS IT "IT"! * JUST LAUNCHED! *YOU CANNOT LOSE! *WE WON'T LET YOU! *OUR GOAL IS TO GET YOU $60,000,000 IN 6 MONTHS OR LESS! *JOIN A "FRATERNITY OF HELPERS" WHO WILL HELP YOU SUCCEED! *"THE ULITMATE PROGRAM" (UP) IS THE BEST PROGRAM IN EXISTENCE! *THE LAST PROGRAM YOU WILL EVER JOIN! STOP playing around with programs that possibly get you $20,000 or $40,000. We will help YOU get $60,000,000 IN 6 MONTHS OR LESS! The UP out-performs any other program because it's self-regulated. 100% Cheatproof and Verifiable. YOU VERIFY EACH MEMBER IS "REAL" BEFORE YOU JOIN! Thereby eliminating ALL guesswork! SIMPLE TO DO + YOU ARE NEVER ALONE! "FRATERNITY OF HELPERS" helping EACH OTHER SUCCEED! "Your success is Our Success"! Get your FREE copy ot THE "UP"! Request THE UP by email, with 'SEND UP" in the Subject LIne to: nharlan@wi.rr.com OR Go to the Official UP Site for more information at: http://www.theultimateprogram.com/default.asp?up=2054 My goal is for you to receive: $60,000,000 IN 6 MONTHS OR LESS! WE CAN DO THIS! When YOU SUCCEED, I SUCCEED, AND WE ALL WIN! JOIN THE UP TODAY before the Members List fills up! Sincerely, Nancy Harlan UP Member nharlan@wi.rr.com ******************************************************************** GO TO THE OFFICIAL SITE: http://www.theultimateprogram.com/default.asp?up=2054 ANY QUESTIONS, ANYTIME! nharlan@wi.rr.com ******************************************************************** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message