Skip to content

[GR-49707] Avoid suffix duplication in the generated image name.#12799

Merged
graalvmbot merged 1 commit into
masterfrom
chw/GR-49707/warn_duplicate_extension
Jan 13, 2026
Merged

[GR-49707] Avoid suffix duplication in the generated image name.#12799
graalvmbot merged 1 commit into
masterfrom
chw/GR-49707/warn_duplicate_extension

Conversation

@graalvmbot
Copy link
Copy Markdown
Collaborator

If the name of an image already ends in "suffix", then don't add the suffix again. This avoids "lib.so.so" by default, but still allows it with -o lib.so.so.

no name (no -o) argument:

/home/christian/oracle/cw-examples/jira/GR-49707/test.so (shared_library, 13.00MiB)
/home/christian/oracle/cw-examples/jira/GR-49707/test.h (c_header, 189B)

setting -o lib.so:

 /home/christian/oracle/cw-examples/jira/GR-49707/test.so (shared_library, 13.00MiB)
 /home/christian/oracle/cw-examples/jira/GR-49707/test.so.h (c_header, 195B)

with -o lib.so.so:

 /home/christian/oracle/cw-examples/jira/GR-49707/test.so.so (shared_library, 13.00MiB)
 /home/christian/oracle/cw-examples/jira/GR-49707/test.so.so.h (c_header, 201B)

…d then be duplicated in the generated image name (lib.so.so)
@oracle-contributor-agreement oracle-contributor-agreement Bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jan 13, 2026
@graalvmbot graalvmbot closed this Jan 13, 2026
@graalvmbot graalvmbot merged commit 6e54d13 into master Jan 13, 2026
13 checks passed
@graalvmbot graalvmbot deleted the chw/GR-49707/warn_duplicate_extension branch January 13, 2026 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants