Menu

Code Commit Log


Commit Date  
[d34132] by Nigel Croxon Nigel Croxon

* Fixed typeo lib/error.c EFI_WARN_UNKNOWN_GLYPH definition.
On couple of locations in runtime string library (rtstr.c)
there are calls to non-runtime variant of StrLen function.
* Another issue is with formatting 1394 paths.
The F1394_DEVICE_PATH::Guid is formatted as %g, but 1394
GUID is 8 byte integer, not EFI_GUID and therefore should
be formatted as e.g. %016lx (as edk2 does).
* Beyond what's mentioned above, changed the format of the
harddrive path, so it's in line with edk2 format and spec
(2.7 errata A, chapter 10.6.1.6, table 102).

Signed-off-by: Nigel Croxon <ncroxon@...>
Signed-off-by: manison <manison@...>

2019-01-09 12:03:46 Tree
[5d0d53] by Nigel Croxon Nigel Croxon

Fix typeo in efierr.h EFI_WARN_UNKNOWN_GLYPH definition.

Signed-off-by: Nigel Croxon <ncroxon@...>
Signed-off-by: manison <manison@...>

2019-01-08 16:19:25 Tree
[5bb503] by Gary Lin Gary Lin , pushed by Nigel Croxon Nigel Croxon

Set '\0' properly in StrnCpy()

The arguments to SetMem() were wrong. Besides, SetMem() should start at
"Dest + Size" since "Size" will be smaller than "Len" if they are not
equal.

Signed-off-by: Gary Lin <glin@...>
Signed-off-by: Nigel Croxon <ncroxon@...>

2018-10-09 10:35:21 Tree
[183ec6] (3.0.9) by Nigel Croxon Nigel Croxon

Bump revision to VERSION = 3.0.9

2018-10-11 12:46:29 Tree
[ba2505] by Gary Lin Gary Lin , pushed by Nigel Croxon Nigel Croxon

Implement StrnCat() without StrnCpy()

StrnCpy() doesn't guarantee the dest string will be null-terminated, so
we shouldn't use StrnCpy().

Signed-off-by: Gary Lin <glin@...>
Signed-off-by: Nigel Croxon <ncroxon@...>

2018-10-11 04:02:27 Tree
[6058ff] by Gary Lin Gary Lin , pushed by Nigel Croxon Nigel Croxon

Set '\0' properly in StpnCpy()

The arguments to SetMem() were wrong. Besides, SetMem() should start at
"Dest + Size" since "Size" will be smaller than "Len" if they are not
equal.

Signed-off-by: Gary Lin <glin@...>
Signed-off-by: Nigel Croxon <ncroxon@...>

2018-10-11 08:10:26 Tree
[85f1c7] by Pete Batard Pete Batard , pushed by Nigel Croxon Nigel Croxon

Fix conversion from 'UINTN' to 'UINT8' warnings

* MSVC generates two of the following in rtstr.c:
warning C4244: 'function': conversion from 'UINTN' to 'UINT8', possible loss of data

2018-04-24 12:45:11 Tree
[fc5af9] (3.0.8) by Nigel Croxon Nigel Croxon

Bump revision from VERSION = 3.0.7 to VERSION = 3.0.8

Signed-off-by: Nigel Croxon <ncroxon@...>

2018-03-14 18:54:51 Tree
[b030bf] by Peter Jones Peter Jones , pushed by Nigel Croxon Nigel Croxon

Add debug helper applications

Add debug helper applications.

Signed-off-by: Peter Jones <pjones@...>
Signed-off-by: Nigel Croxon <ncroxon@...>

2018-03-13 19:20:35 Tree
[656e49] by Peter Jones Peter Jones , pushed by Nigel Croxon Nigel Croxon

Call ar in deterministic mode.

We need the x86_64 and i686 builds of .a's to be the same, and that
means we need to not have timestamps. Also force the timestamps on disk
just in case that doesn't work, because RHEL's ar /silently ignores -D/.

v2: use "ar rvD" not "ar rv -D".

It's a wonder anybody ever gets these command line options right, if
"ar rv -D libfoo.a foo.o" doesn't use deterministic mode (or
complain), but "ar rvD libfoo.a foo.o" does.

v3: Add a bunch of junk to try to set timestamps to 0 manually

For some reason I'm still getting timestamps in the .a even though ar seems to
be invoked correctly. When I do "mock -r rhel-7-build --shell" and run make
manually, they're fine. Very strange.

v4: go back to v2, the problem isn't in the make process.

"ar rDv" works just fine, but /usr/lib/rpm/redhat/brp-strip-static-archive is
calling "%{__strip} -g $for_each.a", and it's rewriting our binary from
ts/uid/gid of 0/0/0 to $epoch/$UID/$GID. Awesomely /usr/bin/strip it seems to
have 3 modes of operation:
-U: the default, which adds $epoch/$UID/$GID to your binary archive
instead of just removing stuff. Clearly the Principle of Least
Surprise is strong here.
-p: preserve the timestamp from the original .a, but add UID and GID,
because this is 1980 and people use ar(1) for archiving stuff they
might want that out of.
-D: Condescend at you in a command line error and explain that -D both
is and is not a valid option:
/usr/bin/strip: invalid option -- 'D'
Usage: /usr/bin/strip <option(s)> in-file(s)
Removes symbols and sections from files
The options are:
...
-D --enable-deterministic-archives
Produce deterministic output when stripping archives
So I agree that it's invalid, but I think we may be pronouncing that
second vowel differently. They say in-VAL-id, I say IN-vuh-lid.

Nobody should ever have to run "strace -ttt -v -f -o make.strace make all",
just to discover the problem isn't even in there.

Related: rhbz#1310782

Signed-off-by: Peter Jones <pjones@...>
Signed-off-by: Nigel Croxon <ncroxon@...>

2018-03-13 19:20:34 Tree
Older >