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: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open
Component Version: 4.0Operating System: POSIX-Based
Fixed Release: NoneTriage Status: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Sat 01 Feb 2014 06:10:51 PM UTC, original submission:

the new load* tests:

./tests/scripts/features/loadapi
./tests/scripts/features/load

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
load.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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):

 

 

No Changes Have Been Made to This Item

Back to the top


Powered by Savane 3.1-cleanup