[Bug 1018626] Review Request: libfaketime - Manipulate system time per process for testing purposes

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

 



https://bugzilla.redhat.com/show_bug.cgi?id=1018626



--- Comment #3 from Paul Wouters <pwouters@xxxxxxxxxx> ---
odd

+ CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches  -m32
-march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables
-Wno-strict-aliasing'
+ make -j16 PREFIX=/usr LIBDIRNAME=/lib/faketime all
cc -o libfaketime.o -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches  -m32
-march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables
-Wno-strict-aliasing -std=gnu99 -Wall -Wextra -Werror -DFAKE_STAT -DFAKE_SLEEP
-DFAKE_TIMERS -DFAKE_INTERNAL_CALLS -fPIC -DPREFIX='"'/usr'"'
-DLIBDIRNAME='"'/lib/faketime'"'  libfaketime.c
cc -o libfaketimeMT.o -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches 
-m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables
-Wno-strict-aliasing -std=gnu99 -Wall -Wextra -Werror -DFAKE_STAT -DFAKE_SLEEP
-DFAKE_TIMERS -DFAKE_INTERNAL_CALLS -fPIC -DPREFIX='"'/usr'"'
-DLIBDIRNAME='"'/lib/faketime'"'  libfaketime.c
cc -o faketime -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches  -m32
-march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables
-Wno-strict-aliasing -std=gnu99 -Wall -Wextra -Werror -DFAKE_STAT -DFAKE_SLEEP
-DFAKE_TIMERS -DFAKE_INTERNAL_CALLS -fPIC -DPREFIX='"'/usr'"'
-DLIBDIRNAME='"'/lib/faketime'"'  faketime.c
-Wl,--version-script=libfaketime.map -lrt -ldl -lm -lpthread -lrt
cc -o libfaketime.so.1 -Wl,-soname,libfaketime.so.1
-Wl,--version-script=libfaketime.map -lrt -shared libfaketime.o -ldl -lm
-lpthread -lrt
cc -o libfaketimeMT.so.1 -Wl,-soname,libfaketimeMT.so.1
-Wl,--version-script=libfaketime.map -lrt -shared libfaketimeMT.o -ldl -lm
-lpthread -lrt
libfaketime.o: In function `ft_cleanup':
/builddir/build/BUILD/libfaketime-0.9.5/src/libfaketime.c:1275: multiple
definition of `timer_gettime'
/builddir/build/BUILD/libfaketime-0.9.5/src/libfaketime.c:1275: multiple
definition of `timer_settime'
collect2: error: ld returned 1 exit status
make: *** [libfaketime.so.1] Error 1
make: *** Waiting for unfinished jobs....
libfaketimeMT.o: In function `ft_cleanup':
/builddir/build/BUILD/libfaketime-0.9.5/src/libfaketime.c:1275: multiple
definition of `timer_gettime'
/builddir/build/BUILD/libfaketime-0.9.5/src/libfaketime.c:1275: multiple
definition of `timer_settime'
collect2: error: ld returned 1 exit status
make: *** [libfaketimeMT.so.1] Error 1
RPM build errors:

I don't see that on x86_64. Will investigate

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review





[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]