public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [MELT] Fixing compilation process
@ 2011-03-01 11:44 Alexandre Lissy
  2011-03-01 11:44 ` [PATCH 3/3] Regenerating melt-build.mk Alexandre Lissy
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Alexandre Lissy @ 2011-03-01 11:44 UTC (permalink / raw)
  To: gcc-patches

Hello,

I'm submitting those patches that deals with gcc's melt branch. Their
purpose is to fix the compilation process for two issues that I have
spotted while preparing RPMs for Mandriva:
 - We (I don't know why) have -Wp,-D_FORTIFY_SOURCE=2 that gets in the
   CFLAGS, and that's grabbed by MELT to be given to cc1 process.
   However, this provokes an error, as -Wp,-D_FORFITY_SOURCE=2 is said
   to be valid for the driver but not for cc1. Therefore, the fix I
   propose is to strip any reference to -Wp,-D_FORTIFY_SOURCE=2 in
   CFLAGS that melt passes to cc1 directly.
 - We also, in the same build process, passes -pipe directly to cc1.
   This results in the same errors, therefore the proposed patch also
   removes -pipe from flags for cc1.
This is it for the first patch.

 - Another issue is that while building melt modules, some paths are
   constructed with double slashes. It's bogus for RPM's debugedit, so I
   propose a patch that removes unnecessary slashes from the build
   process.
This is for the second patch

 - Latest patch is a trivial run of 'autogen melt-build.def'.

With those modifications, latest revision of melt-branch is able to
compile (not yet finally packaged, but at least we build!).

And I forgot to add that we are covered by agreement RT 319903.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-03-07 14:50 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-01 11:44 [MELT] Fixing compilation process Alexandre Lissy
2011-03-01 11:44 ` [PATCH 3/3] Regenerating melt-build.mk Alexandre Lissy
2011-03-01 11:44 ` [PATCH 1/3] Fix RPM compilation Alexandre Lissy
2011-03-01 11:44 ` [PATCH 2/3] Fix double '/' in MELT build process Alexandre Lissy
2011-03-01 21:31 ` [MELT] Fixing compilation process Basile Starynkevitch
2011-03-07 11:35   ` [MELT] Fixing compilation issues Alexandre Lissy
2011-03-07 11:35     ` [PATCH 3/4] Regenerating melt-build.mk Alexandre Lissy
2011-03-07 11:35     ` [PATCH 2/4] Fix double '/' in MELT build process Alexandre Lissy
2011-03-07 11:35     ` [PATCH 4/4] Updating MELT ChangeLog Alexandre Lissy
2011-03-07 14:50       ` Basile Starynkevitch
2011-03-07 11:35     ` [PATCH 1/4] Fix RPM compilation Alexandre Lissy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).