Skip to content

Conversation

dlenski
Copy link

@dlenski dlenski commented Apr 26, 2023

In dcef29c,
first tagged in mysql-8.0.33, the CMake build infrastructure for the libicu
dependency was modified to declare a new 'ext::icu' alias (see
'cmake/icu.cmake').

The CMake LINK_LIBRARIES for the 'gen_keyword_list' executable were changed
to use the new 'ext::icu' alias, but at the same time '${CMAKE_DL_LIBS}' was
removed from its LINK_LIBRARIES. This built-in variable names the library
that includes the dlopen/dlclose/dlsym functions, normally '-ldl' on POSIX
systems (see https://cmake.org/cmake/help/latest/variable/CMAKE_DL_LIBS.html).

As a result, 'gen_keyword_list' doesn't link correctly in a clean build,
because those functions cannot be found.

The exact introduction of the problem was at
dcef29c#diff-1e7de1ae2d059d21e1dd75d5812d5a34b0222cef273b7c3a2af62eb747f9d20aR2229

@mysql-oca-bot
Copy link

Hi, thank you for submitting this pull request. In order to consider your code we need you to sign the Oracle Contribution Agreement (OCA). Please review the details and follow the instructions at https://oca.opensource.oracle.com/
Please make sure to include your MySQL bug system user (email) in the returned form.
Thanks

@dlenski
Copy link
Author

dlenski commented May 2, 2023

The entire history of the 8.0 branch was rewritten… twice:

  1. Once before my PR was submitted (https://twitter.com/ottokekalainen/status/1649297516800933889)

    image

  2. And then once again after my PR was submitted (https://twitter.com/gryp/status/1651652040937062400)

    image

I'm hoping to get some clarification from Oracle on whether the repo will now be left as-is… once that's done I'll rebase the PR.

@dlenski dlenski force-pushed the fix-linkage-of-gen_keyword_list-executable branch from 57116d4 to 9c2e553 Compare May 2, 2023 19:44
In mysql@dcef29c,
first tagged in mysql-8.0.33, the CMake build infrastructure for the libicu
dependency was modified to declare a new 'ext::icu' alias (see
'cmake/icu.cmake').

The CMake LINK_LIBRARIES for the 'gen_keyword_list' executable were changed
to use the new 'ext::icu' alias, but at the same time '${CMAKE_DL_LIBS}' was
*removed* from its LINK_LIBRARIES.  This built-in variable names the library
that includes the dlopen/dlclose/dlsym functions, normally '-ldl' on POSIX
systems (see https://cmake.org/cmake/help/latest/variable/CMAKE_DL_LIBS.html).

As a result, 'gen_keyword_list' doesn't link correctly in a clean build,
because those functions cannot be found.

The exact introduction of the problem was at
mysql@dcef29c#diff-1e7de1ae2d059d21e1dd75d5812d5a34b0222cef273b7c3a2af62eb747f9d20aR2229

All new code of the whole pull request, including one or several files that are
either new files or modified ones, are contributed under the BSD-new license. I
am contributing on behalf of my employer Amazon Web Services, Inc.
@dlenski dlenski force-pushed the fix-linkage-of-gen_keyword_list-executable branch from 9c2e553 to fdfc2cf Compare May 2, 2023 19:46
@dlenski
Copy link
Author

dlenski commented May 2, 2023

  • Fixed commit description to reference commits on the re-re-written 8.0 branch
  • Rebased on the re-re-written 8.0 branch
  • Force-pushed

@mysql-oca-bot
Copy link

Hi, there was no response to our request to sign an OCA or confirm the code is submitted under the terms of the OCA. As such this request will be closed.
Thanks

@dlenski
Copy link
Author

dlenski commented Jun 16, 2023

This contribution is under the OCA signed by Amazon and covering submissions to the MySQL project.

@mysql-admin
Copy link

Hi @dlenski
As discussed off line there was a missing match between the OCA and your account as such the PR was closed.
Re-opening. You will soon get a message from the bot asking you to confirm the request s under the OCA
Sorry for the difficulties encountered and thanks for contributing to MySQL
==Omer

@mysql-admin mysql-admin reopened this Jun 28, 2023
@mysql-oca-bot
Copy link

Hi, thank you for your contribution. Please confirm this code is submitted under the terms of the OCA (Oracle's Contribution Agreement) you have previously signed by cutting and pasting the following text as a comment:
"I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it."
Thanks

@mysql-oca-bot
Copy link

Hi, thank you for your contribution. Your code has been assigned to an internal queue. Please follow
bug http://bugs.mysql.com/bug.php?id=111607 for updates.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants