forked from genodelabs/genode
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tl;dr we do not have __progname, so do not use it Our current openssh port uses compat code which wants to use __progname because our libc is FreeBSD based and the check for this symbol is successful. This symbol was defined in our old ldso because it was based on rtld from FreeBSD.
- Loading branch information
Showing
3 changed files
with
46 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1fd2a873bde35417c4e3a9153c1f5a035d072712 | ||
2287ee628edc9d776ed1063780a3a63b1e32653a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
Though we use FreeBSD libc we actually do not have __progname. As interim | ||
fix we just remove the check from configure. | ||
--- src/noux-pkg/openssh/configure | ||
@@ -14415,40 +14415,6 @@ | ||
|
||
fi | ||
|
||
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libc defines __progname" >&5 | ||
-$as_echo_n "checking if libc defines __progname... " >&6; } | ||
-if ${ac_cv_libc_defines___progname+:} false; then : | ||
- $as_echo_n "(cached) " >&6 | ||
-else | ||
- | ||
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
-/* end confdefs.h. */ | ||
- | ||
-int | ||
-main () | ||
-{ | ||
- extern char *__progname; printf("%s", __progname); | ||
- ; | ||
- return 0; | ||
-} | ||
-_ACEOF | ||
-if ac_fn_c_try_link "$LINENO"; then : | ||
- ac_cv_libc_defines___progname="yes" | ||
-else | ||
- ac_cv_libc_defines___progname="no" | ||
- | ||
-fi | ||
-rm -f core conftest.err conftest.$ac_objext \ | ||
- conftest$ac_exeext conftest.$ac_ext | ||
- | ||
-fi | ||
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libc_defines___progname" >&5 | ||
-$as_echo "$ac_cv_libc_defines___progname" >&6; } | ||
-if test "x$ac_cv_libc_defines___progname" = "xyes" ; then | ||
- | ||
-$as_echo "#define HAVE___PROGNAME 1" >>confdefs.h | ||
- | ||
-fi | ||
|
||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC implements __FUNCTION__" >&5 | ||
$as_echo_n "checking whether $CC implements __FUNCTION__... " >&6; } |