* [Buildroot] [Bug 11331] New: Internal application no longer builds with latest GIT master
@ 2018-09-11 9:30 bugzilla at busybox.net
2018-09-11 9:39 ` [Buildroot] [Bug 11331] " bugzilla at busybox.net
2018-09-11 9:53 ` bugzilla at busybox.net
0 siblings, 2 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2018-09-11 9:30 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=11331
Bug ID: 11331
Summary: Internal application no longer builds with latest GIT
master
Product: buildroot
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: tpearson at raptorengineering.com
CC: buildroot at uclibc.org
Target Milestone: ---
Up until the recent updates (after 2018.08) an internal application using the
old setkey()/encrypt() functions was able to compile. With latest master,
compilation fails:
/home/buildroot/project/output/host/bin/powerpc64le-buildroot-linux-gnu-gcc
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os
-fstack-protector-all -Wl,-z,relro -D_FORTIFY_SOURCE=2 -fPIC proprietary.o -o
proprietary -lcrypt -lcurl
/home/buildroot/project/output/host/lib/gcc/powerpc64le-buildroot-linux-gnu/8.2.0/../../../../powerpc64le-buildroot-linux-gnu/bin/ld:
proprietary.o: in function `legacy_handler':
proprietary.c:(.text+0x1cc30): undefined reference to `setkey'
/home/buildroot/project/output/host/lib/gcc/powerpc64le-buildroot-linux-gnu/8.2.0/../../../../powerpc64le-buildroot-linux-gnu/bin/ld:
proprietary.c:(.text+0x1cce4): undefined reference to `encrypt'
collect2: error: ld returned 1 exit status
Makefile:62: recipe for target 'proprietary' failed
make[1]: *** [proprietary] Error 1
make[1]: Leaving directory
'/home/buildroot/project/output/build/proprietary-origin_master/proprietary'
package/pkg-generic.mk:229: recipe for target
'/home/buildroot/project/output/build/proprietary-origin_master/.stamp_built'
failed
make: ***
[/home/buildroot/project/output/build/proprietary-origin_master/.stamp_built]
Error 2
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [Bug 11331] Internal application no longer builds with latest GIT master
2018-09-11 9:30 [Buildroot] [Bug 11331] New: Internal application no longer builds with latest GIT master bugzilla at busybox.net
@ 2018-09-11 9:39 ` bugzilla at busybox.net
2018-09-11 9:53 ` bugzilla at busybox.net
1 sibling, 0 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2018-09-11 9:39 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=11331
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |WONTFIX
Status|NEW |RESOLVED
--- Comment #1 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
This is a decision from glibc upstream, which removed those functions from
glibc 2.28. See
https://lists.gnu.org/archive/html/info-gnu/2018-08/msg00000.html, which says:
"""
* The obsolete functions encrypt, encrypt_r, setkey, setkey_r, cbc_crypt,
ecb_crypt, and des_setparity are no longer available to newly linked
binaries, and the headers <rpc/des_crypt.h> and <rpc/rpc_des.h> are no
longer installed. These functions encrypted and decrypted data with the
DES block cipher, which is no longer considered secure. Software that
still uses these functions should switch to a modern cryptography library,
such as libgcrypt.
"""
So, you should fix your application it seems. Buildroot is not going to revert
this change, unless you can convince glibc upstream developers to also revert
it, which I guess will be challenging.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [Bug 11331] Internal application no longer builds with latest GIT master
2018-09-11 9:30 [Buildroot] [Bug 11331] New: Internal application no longer builds with latest GIT master bugzilla at busybox.net
2018-09-11 9:39 ` [Buildroot] [Bug 11331] " bugzilla at busybox.net
@ 2018-09-11 9:53 ` bugzilla at busybox.net
1 sibling, 0 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2018-09-11 9:53 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=11331
--- Comment #2 from Timothy Pearson <tpearson@raptorengineering.com> ---
Good to know, thanks! Wasn't able to find documentation supporting that even
after some extensive searching.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-09-11 9:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-11 9:30 [Buildroot] [Bug 11331] New: Internal application no longer builds with latest GIT master bugzilla at busybox.net
2018-09-11 9:39 ` [Buildroot] [Bug 11331] " bugzilla at busybox.net
2018-09-11 9:53 ` bugzilla at busybox.net
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.