Ranga Nathan wrote:
>
> Anyone installed LiS-2.16?
> This is a pre-req for IBM Communication Server.
> I applied the specified patch and did a 'make'
>
> I many lines of errors like this:
> /usr/src/LiS/head/linux-mdep.c: In function `syscall_mknod':
> /usr/src/LiS/head/linux-mdep.c:167: error: asm-specifier for variable
> `__arg1' conflicts with asm clobber list
> /usr/src/LiS/head/linux-mdep.c: In function `syscall_unlink':
> /usr/src/LiS/head/linux-mdep.c:168: error: asm-specifier for variable
> `__arg1' conflicts with asm clobber list
> /usr/src/LiS/head/linux-mdep.c: In function `syscall_mount':
> /usr/src/LiS/head/linux-mdep.c:169: error: asm-specifier for variable
> `__arg1' conflicts with asm clobber list
> /usr/src/LiS/head/linux-mdep.c: In function `syscall_umount2':
> /usr/src/LiS/head/linux-mdep.c:171: error: asm-specifier for variable
> `__arg1' conflicts with asm clobber list
>
> Help please!


After some searching we found that this is caused
by some conflict between using gcc 3.3 and the
sles8-s390 2.4.19 kernel.  By default sles8-s390
comes with gcc 3.2 which works fine.

Here are the combinations I have tried:

                  gcc 3.2   gcc 3.3
                  -------   -------
   kernel 2.4.19   works     fails
   kernel 2.4.21   works     works

The sles8-s390 Service Pack 3 ships the 2.4.21 kernel level,
so applying that service pack is one solution to the problem.

Using gcc 3.2 for any kernel related (including LiS) compiles
is another solution.

A 'hack' is to copy the /usr/src/linux*/include/asm-s390/unistd.h
from a 2.4.21 kernel to the 2.4.19 system to do the LiS build.

The gcc 3.3 level is shown as recommended for the
June 2003 stream at the IBM developerworks web site:

http://www10.software.ibm.com/developerworks/opensource/linux390/june2003_recommended.shtml
but only if you also go to the recommended 2.4.21 kernel.

Paul Landay

Reply via email to