sparse as a compiler front-end
I see that sparse made it into Fedora Extras, so that 'yum install' automatically pulls it down for me. Yay! Thanks, Matt.
Can libsparse.a and necessary includes be packaged as well?
I have wild ambitions of rewriting compile-i386.c (my int-only x86 pseudo-compiler) using the new basic block stuff, into a proper [if very very basic] C99 compiler.
Jeff
Quoted 4 lines · Jeff Garzik
I see that sparse made it into Fedora Extras, so that 'yum install' automatically pulls it down for me. Yay! Thanks, Matt.
Can libsparse.a and necessary includes be packaged as well?
.a or .so? The .so just got dropped from the standard sparse 'make install' with the 0.1 release. If it comes back, I can put it into
the sparse package and the appropriate headers (please specify in the Makefile) into a sparse-devel subpackage.
Thanks,
Matt
Signature · 4 lines
Matt Domsch Software Architect Dell Linux Solutions linux.dell.com & www.dell.com/linux Linux on Dell mailing lists @ http://lists.us.dell.com
Quoted 6 lines · Matt Domsch
Quoted 3 lines · Jeff Garzik
I see that sparse made it into Fedora Extras, so that 'yum install' automatically pulls it down for me. Yay! Thanks, Matt.
Can libsparse.a and necessary includes be packaged as well?
.a or .so? The .so just got dropped from the standard sparse 'make
Doesn't matter to me... Something is better than nothing. With sparse's license, .a is no big deal.
Thanks,
Jeff
Quoted 11 lines · Jeff Garzik
Quoted 7 lines · Matt Domsch
Quoted 4 lines · Jeff Garzik
I see that sparse made it into Fedora Extras, so that 'yum install' automatically pulls it down for me. Yay! Thanks, Matt.
Can libsparse.a and necessary includes be packaged as well?
.a or .so? The .so just got dropped from the standard sparse 'make
Doesn't matter to me... Something is better than nothing. With sparse's license, .a is no big deal.
Fedora Extras strongly discourages shipping and using .a if only to ensure that any security issue uncovered can be addressed without always rebuilding all downstream dependent apps. Not too likely a problem with a tool like sparse, but always a concern.
The .so would need to start being versioned, and care paid to bump the version as the ABIs change.
That's one thing the opensuse build system does differently - tracking the full dependency tree, and automatically rebuilding all downstream dependent apps when an upstream app changes.
Signature · 4 lines
Matt Domsch Software Architect Dell Linux Solutions linux.dell.com & www.dell.com/linux Linux on Dell mailing lists @ http://lists.us.dell.com
Quoted 9 lines · Matt Domsch
Quoted 7 lines · Jeff Garzik
Quoted 5 lines · Matt Domsch
Quoted 3 lines · Jeff Garzik
I see that sparse made it into Fedora Extras, so that 'yum install' automatically pulls it down for me. Yay! Thanks, Matt.
Can libsparse.a and necessary includes be packaged as well?
.a or .so? The .so just got dropped from the standard sparse 'make
Doesn't matter to me... Something is better than nothing. With sparse's license, .a is no big deal.
Quoted 7 lines
Fedora Extras strongly discourages shipping and using .a if only to ensure that any security issue uncovered can be addressed without always rebuilding all downstream dependent apps. Not too likely a problem with a tool like sparse, but always a concern.
The .so would need to start being versioned, and care paid to bump the version as the ABIs change.
Or alteratively we could recognize that sparse is a bit of an unusual lib. With the library likely to be changing rapidly, caring about ABIs at this early stage probably isn't in anybody's best interests.
Jeff
Quoted 2 lines · Jeff Garzik
I see that sparse made it into Fedora Extras, so that 'yum install' automatically pulls it down for me. Yay! Thanks, Matt.
Thanks indeed.
Quoted 1 line
Can libsparse.a and necessary includes be packaged as well?
Sure, assuming you don't mind coding against something potentially fluid. The next release will install the library and headers. (At the moment, "necessary headers" seems to mean "all of them".)
Quoted 3 lines
I have wild ambitions of rewriting
compile-i386.c(my int-only x86 pseudo-compiler) using the new basic block stuff, into a proper [if very very basic] C99 compiler.
I look forward to seeing that.
- Josh Triplett
Quoted 6 lines · Josh Triplett
Quoted 1 line · Jeff Garzik
Can libsparse.a and necessary includes be packaged as well?
Sure, assuming you don't mind coding against something potentially fluid. The next release will install the library and headers. (At the moment, "necessary headers" seems to mean "all of them".)
The Sparse 0.2 release installs the library and headers, as well as a pkg-config file.
- Josh Triplett
Quoted 10 lines · Josh Triplett
Quoted 6 lines · Josh Triplett
Quoted 1 line · Jeff Garzik
Can libsparse.a and necessary includes be packaged as well?
Sure, assuming you don't mind coding against something potentially fluid. The next release will install the library and headers. (At the moment, "necessary headers" seems to mean "all of them".)
The Sparse 0.2 release installs the library and headers, as well as a pkg-config file.
I've got a test build of sparse-0.2 posted at
http://domsch.com/linux/fedora/extras/sparse/0.2/ which I intend to put into Fedora Extras for FC5,6,devel. This puts the libsparse.a and headers into a -devel package.
Jeff, does this suit your needs?
Thanks,
Matt
Signature · 4 lines
Matt Domsch Software Architect Dell Linux Solutions linux.dell.com & www.dell.com/linux Linux on Dell mailing lists @ http://lists.us.dell.com
Quoted 7 lines · Matt Domsch
Quoted 6 lines · Josh Triplett
Quoted 5 lines · Josh Triplett
Quoted 1 line · Jeff Garzik
Can libsparse.a and necessary includes be packaged as well?
Sure, assuming you don't mind coding against something potentially fluid. The next release will install the library and headers. (At the moment, "necessary headers" seems to mean "all of them".)
Quoted 7 lines
Quoted 2 lines
The Sparse 0.2 release installs the library and headers, as well as a pkg-config file.
I've got a test build of sparse-0.2 posted at
http://domsch.com/linux/fedora/extras/sparse/0.2/ which I intend to put into Fedora Extras for FC5,6,devel. This puts the libsparse.a and headers into a -devel package.
From the spec file, I notice that you install the pkg-config file to /usr/lib/pkgconfig (or equivalent), rather than /usr/share/pkgconfig (or equivalent) as the Makefile does; any particular reason for that?
- Josh Triplett
Quoted 3 lines · Josh Triplett
From the spec file, I notice that you install the pkg-config file to
/usr/lib/pkgconfig(or equivalent), rather than/usr/share/pkgconfig(or equivalent) as theMakefiledoes; any particular reason for that?
The pkgconfig file describes an architecture-specific library, so it goes into /usr/lib/pkgconfig/$pkg.pc if its 32-bit (or the rare 64-bit arch that uses /usr/lib), and it goes into /usr/lib64/pkgconfig/$pkg.pc if the library is 64-bit.
/usr/share is not appropriate for architecture-specific data.
Jeff
Quoted 11 lines · Jeff Garzik
Quoted 3 lines · Josh Triplett
From the spec file, I notice that you install the pkg-config file to
/usr/lib/pkgconfig(or equivalent), rather than/usr/share/pkgconfig(or equivalent) as theMakefiledoes; any particular reason for that?The pkgconfig file describes an architecture-specific library, so it goes into
/usr/lib/pkgconfig/$pkg.pcif its 32-bit (or the rare 64-bit arch that uses/usr/lib), and it goes into/usr/lib64/pkgconfig/$pkg.pcif the library is 64-bit.
/usr/shareis not appropriate for architecture-specific data.
Latest sparse from Git now installs sparse.pc to $(LIBDIR)/pkgconfig (default /usr/lib/pkgconfig).
Thanks,
Josh Triplett
Quoted 10 lines · Matt Domsch
Quoted 8 lines · Josh Triplett
Quoted 5 lines · Josh Triplett
Quoted 1 line · Jeff Garzik
Can libsparse.a and necessary includes be packaged as well?
Sure, assuming you don't mind coding against something potentially fluid. The next release will install the library and headers. (At the moment, "necessary headers" seems to mean "all of them".)
The Sparse 0.2 release installs the library and headers, as well as a pkg-config file.
Quoted 6 lines
I've got a test build of sparse-0.2 posted at
http://domsch.com/linux/fedora/extras/sparse/0.2/ which I intend to put into Fedora Extras for FC5,6,devel. This puts the libsparse.a and headers into a -devel package.Jeff, does this suit your needs?
Yep, both sparse and sparse-devel look great, here on FC6!
Thanks,
Jeff
Quoted 7 lines · Jeff Garzik
Quoted 4 lines · Matt Domsch
I've got a test build of sparse-0.2 posted at
http://domsch.com/linux/fedora/extras/sparse/0.2/Jeff, does this suit your needs?
Yep, both sparse and sparse-devel look great, here on FC6!
Great. This will be in tomorrow's push of Fedora Extras for FC{5,6,devel} then.
Thanks,
Matt
Signature · 4 lines
Matt Domsch Software Architect Dell Linux Solutions linux.dell.com & www.dell.com/linux Linux on Dell mailing lists @ http://lists.us.dell.com