Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#879 closed defect (invalid)

C Compiler detection logic is broken

Reported by: rofl0r@… Owned by:
Priority: critical Milestone:
Component: other Version: 1.9.x
Keywords: Cc:
uname -a: Linux sabotage 4.3.4 #1 SMP Wed Dec 13 16:26:13 WEST 2015 x86_64 GNU/Linux
nginx -V: 1.9.9

Description

CC="arm-linux-musleabihf-gcc -L/home/rofl/x-prefix/armv7hf/lib -isystem /home/rofl/x-prefix/armv7hf/include" ./configure

./configure: error: C compiler arm-linux-musleabihf-gcc -L/home/rofl/x-prefix/armv7hf/lib -isystem /home/rofl/x-prefix/armv7hf/include is not found

it is perfectly fine to pass CC consisting of several components to any package, except not to nginx.

Change History (3)

comment:1 Changed 4 years ago by mdounin

  • Resolution set to invalid
  • Status changed from new to closed

The message is shown if the compiler provided either failed to compile a test file, or a compiled file failed to run. It looks like you are trying to do cross compilation, and encountered the latter case. This is not supported, configure needs to compile and run tests.

comment:2 Changed 4 years ago by rofl0r@…

if you don't intend to support crosscompilation, could you change this to "wontfix" rather than "invalid" ? thanks.

comment:3 Changed 4 years ago by mdounin

The ticket is about "C Compiler detection logic is broken", not about cross-compilation.

Cross-compilation is a feature you can file a feature request here - and it won't be closed, but it's unlikely to be implemented soon, see here.

Note: See TracTickets for help on using tickets.