MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0010545 | CMake | CMake | public | 2010-04-12 21:40 | 2010-10-06 14:12 |
Reporter | Daniel Richard G. | ||||
Assigned To | Brad King | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | CMake-2-8 | ||||
Target Version | CMake 2.8.3 | Fixed in Version | CMake 2.8.3 | ||
Summary | 0010545: Bootstrap script presumes that ${CC} can be invoked without ${CFLAGS} | ||||
Description | Building CMake 2.8.1 on 64-bit AIX, I get this error: --------------------------------------------- Error when bootstrapping CMake: Cannot find appropriate Makefile processor on this system. Please specify one using environment variable MAKE. --------------------------------------------- Log of errors: /tmp/cmake--2.8.1.build/Bootstrap.cmk/cmake_bootstrap.log --------------------------------------------- I disabled the bit that deletes the temporary directory in which make-testing takes place, invoked the test myself, and saw this: user@host:/tmp/cmake--2.8.1.build/Bootstrap.cmk/cmake_bootstrap_1048776_test_dir> make "gcc" -o test test.c Assembler: /tmp//ccQCk1QK.s: line 9: 1252-191 Only .llong should be used for relocatable expressions. /tmp//ccQCk1QK.s: line 57: 1252-191 Only .llong should be used for relocatable expressions. make: *** [test] Error 1 The makefile looks like this: ----begin makefile---- test: test.c "tg-gcc" -o test test.c ----end makefile---- I manually edited it to this: ----begin modified makefile---- test: test.c "tg-gcc" $(CFLAGS) -o test test.c ----end modified makefile---- and got the following result: user@host:/tmp/cmake--2.8.1.build/Bootstrap.cmk/cmake_bootstrap_1048776_test_dir> make "gcc" -pedantic -pipe -fno-common -W -Wall -Wcast-align -Wformat=2 -Wpointer-arith -Wundef -Waggregate-return -Wcast-qual -Wmissing-declarations -Wnested-externs -Wstrict-prototypes -maix64 -mminimal-toc -O3 -o test test.c test.c:3: warning: function declaration isn't a prototype This is on a 64-bit AIX system that does not have the libraries needed to link 32-bit programs. GCC on this platform produces 32-bit binaries by default, unless you specify -maix64. Meaning, GCC without -maix64 doesn't work. | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | cmake-10545-fix.patch (408) 2010-04-22 14:12 https://public.kitware.com/Bug/file/3057/* | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2010-04-12 21:40 | Daniel Richard G. | New Issue | |||
2010-04-22 14:12 | Daniel Richard G. | File Added: cmake-10545-fix.patch | |||
2010-04-22 14:13 | Daniel Richard G. | Note Added: 0020359 | |||
2010-09-10 10:32 | Daniel Richard G. | Note Added: 0022179 | |||
2010-09-10 10:57 | Bill Hoffman | Status | new => assigned | ||
2010-09-10 10:57 | Bill Hoffman | Assigned To | => Brad King | ||
2010-09-10 11:39 | Brad King | Note Added: 0022180 | |||
2010-09-10 13:26 | Daniel Richard G. | Note Added: 0022181 | |||
2010-09-10 13:30 | Brad King | Note Added: 0022182 | |||
2010-09-10 13:30 | Brad King | Status | assigned => closed | ||
2010-09-10 13:30 | Brad King | Resolution | open => fixed | ||
2010-10-06 14:12 | David Cole | Fixed in Version | => CMake 2.8.3 | ||
2010-10-06 14:12 | David Cole | Target Version | => CMake 2.8.3 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|