* [PATCH rt-tests] pi_stress: remove timestamp of compilation from version output
@ 2015-02-17 15:08 Uwe Kleine-König
2015-02-17 16:46 ` John Kacur
2015-02-17 18:03 ` Sebastian Andrzej Siewior
0 siblings, 2 replies; 3+ messages in thread
From: Uwe Kleine-König @ 2015-02-17 15:08 UTC (permalink / raw)
To: Clark Williams; +Cc: linux-rt-users
Having the date and time of compilation is hardly useful and is in the
way for reproducible building binaries.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
Hello,
a few people work on getting reproducible builds for Debian. Using
__DATE__ and __TIME__ obviously makes the rt-tests package fail to
compile in a deterministic fashion.
Best regards
Uwe
src/pi_tests/pi_stress.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/pi_tests/pi_stress.c b/src/pi_tests/pi_stress.c
index e273d62..9b33fad 100644
--- a/src/pi_tests/pi_stress.c
+++ b/src/pi_tests/pi_stress.c
@@ -1235,7 +1235,6 @@ void process_command_line(int argc, char **argv)
break;
case 'V':
printf("pi_stress v%1.2f ", VERSION_STRING);
- printf("(%s %s)\n", __DATE__, __TIME__);
exit(0);
case 'u':
uniprocessor = 1;
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH rt-tests] pi_stress: remove timestamp of compilation from version output
2015-02-17 15:08 [PATCH rt-tests] pi_stress: remove timestamp of compilation from version output Uwe Kleine-König
@ 2015-02-17 16:46 ` John Kacur
2015-02-17 18:03 ` Sebastian Andrzej Siewior
1 sibling, 0 replies; 3+ messages in thread
From: John Kacur @ 2015-02-17 16:46 UTC (permalink / raw)
To: Uwe Kleine-König; +Cc: Clark Williams, linux-rt-users
[-- Attachment #1: Type: TEXT/PLAIN, Size: 1042 bytes --]
On Tue, 17 Feb 2015, Uwe Kleine-König wrote:
> Having the date and time of compilation is hardly useful and is in the
> way for reproducible building binaries.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> ---
> Hello,
>
> a few people work on getting reproducible builds for Debian. Using
> __DATE__ and __TIME__ obviously makes the rt-tests package fail to
> compile in a deterministic fashion.
>
> Best regards
> Uwe
>
> src/pi_tests/pi_stress.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/src/pi_tests/pi_stress.c b/src/pi_tests/pi_stress.c
> index e273d62..9b33fad 100644
> --- a/src/pi_tests/pi_stress.c
> +++ b/src/pi_tests/pi_stress.c
> @@ -1235,7 +1235,6 @@ void process_command_line(int argc, char **argv)
> break;
> case 'V':
> printf("pi_stress v%1.2f ", VERSION_STRING);
> - printf("(%s %s)\n", __DATE__, __TIME__);
> exit(0);
> case 'u':
> uniprocessor = 1;
> --
> 2.1.4
>
> --
This patch is okay with me.
Signed-off-by: John Kacur <jkacur@redhat.com>>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH rt-tests] pi_stress: remove timestamp of compilation from version output
2015-02-17 15:08 [PATCH rt-tests] pi_stress: remove timestamp of compilation from version output Uwe Kleine-König
2015-02-17 16:46 ` John Kacur
@ 2015-02-17 18:03 ` Sebastian Andrzej Siewior
1 sibling, 0 replies; 3+ messages in thread
From: Sebastian Andrzej Siewior @ 2015-02-17 18:03 UTC (permalink / raw)
To: Uwe Kleine-König; +Cc: Clark Williams, linux-rt-users
* Uwe Kleine-König | 2015-02-17 16:08:59 [+0100]:
>Hello,
>
>a few people work on getting reproducible builds for Debian. Using
>__DATE__ and __TIME__ obviously makes the rt-tests package fail to
>compile in a deterministic fashion.
We used faketime (fed from changelog) to achieve the same goal but we
still got the warning while beeing deterministic. As a plus the build
crashed on hurd :)
>Best regards
>Uwe
Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-02-17 18:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-17 15:08 [PATCH rt-tests] pi_stress: remove timestamp of compilation from version output Uwe Kleine-König
2015-02-17 16:46 ` John Kacur
2015-02-17 18:03 ` Sebastian Andrzej Siewior
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.