Hello Mingli Yu!
Yu, Mingli wrote in
<[email protected]>:
|I'm building s-nail form the source and found the s-nail include below
|info via "vi /usr/bin/s-nail", any hints?
Ah, but this little software is no rocket science :)
I still have not mentioned that Windriver Linux ships this, it is
because i thought it all comes in via OpenEmbedded (and i have
your email in an "alias mailx-openembedded" for an emergency
notification that never will happen). So Windriver has s-nail you
say?
And i hope your vi(1) can deal with all the control sequences.
I include the info for possibly happening bug reports, for
s-nail -:/ -X 'set verbose;version;x'
output, or as shown in "BUGS" of the manual.
Actually it is an iteration of what was included earlier, after
a discussion on some Debian list in 2018 ("Rant about Debian
reproducibility environment", [1], my final thoughts then in [2]).
[1] https://lists.debian.org/debian-devel/2018/03/threads.html#00036
[2] https://lists.debian.org/debian-devel/2018/03/msg00078.html
...
|VAL_SYSCONFDIR=/etc
|VAL_MANDIR=/usr/share/man VAL_LIBEXECDIR=/usr/libexec
|VAL_BINDIR=/usr/bin VAL_PREFIX=/usr strip=true
|OBJDIR=/build/tmp-glibc/work/core2-32-wrs-linux/s-nail/14.9.24-r0/build
|OPT_CROSS_BUILD=yes OPT_AUTOCC=no CONFIG=minimal
Looking here, "minimal" is so .. minimal. (VAL_MTA via patch is
really not necessary.)
|VERBOSE=yes^@^@^@^@Linux^@^@^@i686-wrs-linux-gcc -m32 -march=core2
|-mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong -O2
|-D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security
|--sysroot=/build/tmp-glibc/work/core2-32-wrs-linux/s-nail/14.9.24-r0/rec\
|ipe-sysroot
|-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed
|-fmacro-prefix-map=/build/tmp-glibc/work/core2-32-wrs-linux/s-nail/14.9.\
|24-r0=/usr/src/debug/s-nail/14.9.24-r0
|
|-fdebug-prefix-map=/build/tmp-glibc/work/core2-32-wrs-linux/s-nail/14.9.\
|24-r0=/usr/src/debug/s-nail/14.9.24-r0
|
|-fdebug-prefix-map=/build/tmp-glibc/work/core2-32-wrs-linux/s-nail/14.9.\
|24-r0/recipe-sysroot=
|
|-fdebug-prefix-map=/build/tmp-glibc/work/core2-32-wrs-linux/s-nail/14.9.\
|24-r0/recipe-sysroot-native=
| -Wl,-z,relro,-z,now ^@^@^@^@^@^@^@^@^@^@^@^@^@i686-wrs-linux-gcc -m32
|-march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong
|-O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security
|-Werror=format-security
|--sysroot=/build/tmp-glibc/work/core2-32-wrs-linux/s-nail/14.9.24-r0/rec\
|ipe-sysroot
|-DNDEBUG -O2 -pipe -g -feliminate-unused-debug-types
|-fmacro-prefix-map=/build/tmp-glibc/work/core2-32-wrs-linux/s-nail/14.9.\
|24-r0=/usr/src/debug/s-nail/14.9.24-r0
|-fdebug-prefix-map=/build/tmp-glibc/work/core2-32-wrs-linux/s-nail/14.9.\
|24-r0=/usr/src/debug/s-nail/14.9.24-r0
|-fdebug-prefix-map=/build/tmp-glibc/work/core2-32-wrs-linux/s-nail/14.9.\
|24-r0/recipe-sysroot=
|-fdebug-prefix-map=/build/tmp-glibc/work/core2-32-wrs-linux/s-nail/14.9.\
|24-r0/recipe-sysroot-native=
If it works and the tests are ok, i would consider offering
packagers an option to leave these bytes off the binary. Well
i mean maybe, as in the Debian thread. As of today you would have
to patch mk/make-config.sh hard (search for "Create the string
that is used by *features* and the version command.").
|@i686-wrs-linux-gcc (GCC) 12.1.0
|@Copyright (C) 2022 Free Software Foundation, Inc.
|@This is free software; see the source for copying conditions. There is NO
|@warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
|PURPOSE.^@^@^@^@^@^@^@^@^@^@^@^@disc^@^@N^
|
|Thanks,
Greetings to China. Since the west does not really have a face to
loose, any communication is appreciated.
--End of <[email protected]>
--steffen
|
|Der Kragenbaer, The moon bear,
|der holt sich munter he cheerfully and one by one
|einen nach dem anderen runter wa.ks himself off
|(By Robert Gernhardt)