From owner-freebsd-sparc64@FreeBSD.ORG Tue Apr 22 17:30:53 2014 Return-Path: Delivered-To: sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 67033AAB for ; Tue, 22 Apr 2014 17:30:53 +0000 (UTC) Received: from mail-ee0-x22d.google.com (mail-ee0-x22d.google.com [IPv6:2a00:1450:4013:c00::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EFFAE13C8 for ; Tue, 22 Apr 2014 17:30:52 +0000 (UTC) Received: by mail-ee0-f45.google.com with SMTP id d17so4909233eek.32 for ; Tue, 22 Apr 2014 10:30:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=DZrxfal8ebagFpdAc9I34qVX7owCQL6m31oN8DQHeSw=; b=rf+Xo+9N0uFt8EXfVCWxAbjWRf6VzM0nuTBruI7NHkoolPXvv+/TUFKJTUnomfcn6X WETHoF5qpq+OF0J/uLHKNoUUljrWWT1pnzUOzdDPkXU07kRpsfEnY90K3i7+vXMYH/BB RdD2dhaJWYSTBKiLp3DlfNkbrRyjohemXqXzUxD919gNAfOKSMKy1AasjFRATNjfpuKn NMbawc8APkIXEHtcR1TZYJN0Rl1f4xS4A2rUqMFUVKHLA0HIJb1UTmrkOqezKjchNlNi VzOQnRbTKWted0S6qzkxWDSlYLGPk/oTCBAHE37YY6mk7BKagax/R7/a7U3EAFK0n93t jTCA== X-Received: by 10.14.246.1 with SMTP id p1mr57104112eer.20.1398187851267; Tue, 22 Apr 2014 10:30:51 -0700 (PDT) Received: from dhcp001.presid.infn.it (dhcp001.presid.infn.it. [141.108.8.51]) by mx.google.com with ESMTPSA id x45sm114821041eeu.23.2014.04.22.10.30.50 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 22 Apr 2014 10:30:50 -0700 (PDT) Message-ID: <5356A743.9010300@gmail.com> Date: Tue, 22 Apr 2014 19:30:43 +0200 From: Riccardo Veraldi User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: sparc64@freebsd.org Subject: Re: libsoup References: <5350D21A.5050800@gmail.com> <25617748.123.1397978390159.JavaMail.craig@w520> <53569D98.1040507@gmail.com> <20140422172251.GC43976@funkthat.com> In-Reply-To: <20140422172251.GC43976@funkthat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Apr 2014 17:30:53 -0000 On 4/22/14 7:22 PM, John-Mark Gurney wrote: > Riccardo Veraldi wrote this message on Tue, Apr 22, 2014 at 18:49 +0200: >> seems there is a problem with strcmp somewhere... > It's probably being passed a bogus pointer... > >> this happens on my Sun Blade 1000 UltraSPARC IIIcu >> >> here I reproduced the problem. > are you sure it isn't a problem where the prototype isn't in scope, > and so strcmp or other function is getting/returning an int (32bits) > instead of a pointer (64bits)? The C standard states that if there > isn't a prototype in scope it's assumed to always be an int... maybe... but how can I fix it then ? to succesfully compile libsoup I had to disable the configure script so that it won't compile the test program... bad idea but at least it goes on... >