#9733: Parallel build of Singular 3-1-1-4-package fails in rare case
-------------------------------------------------+--------------------------
   Reporter:  AlexanderDreyer                    |       Owner:  
AlexanderDreyer                           
       Type:  defect                             |      Status:  
positive_review                           
   Priority:  major                              |   Milestone:  sage-4.6       
                           
  Component:  packages                           |    Keywords:                 
                           
     Author:  Alexander Dreyer, François Bissey  |    Upstream:  Fixed 
upstream, in a later stable release.
   Reviewer:  Mitesh Patel, Leif Leonhardy       |      Merged:                 
                           
Work_issues:                                     |  
-------------------------------------------------+--------------------------

Comment(by leif):

 Replying to [comment:31 AlexanderDreyer]:
 > Sure, I can report this to Singular's trac.

 Thanks, that would be nice.

 > [...] For the flags, I need some additional information; The meaning
 (and names) of flags highly depend on the build system of a given
 software.

 The names shouldn't, they're standard. ''How'' a package uses them might
 differ, i.e. ''some'' flags might intentionally get overridden, but they
 should never be ignored. Also, some packages won't e.g. use {{{LDFLAGS}}}
 because they use {{{libtool}}} or use the C compiler driver for linking.

 > So, each spkg-maintainer does need this knowledge for the system he/she
 maintains anyway.

 I agree an spkg maintainer should know the upstream's build process... ;-)

 > But {{{CFLAGS}}} and {{{CXXFLAGS}}} would be more standard-conforming,
 right?

 ? If this refers to (the use of) {{{CPPFLAGS}}}, these are the flags for
 the C preprocessor, {{{cpp}}}. The preprocessor is rarely used directly,
 but in the other case one should either pass them directly to the compiler
 driver as well, or e.g. prepend them to {{{CFLAGS}}} and {{{CXXFLAGS}}}.

 > BTW Singular compiles a lot of C-like code using the C++ compiler. This
 may result in the observation, that the {{{CFLAGS}}} were ignored.

 I haven't noticed that (but haven't inspected that either).

 In that case, {{{CXXFLAGS}}} should have been used (when compiling C code
 with e.g. {{{g++}}}), but that's not the case. I can give more details on
 which files were compiled only using {{{CPPFLAGS}}} later. (To see which
 flags are actually used, simply {{{export CFLAGS=-DHONORS_CFLAGS}}} etc.)

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9733#comment:33>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to