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

Re: lintian and statically link binaries



On Wed, Jun 12, 2002 at 03:10:15PM +0200, Josip Rodin wrote:
> On Wed, Jun 12, 2002 at 01:16:33PM +0200, Oliver Kurth wrote:
> > I want to package cpuburn, this is a small collection of assembler
> > prgrams to test CPUs (x86 only). lintian gives me these errors:
> > 
> > oku@robin:~/debian/cpuburn-1.4$ lintian ../cpuburn_1.4-1_i386.deb
> > E: cpuburn: statically-linked-binary ./usr/sbin/burnBX

> > 
> > This statically linked is hardly a problem:
> > -rwxr-xr-x    1 oku      oku           612 Jun 12 12:38 burnBX
> > 
> > Can I just ignore this and write a file to /usr/share/lintian/overrides/ ?
> 
> Do you have a reason to link them statically instead of dynamically?

Oh, sorry, I should have mentiomed:

oku@robin:~/debian/cpuburn-1.4$ cat Makefile 
all : burnP5 burnP6 burnK6 burnK7 burnBX burnMMX
.S:
        gcc -s -nostdlib -o $@ $<

No libraries at all.

oku@robin:~/debian/cpuburn-1.4$ ldd burnK6
        not a dynamic executable
oku@robin:~/debian/cpuburn-1.4$ file burnK6
burnK6: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, stripped

Mermgfurt,
Oliver

Attachment: pgprZ7qS16K9B.pgp
Description: PGP signature


Reply to: