#30065 closed defect (fixed)
heimdal @1.3.3 Build error using llvm-gcc
Reported by: | christopher.owen@… | Owned by: | landonf (Landon Fuller) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | llvm-gcc-4.2 haspatch | Cc: | adam_timmons@…, gleirsch@… |
Port: | heimdal |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
I have verified that this defect exists in trunk.
steps to reproduce:
- install gcc-llvm (available from many places but also in the Xcode 4.2 beta)
- sudo port install heimdal
the build for heimdal will exit with many errors in sqlite3.c.
:info:build sqlite3.c:63492: error: initializer element is not constant :info:build sqlite3.c:63492: error: (near initialization for 'aBuiltinFunc[5].pUserData')
The exact problem I am seeing was written about including a solution in a japanese blog in 2008.
Original page: http://tribelet.blogspot.com/2008/09/blog-post_08.html
With this one line change in sqlite3.c, the build completes (although with some warnings.)
It may be worth noting here that a newer version of heimdal (1.4) exists that what is included in the ports tree. Included in its changelog is a line item of 'bug fixes'. However, I could not get it to compile easily and was happy with this patch.
The patch applied is included.
Attachments (1)
Change History (6)
Changed 13 years ago by christopher.owen@…
Attachment: | heimdal-1.3.3-sqlite3-gcc-llvm.patch added |
---|
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to landonf@… |
comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | adam_timmons@… added |
---|
Has duplicate #31266.
comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | gleirsch@… added |
---|---|
Summary: | heimdal @1.3.3 Build error using gcc-llvm → heimdal @1.3.3 Build error using llvm-gcc |
Has duplicate #31785.
comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | llvm-gcc-4.2 haspatch added; lion llvm gcc-llvm xcode4.2 removed |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:5 Changed 13 years ago by gleirsch@…
Patch worked for me too (Xcode 4.0.2, llvm-gcc-4.2, 10.6.8), thanks for including it in the port.
heimdal-1.3.3 patch to compile with gcc-llvm