[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/28391] New: strip/objcopy --preserve-dates *.a: cannot set
From: |
glebfm at altlinux dot org |
Subject: |
[Bug binutils/28391] New: strip/objcopy --preserve-dates *.a: cannot set time: Invalid argument |
Date: |
Mon, 27 Sep 2021 22:07:39 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=28391
Bug ID: 28391
Summary: strip/objcopy --preserve-dates *.a: cannot set time:
Invalid argument
Product: binutils
Version: 2.38 (HEAD)
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: glebfm at altlinux dot org
Target Milestone: ---
$ gcc -c -xc /dev/null -o t.o
$ ar rcsU t.a t.o
$ strace --failed-only -e /time strip -p t.a
utimensat(AT_FDCWD, "steICERy/t.o", [{tv_sec=140428413401793, tv_nsec=48} /*
4451969-04-09T19:36:33.000000048+0000 */, {tv_sec=1632773474,
tv_nsec=94919810130032}], 0) = -1 EINVAL (Invalid argument)
strip: steICERy/t.o: cannot set time: Invalid argument
+++ exited with 0 +++
$ strace --failed-only -e /time objcopy -p t.a t1.a
utimensat(AT_FDCWD, "stk5ToKP/t.o", [{tv_sec=640, tv_nsec=48} /*
1970-01-01T00:10:40.000000048+0000 */, {tv_sec=0, tv_nsec=223338299408}], 0) =
-1 EINVAL (Invalid argument)
objcopy: stk5ToKP/t.o: cannot set time: Invalid argument
+++ exited with 0 +++
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/28391] New: strip/objcopy --preserve-dates *.a: cannot set time: Invalid argument,
glebfm at altlinux dot org <=