forked from gcc/gcc-mirror
libgccjit: Add a function to check if LTO is supported #103
No reviewers
Labels
No labels
Compat/Breaking
Frontend/ada
Frontend/c
Frontend/c++
General/forge
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Library/libgcc
Library/libstdc++
Midend/gimple
Midend/rtl
Midend/tree
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
Target/aarch64
Target/arm
Target/i386
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
gcc/gcc-TEST!103
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "antoyo/gcc:gccjit/detect-lto"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
CC: David Malcolm dmalcolm@redhat.com, jit@gcc.gnu.org
Welcome to Sourceware Forge
Hi @antoyo, and thanks for your PR. This bot helps you send your patch series to the mailing list.
Please follow these guidelines to ensure a smooth submission.
Writing a Good PR Description
To CC reviewers, add at the end of your PR description one or more lines like this:
Avoid copy-pasting a CC list from a previous PR. Doing so may cause failure to send the emails properly.
We recommend reviewing your commit messages carefully before submitting.
This project expects a specific format.
See Submitting Patches for details
Submitting Your Patch
To submit, you must be authorized. Ask any permitted contributor to authorize you by commenting:
/allow. This is anyone who has been/allowed before.Once allowed, comment:
/submitUse
/previewto see the emails before sending. (Requires a public forge email.)Responding to Reviews
Watch for replies on the mailing list. If not subscribed, you can reply by:
(raw)on the emailFor Gmail:
Updating Your PR
/submitNeed help?
Consider joining the gcc and gcc-patches mailing lists..
For real time communication, check the gcc irc channels.
Or join
#overseerson Libera Chat, particularly if this automation is not working (stay online to get replies, IRC does not save messages if people are not online).@ -130,6 +130,10 @@ jit.serial = $(LIBGCCJIT_FILENAME)# Tell GNU make to ignore these if they exist..PHONY: jitCFLAGS-jit/libgccjit.o += -DDEFAULT_TARGET_VERSION=\"$(version)\" \This is a
.infile, but I was unable to regenerate the file.Am I doing something wrong or do the
Make-lang.infiles need not being regenerated?I don't think you need to regenerate anything after changing them indeed. You can verify it by running the
autoregen.pyscript from https://sourceware.org/cgit/builder.I'm not sure how to add a test for this.
/submit
Version 1 of this pull request has been stored. It includes the following commits:
da9ff55248Pull Request versions:
97da8fece1da9ff55248In order to compare , clone this repository and run
Sent patch series version 1 containing 1 patches to gcc-patches mailing list test-list@sourceware.org and cc'd David Malcolm dmalcolm@redhat.com, jit@gcc.gnu.org.
Cover letter
@ -4709,0 +4712,4 @@{#ifdef ENABLE_LTOchar lto1_path[PATH_MAX];snprintf (lto1_path, sizeof (lto1_path), "%s%s/%s/lto1",I'm a little bit surprised to see this -- why do you need to verify you can find
lto1? Is there a scenario where you had GCC built with--enable-lto(=>ENABLE_LTO) butlto1was missing (maybe broken packaging)?I might be wrong here, but I was under the impression that we can just distribute
libgccjit.sowithout the libexec stuff and it would just work while that would not work for gcc.I guess we could assume that if LTO was enabled, that the lto frontend would be present, but since the LTO frontend is enabled by default, that could be error-prone.
What are your thoughts on this?
I hadn't thought about that (i.e. people thinking it's a standalone library). I think the check is reasonable if you can imagine someone trying to do that. Just mention that as motivation in the commit message?
(Especially for the say, "CI case", where people might assume they can just grab the .so and not worry about anything else, dunno.)
CI state: success ✅
CI bot https://ci.linaro.org/job/tcwg_gnu_cross_build--master-arm-precommit/106/ : CI bot tcwg_gnu_cross_build--master-arm: Build results
See: https://ci.linaro.org/job/tcwg_gnu_cross_build--master-arm-precommit/106/artifact/artifacts/artifacts.precommit/notify/mail-body.txt
CI state: fail ❌
CI bot https://ci.linaro.org/job/tcwg_gnu_cross_build--master-aarch64-precommit/97/ : CI bot tcwg_gnu_cross_build--master-aarch64: Patch failed to apply
See: https://ci.linaro.org/job/tcwg_gnu_cross_build--master-aarch64-precommit/97/artifact/artifacts/jenkins/precommit-forge-apply.log
CI state: fail ❌
CI bot https://ci.linaro.org/job/tcwg_gnu_cross_check_gcc--master-arm-precommit/103/ : CI bot tcwg_gnu_cross_check_gcc--master-arm: Patch failed to apply
See: https://ci.linaro.org/job/tcwg_gnu_cross_check_gcc--master-arm-precommit/103/artifact/artifacts/jenkins/precommit-forge-apply.log
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.