Subject: Re: libpam cross build.sh (on i386) for sparc64 fails
To: None <current-users@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: current-users
Date: 12/31/2004 21:27:35
In article <20041230220055.GA25025@medusa.sis.pasteur.fr>,
Nicolas Joly <njoly@pasteur.fr> wrote:
>On Thu, Dec 30, 2004 at 06:08:32PM +0000, Christos Zoulas wrote:
>> In article <20041230162112.GA21655@medusa.sis.pasteur.fr>,
>> Nicolas Joly <njoly@pasteur.fr> wrote:
>> >
>> >Same message on alpha (i386 cross-build):
>> >
>> >#   compile  libpam/openpam_log.ln
>> >CC=/local/src/NetBSD/tool/alpha/bin/alpha--netbsd-gcc
>> >/local/src/NetBSD/tool/alpha/bin/alpha--netbsd-lint -chapbxzF -Sw -X 233
>> >-d /local/src/NetBSD/dest/alpha/usr/include  -DLIB_MAJ=0
>> >-DOPENPAM_STATIC_MODULES -DOPENPAM_STATIC_MODULE    -i
>> >/local/src/NetBSD/src/dist/openpam/lib/openpam_log.c
>> >/local/src/NetBSD/src/dist/openpam/lib/openpam_log.c(81): warning:
>> >expression has null effect [129]
>
>I saw commits messages for sparc and amd64, but not for alpha. Problem
>remains here.
>
>> >But got another one on amd64 (native build):
>> >
>> >#   compile  libpam/openpam_log.ln
>> >CC=/local/src/NetBSD/tool/amd64/bin/x86_64--netbsd-gcc
>> >/local/src/NetBSD/tool/amd64/bin/x86_64--netbsd-lint -chapbxzF -Sw -X
>> >233 -d /local/src/NetBSD/dest/amd64/usr/include  -DLIB_MAJ=0
>> >-DOPENPAM_STATIC_MODULES -DOPENPAM_STATIC_MODULE    -i
>> >/local/src/NetBSD/src/dist/openpam/lib/openpam_log.c
>> >/local/src/NetBSD/src/dist/openpam/lib/openpam_log.c(81): warning:
>> >illegal combination of pointer and integer, op = [123]
>> 
>> I think I just fixed both.
>
>`va_start()' problem gone on amd64. But i just got hit by another one :
>
>#   compile  libpam/openpam_ttyconv.ln
>CC=/local/src/NetBSD/tool/amd64/bin/x86_64--netbsd-gcc
>/local/src/NetBSD/tool/amd64/bin/x86_64--netbsd-lint -chapbxzF -Sw -X
>233 -d /local/src/NetBSD/dest/amd64/usr/include  -DLIB_MAJ=0
>-DOPENPAM_STATIC_MODULES -DOPENPAM_STATIC_MODULE    -i
>/local/src/NetBSD/src/dist/openpam/lib/openpam_ttyconv.c
>/local/src/NetBSD/dest/amd64/usr/include/signal.h(210): warning: dubious
>tag declaration: struct sigcontext [85]
>
>Thanks.

I think I fixed those two.

christos