helpdavfs2 - Support: sr #110186, Fix building with GCC 10

 
 

sr #110186: Fix building with GCC 10

Submitted by:  None
Submitted on:  Mon 27 Jan 2020 11:51:37 PM UTC  
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  Done
Privacy:  Public Assigned to:  Werner Baumann <wbaumann>
Originator Email:  -email is unavailable- Open/Closed:  Open
Operating System:  GNU/Linux

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 01 Feb 2020 08:56:45 AM UTC, comment #2: 

Thanks for reporting.

The bug is fixed in the CVS-resources, branch rel-1-4-6.
It is just the declaration "static" in dav_coda.c, line 100, and dav_fuse.c, line 87.

Werner

Werner Baumann <wbaumann>
Project AdministratorIn charge of this item.
Wed 29 Jan 2020 01:15:50 PM UTC, comment #1: 

Thank you very much for fixing this. We also found this problem in the Fedora mass rebuild today.

https://koji.fedoraproject.org/koji/buildinfo?buildID=1435026

Felix Schwarz <felixschwarz>
Mon 27 Jan 2020 11:51:37 PM UTC, original submission:  

GCC 10 enables -fno-common bydefault, which breaks the build with:

/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: dav_fuse.o:(.bss.debug+0x0): multiple definition of `debug'; dav_coda.o:(.bss.debug+0x0): first defined here
collect2: error: ld returned 1 exit status

Bug: https://bugs.gentoo.org/706356
Bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85678

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #48294:  davfs2-gcc-10-fix.patch added by None (325B - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by wbaumann (Posted a comment)
  • -email is unavailable- added by felixschwarz (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-02-01 wbaumann StatusNone => Done
        Assigned toNone => wbaumann
    2020-01-27 None Attached File- => Added davfs2-gcc-10-fix.patch, #48294

    Back to the top


    Powered by Savane 3.5