From owner-freebsd-ports@FreeBSD.ORG Tue Apr 12 17:30:54 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1860A16A4D0 for ; Tue, 12 Apr 2005 17:30:54 +0000 (GMT) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5850743D3F for ; Tue, 12 Apr 2005 17:30:51 +0000 (GMT) (envelope-from jon.drews@gmail.com) Received: by zproxy.gmail.com with SMTP id 34so1224621nzf for ; Tue, 12 Apr 2005 10:30:50 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=W5IbmrLFo0/3a5V4g5tgStxeBXDK4L4dRt5Aes14cbp3h1k4T81D8g8pHKsOk7f/rehCTQmxqVAJaTT9KKAJj5E5/KzndwKsYdfTCZuI0L1ov5tyNUltmd+z2eC5FDO4kgd+ZOABmNRZf4lvunNH2ZujIqFidS8bVCnVMknhKPo= Received: by 10.36.59.9 with SMTP id h9mr266885nza; Tue, 12 Apr 2005 10:30:50 -0700 (PDT) Received: by 10.36.59.20 with HTTP; Tue, 12 Apr 2005 10:30:50 -0700 (PDT) Message-ID: <8cb27cbf05041210306fdf64ad@mail.gmail.com> Date: Tue, 12 Apr 2005 11:30:50 -0600 From: Jon Drews To: FreeBSD Ports Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Port build appends -lm repeatedly X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jon Drews List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2005 17:30:54 -0000 Port GSL-1.6 5.3-STABLE FreeBSD 5.3-STABLE #0: Mon Jan 31 gcc version 3.4.2 [FreeBSD] 20040728 Hi: I am testing math/gsl before sending it in. I captured the output of the make to look for any problems or aberrations. I did find this one minor glitch. The final line of the make contains repeated math library calls: cc -O2 -pipe -march=pentiumpro -o .libs/gsl-histogram gsl-histogram.o .libs/libgsl.so -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm cblas/.libs/libg slcblas.so -lm -lm -Wl,--rpath -Wl,/usr/local/lib 1) are the repeated -lm a problem 2) how can I fix it ? This only happens with the last line of the compile. Kind regards Jonathan