-
-
Notifications
You must be signed in to change notification settings - Fork 563
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fails to build with gcc-10 #973
Comments
Thanks for the heads-up. It would be nice to take advantage of the new feature, but in the meantime, does adding the flag |
Are you testing on upcoming builds of Fedora? If so, could you point in the direction of where you’re getting them from, please? |
Hi Mike, I believe you can do scratch builds in fedora as long as you have a fedoraproject.org account.
I found this doc about porting to gcc10 as well. https://gcc.gnu.org/gcc-10/porting_to.html I've patched the current build to use -fcommon until you can properly port. |
I couldn’t get any joy with a Fedora 32 image in a VM, but Ubuntu 20.04 did allow me to install and use |
Actually, correct me if I'm wrong, the |
this is my "fix" for now.. diff -Nur shairport-sync-3.3.5/Makefile.am shairport-sync-3.3.5.fixed/Makefile.am
--- shairport-sync-3.3.5/Makefile.am 2019-11-13 17:17:51.000000000 -0500
+++ shairport-sync-3.3.5.fixed/Makefile.am 2020-02-12 08:55:25.606471346 -0500
@@ -18,8 +18,8 @@
AM_CXXFLAGS = -I/usr/local/include -Wno-multichar -Wall -Wextra -Wno-clobbered -Wno-psabi -pthread -DSYSCONFDIR=\"$(sysconfdir)\"
AM_CFLAGS = -Wno-multichar -Wall -Wextra -pthread -DSYSCONFDIR=\"$(sysconfdir)\"
else
- AM_CXXFLAGS = -Wno-multichar -Wall -Wextra -Wno-clobbered -Wno-psabi -pthread -DSYSCONFDIR=\"$(sysconfdir)\"
- AM_CFLAGS = -Wno-multichar -Wall -Wextra -Wno-clobbered -Wno-psabi -pthread -DSYSCONFDIR=\"$(sysconfdir)\"
+ AM_CXXFLAGS = -fcommon -Wno-multichar -Wall -Wextra -Wno-clobbered -Wno-psabi -pthread -DSYSCONFDIR=\"$(sysconfdir)\"
+ AM_CFLAGS = -fcommon -Wno-multichar -Wall -Wextra -Wno-clobbered -Wno-psabi -pthread -DSYSCONFDIR=\"$(sysconfdir)\"
endif
endif |
Thanks. Actually, I've just pushed an update to the |
This looks good. https://koji.fedoraproject.org/koji/taskinfo?taskID=41504998 |
Thanks Bill. Is that with your fix or is it with the update? |
Assuming I did this correctly I pulled from 0902cdf, removed the gcc10 I originally put in place and built a srpm from that. Then I submitted to f33 build target in koji and everything built as expected. |
Just to be clear – this is for Fedora 33, not Fedora 32, right? |
Hi Mike, |
Okay, thanks. How soon is soon? |
Feb 25th |
Okay, well it's out on the |
Sounds like a plan. I'll do a build this weekend coming up with either the development branch or with 3.3.6 if you release it by then. Thanks again! |
Hi Bill. I just updated the |
Hi Mike,
I've built a new verison which should get pulled into f32 automatically.
Thanks again.
https://koji.fedoraproject.org/koji/buildinfo?buildID=1468506
…On Fri, Feb 21, 2020 at 8:48 AM Mike Brady ***@***.***> wrote:
Hi Bill. I just updated the master branch release to 3.3.6.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#973?email_source=notifications&email_token=AAUPZOFGG3G2NKHCYBPX7N3RD7LTVA5CNFSM4KTRTKM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMSX7II#issuecomment-589660065>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAUPZOCUIDNHBFRPRDYSN2TRD7LTVANCNFSM4KTRTKMQ>
.
|
This issue has been inactive for 60 days so will be closed 7 days from now. To prevent this, please remove the "stale" label or post a comment. |
Hello,
Has anyone tried to build this with gcc 10? GCC 10 added -fno-common so that means you can't have multiple definitions for symbols.
I think you should be able to see the build log here:
https://kojipkgs.fedoraproject.org//work/tasks/3341/41463341/build.log
In case you can't see that here is the important part:
The text was updated successfully, but these errors were encountered: