You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gluten.apache.org by "liujiayi771 (via GitHub)" <gi...@apache.org> on 2025/10/27 14:29:15 UTC
[PR] [VL] Add dlerror message for library load failures [incubator-gluten]
liujiayi771 opened a new pull request, #10952:
URL: https://github.com/apache/incubator-gluten/pull/10952
## What changes are proposed in this pull request?
Print dlerror() output when dlsym() fails to load function in shared library.
## How was this patch tested?
N/A
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org
Re: [PR] [VL] Add dlerror message for library load failures [incubator-gluten]
Posted by "wForget (via GitHub)" <gi...@apache.org>.
wForget commented on code in PR #10952:
URL: https://github.com/apache/incubator-gluten/pull/10952#discussion_r2467708392
##########
cpp/velox/udf/UdfLoader.cc:
##########
@@ -36,9 +36,12 @@ void* loadSymFromLibrary(
const std::string& libPath,
const std::string& func,
bool throwIfNotFound = true) {
+ dlerror();
Review Comment:
Is this a redundant call?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org
Re: [PR] [VL] Add dlerror message for library load failures [incubator-gluten]
Posted by "wForget (via GitHub)" <gi...@apache.org>.
wForget commented on code in PR #10952:
URL: https://github.com/apache/incubator-gluten/pull/10952#discussion_r2467763066
##########
cpp/velox/udf/UdfLoader.cc:
##########
@@ -36,9 +36,12 @@ void* loadSymFromLibrary(
const std::string& libPath,
const std::string& func,
bool throwIfNotFound = true) {
+ dlerror();
Review Comment:
> This will clear the dlerror before.
Got it, thanks.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org
Re: [PR] [VL] Add dlerror message for library load failures [incubator-gluten]
Posted by "liujiayi771 (via GitHub)" <gi...@apache.org>.
liujiayi771 commented on code in PR #10952:
URL: https://github.com/apache/incubator-gluten/pull/10952#discussion_r2467748919
##########
cpp/velox/udf/UdfLoader.cc:
##########
@@ -36,9 +36,12 @@ void* loadSymFromLibrary(
const std::string& libPath,
const std::string& func,
bool throwIfNotFound = true) {
+ dlerror();
Review Comment:
This will clear the dlerror before.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org
Re: [PR] [VL] Add dlerror message for library load failures [incubator-gluten]
Posted by "liujiayi771 (via GitHub)" <gi...@apache.org>.
liujiayi771 merged PR #10952:
URL: https://github.com/apache/incubator-gluten/pull/10952
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org