control: reassign -1 libc6 2.19-18+deb8u4 On Fri, Apr 22, 2016 at 06:27:34PM +0800, jian wang wrote: > Package: lib6 lost a 'c' :) reassigning. > Version: 2.19-18+deb8u4 > Severity: important > > vDSO is not in effect in static linked executable on jessie. This is > not the case with wheezy. > > We build binary to run on both wheezy and jessie, so -static. When > building platform is wheezy, vdso works fine, but jessie the opposite. > > This leads to performance hit. Unfortunately, we use g++ 4.9 for some > application, so wheezy can't be used as build platform. > > How to reproduce > > $ cat t.c > #include <time.h> > #include <unistd.h> > #include <stdio.h> > #include <sys/time.h> > > int main() > { > struct timeval now; > gettimeofday(&now, NULL); > printf("%d\n", now.tv_sec); > printf("%d\n", time(NULL)); > return 0; > } > > $ gcc -static t.c > > $ strace ./a.out > > From output, you can see syscall gettimeofday() is called. -- regards, Mattia Rizzolo GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`. more about me: https://mapreri.org : :' : Launchpad user: https://launchpad.net/~mapreri `. `'` Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
Attachment:
signature.asc
Description: PGP signature