From owner-freebsd-current@FreeBSD.ORG Sat Sep 15 21:59:42 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86F4D16A46C for ; Sat, 15 Sep 2007 21:59:42 +0000 (UTC) (envelope-from tomdean@speakeasy.org) Received: from mail3.sea5.speakeasy.net (mail3.sea5.speakeasy.net [69.17.117.5]) by mx1.freebsd.org (Postfix) with ESMTP id 4C2F113C4DB for ; Sat, 15 Sep 2007 21:59:42 +0000 (UTC) (envelope-from tomdean@speakeasy.org) Received: (qmail 17347 invoked from network); 15 Sep 2007 21:59:41 -0000 Received: from dsl081-173-150.sea1.dsl.speakeasy.net (HELO dv6000.tddhome) ([64.81.173.150]) (envelope-sender ) by mail3.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 15 Sep 2007 21:59:41 -0000 Received: from dv6000.tddhome (localhost [127.0.0.1]) by dv6000.tddhome (8.14.1/8.14.1) with ESMTP id l8FLxfwu008170 for ; Sat, 15 Sep 2007 14:59:41 -0700 (PDT) (envelope-from tomdean@dv6000.tddhome) Received: (from tomdean@localhost) by dv6000.tddhome (8.14.1/8.14.1/Submit) id l8FLxfha008167; Sat, 15 Sep 2007 14:59:41 -0700 (PDT) (envelope-from tomdean) Date: Sat, 15 Sep 2007 14:59:41 -0700 (PDT) Message-Id: <200709152159.l8FLxfha008167@dv6000.tddhome> From: "Thomas D. Dean" To: freebsd-current@freebsd.org Subject: Compiler Problems? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Sep 2007 21:59:42 -0000 I believe we may have a compiler problem with gcc42, and, possiblly 4.1. I point out gcc42 because of the below problem which is a seemingly disconnect with an application and xorg. I have some problems with -current that may also be a disconnect between an application and xorg. I had a problem with scilab under both -stable and -current. I installed the port with the default make files. I saw no errors during build/install. Scilab failed at run time. ports/116378 and earlier kern/116166 which was changed to ports. Math/scilab uses math/lapack and math/blas and builds everything with gcc42 and gfortran42. I distrust things which do not use the default system build tools. All three ports were up-to-date as of yesterday. Running -stable, # uname -a FreeBSD dv6000.tddhome 6.2-STABLE FreeBSD 6.2-STABLE #2: \ Sat Sep 15 11:31:41 PDT 2007 \ root@dv6000.tddhome:/scratch/obj/usr/usr/src/sys/SMP i386 I deinstalled scilab, blas, and, lapack. I rebuilt them with the default system compilers, g77 and cc. The problem went away. Scilab uses two gfortran specific calls in routines/os_specific/getarg.c. Fixing these and changing the makefiles fixed the problem. Scilab. Changed Makefile to use g77, cc, c++ USE_FORTRAN= g77 CC=cc CXX=c++ F77=f77 build lapack with g77 USE_FORTRAN=g77 build blas with g77 USE_FORTRAN=g77 Removed gfortran from /scratch/obj/ports/usr/ports/math/scilab/work/scilab-4.1.1/routines/os_specific/getarg.c By using the default call in the #if..else statement. tomdean