[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help, please: Re: Bug#66572: Does not build on sparc arch



>  
> This package is a much cut down version of postgresql 6.3.2-15, which is
> present in the stable distribution for sparc.  I don't think I have cut
> out anything necessary, so the problem is probably a difference between 
> slink and potato on sparc.
> 
> The problem seems to be bad assembler instructions accessed through
> src/include/storage/s_lock.h, but I'm out of my depth.  Could someone
> please take a look and see what needs to be done to fix it.
> 

Here we go, in include/port/linux.h and include/storage/s_lock.h, change
"defined(sparc)" to "defined(__sparc__)".

I used to define "sparc" manually on the buildd, but have since decided to
leave it at gcc's default specs since I guess they know better, and force
fixes into packages that don't detect it properly. After making that
change, things built properly.

Go ahead and downgrade this bug to normal, since I have a build for sparc,
and the severity is questionable given the cirumstances (and the fact that
we need to forge ahead with test cycle 3). Check the current postgresql
for similar problems and fix it up in woody. That would satisfy Stephen
and I for this bug.

Ben

-- 
 -----------=======-=-======-=========-----------=====------------=-=------
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'



Reply to: