URL: <http://savannah.gnu.org/bugs/?41422>
Summary: load* tests should respect CC and CFLAGS Project: make Submitted by: None Submitted on: Sat 01 Feb 2014 06:10:51 PM UTC Severity: 3 - Normal Item Group: Bug Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Component Version: 4.0 Operating System: POSIX-Based Fixed Release: None Triage Status: None _______________________________________________________ Details: 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. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?41422> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make