bugmake - Bugs: bug #41422, load* tests should respect CC and...


bug #41422: load* tests should respect CC and CFLAGS

Submitter:  None
Submitted:  Sat 01 Feb 2014 06:10:51 PM UTC
Severity:  3 - Normal Item Group:  Bug
Status:  Fixed Privacy:  Public
Assigned to:  psmith Open/Closed:  Closed
Component Version:  4.0 Operating System:  POSIX-Based
Fixed Release:  4.1 Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup

Mon 08 Sep 2014 12:54:14 AM UTC, comment #1: 

I added code which I believe will fix this as a result of Savannah bug #40240 back on Oct 19, 2013 (just after 4.0 was released).

Paul D. Smith <psmith>
Group administrator
Sat 01 Feb 2014 06:10:51 PM UTC, original submission:  

the new load* tests:


want to build a shared object to load into make:

my $sobuild = '$(CC) '.($srcdir? "-I$srcdir":'').' -g -shared -fPIC -o $@ $<';

we build make 64-bit now on Solaris, and there seems to be two
problems. We set CC to an absolute path to the compiler when
running configure:

{mlsulliv:stargazer:38} grep "^CC =" Makefile
CC = /ws/on12-tools/SUNWspro/sunstudio12.1/bin/cc

but when I run the tests, even though I see $(CC) above, it
actually failed trying to find 'cc' until I set the path.

the other problem is that since we build make 64-bit, the tests
need to build a 64-bit .so, but as they don't pick up CFLAGS
they don't get -m64 and so build a 32-bit one, which doesn't



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by psmith (Posted a comment)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-09-08 psmith StatusNone Fixed
        Assigned toNone psmith
        Open/ClosedOpen Closed
        Fixed ReleaseNone 4.1

    Back to the top

    Powered by Savane 3.13-12ab.
    Corresponding source code