Opened 11 years ago
Closed 8 years ago
#39916 closed defect (fixed)
arm-elf-gdb: error: non-void function 'ARMul_MRC' should return a value
Reported by: | irony42@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.0 |
Keywords: | haspatch | Cc: | cooljeanius (Eric Gallager), rafaeldeoliveiracosta@… |
Port: | arm-elf-gdb |
Description
Just tried installing arm-elf-gdb; it fails to build with the default Apple clang 3.2 (for what may be a silly reason, probably fixable with some flags). Builds fine with "configure.compiler gcc"... and then runs into a conflict with port:binutils over /opt/local/share/info/bfd.info
Attachments (2)
Change History (13)
comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)
Cc: | billy@… removed |
---|---|
Owner: | changed from macports-tickets@… to billy@… |
Changed 11 years ago by irony42@…
comment:2 Changed 11 years ago by irony42@…
(As one might expect from the log, adding "configure.cflags-append -Wno-return-type" does allow a successful build)
comment:3 Changed 11 years ago by irony42@…
I filed #39917 to track the unrelated conflict issue mentioned here.
comment:4 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Summary: | arm-elf-gdb fails to build with clang → arm-elf-gdb: error: non-void function 'ARMul_MRC' should return a value |
---|
Has duplicate #43097.
Changed 8 years ago by fhgwright (Fred Wright)
Attachment: | arm-elf-gdb-patch1.patch added |
---|
comment:6 Changed 8 years ago by fhgwright (Fred Wright)
I fixed this a while back, but neglected to post the fix. This fix is just for the build error, not the warnings or the binutils conflict.
Since the build error is from a real bug which may or may not be caught by the compiler, it makes sense to revbump it.
I don't actually use this port any more, after switching to a multiarch gdb, but I did verify that the build still fails without the patch and still works with it.
comment:7 Changed 8 years ago by fhgwright (Fred Wright)
I don't seem to have permission to add the "haspatch" keyword.
comment:8 Changed 8 years ago by mf2k (Frank Schima)
Keywords: | haspatch added |
---|
comment:9 Changed 8 years ago by mf2k (Frank Schima)
Owner: | changed from billy@… to macports-tickets@… |
---|
See #52183.
comment:10 Changed 8 years ago by mf2k (Frank Schima)
Cc: | rafaeldeoliveiracosta@… added |
---|
Cc reporter of duplicate #39416.
comment:11 Changed 8 years ago by mf2k (Frank Schima)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Thanks! r153561.
Please clean, try installing again, and attach main.log.