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


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

Submitted by:  None
Submitted on:  Sat 01 Feb 2014 06:10:51 PM UTC  
Severity: 3 - NormalItem Group: Bug
Status: FixedPrivacy: Public
Assigned to: Paul D. Smith <psmith>Open/Closed: Closed
Component Version: 4.0Operating System: POSIX-Based
Fixed Release: 4.1Triage Status: None

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


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>
Project AdministratorIn charge of this item.
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 File(s):

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)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 08 Sep 2014 12:54:14 AM UTCpsmithStatusNone=>Fixed
      Assigned toNone=>psmith
      Fixed ReleaseNone=>4.1

    Back to the top

    Powered by Savane 3.1-cleanup1