This repository was archived by the owner on Jan 27, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Add use flag to include deprecated rpc functionality #54
Open
ksorensen
wants to merge
1
commit into
oe-lite:4.0
Choose a base branch
from
ksorensen:4.0_eglibc
base: 4.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -24,14 +24,18 @@ LIBTOOL_DEPENDS = "" | |
|
|
||
| MACHINE[unexport] = "1" | ||
|
|
||
| RECIPE_FLAGS:native = "toolchain_kernel_version_native" | ||
| RECIPE_FLAGS:machine = "toolchain_kernel_version_machine" | ||
| RECIPE_FLAGS:sdk = "toolchain_kernel_version_sdk" | ||
| RECIPE_FLAGS:>native = " toolchain_kernel_version_native eglibc_obsolete_rpc" | ||
| RECIPE_FLAGS:>machine = " toolchain_kernel_version_machine eglibc_obsolete_rpc" | ||
| RECIPE_FLAGS:>sdk = " toolchain_kernel_version_sdk" | ||
|
|
||
| DEFAULT_USE_toolchain_kernel_version_native = "2.6.32" | ||
| DEFAULT_USE_toolchain_kernel_version_machine = "2.6.32" | ||
| DEFAULT_USE_toolchain_kernel_version_sdk = "2.6.32" | ||
|
|
||
| OBSOLETE_RPC = "" | ||
| DEFAULT_USE_eglibc_obsolete_rpc = "1" | ||
| OBSOLETE_RPC:>USE_eglibc_obsolete_rpc = " --enable-obsolete-rpc" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You could just have used OBSOLETE_RPC:USE_eglibc_obsolete_rpc but the result would have been the same. |
||
|
|
||
| MIN_KERNEL_VERSION = "${USE_toolchain_kernel_version_native}${USE_toolchain_kernel_version_machine}${USE_toolchain_kernel_version_sdk}" | ||
| MIN_KERNEL_VERSION[expand] = "3" | ||
|
|
||
|
|
@@ -47,6 +51,7 @@ EXTRA_OECONF += "\ | |
| --enable-kernel=${MIN_KERNEL_VERSION} \ | ||
| --with-__thread \ | ||
| --cache-file=config.cache \ | ||
| ${OBSOLETE_RPC} \ | ||
| " | ||
|
|
||
| #ld-linux do NOT support RPATH. See get-dynamic-info.h within the eglibc src | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we add a
DEFAULT_USE_eglibc_obsolete_rpc = "1"
line, to have this enabled by default? Or does it add considerably to footprint, so it makes sense to keep it disabled by default?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I cannot image it adds significant footprint. The reason I left it disabled by default is because it is deprecated.
The correct long term solution is to use libtirpc instead of rpc in (e)glibc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think Kim H would like the same functionality in the master branch in order to be able to use nfs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I think we should consider enabling it by default on the master branch (until we have libtirpc in place).