Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libm4ri thinks the C compiler is broken #7037

Closed
sagetrac-drkirkby mannequin opened this issue Sep 27, 2009 · 7 comments
Closed

libm4ri thinks the C compiler is broken #7037

sagetrac-drkirkby mannequin opened this issue Sep 27, 2009 · 7 comments

Comments

@sagetrac-drkirkby
Copy link
Mannequin

sagetrac-drkirkby mannequin commented Sep 27, 2009

Using

CC was set to the Sun C compiler. Despite thousands of lines of C code being built, libm4ri decides the Sun C compiler is broken:

checking for style of include used by make... GNU
checking for gcc... /opt/xxxsunstudio12.1/bin/cc
checking for C compiler default output file name...
configure: error: in `/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/spkg/build/libm4ri-20090617/src':
configure: error: C compiler cannot create executables
See `config.log' for more details.
Error configuring libm4ri

Upstream: Reported upstream. Developers acknowledge bug.

Component: build

Issue created by migration from https://trac.sagemath.org/ticket/7037

@sagetrac-drkirkby sagetrac-drkirkby mannequin added this to the sage-4.3 milestone Sep 27, 2009
@malb
Copy link
Member

malb commented Nov 18, 2009

comment:1

Can you provide the config.log?

@sagetrac-drkirkby
Copy link
Mannequin Author

sagetrac-drkirkby mannequin commented Nov 18, 2009

comment:2

I will do. I can't immediately, as

  • I'm not at home, and the machine with Sun Studio is power not on.

It will take me some time to reach the point of failure. I'll try phoning my wife and getting the machine put on, then try a build.

Dave

@sagetrac-drkirkby
Copy link
Mannequin Author

sagetrac-drkirkby mannequin commented Nov 18, 2009

comment:3

I rang my wife, who booted up the Blade 2000 - the only SPARC machine I have able to build Sage in a semi-sensible time frame.

I started a build, using the Sun compilers, and done a grep on install.log on 4 lines, which are generated by various configure scripts. All report below the C compiler works, has a default output of a.out, is not the GNU compiler etc. You can see the output is very different with M4RI. I need to go out now, but later will show the output of M4RI and attach config.log.

Sorry must go now.

drkirkby@swan:[~/sage-4.2] $ egrep "checking whether we are using the GNU C compiler|checking whether the C compiler works|checking for gcc|checking for C compiler default output file" install.log
checking for gcc... /opt/xxxsunstudio12.1/bin/cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are using the GNU C compiler... no
checking for gcc... /opt/xxxsunstudio12.1/bin/cc
checking for gcc... /opt/xxxsunstudio12.1/bin/cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are using the GNU C compiler... no
checking for gcc... /opt/xxxsunstudio12.1/bin/cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are using the GNU C compiler... no
checking for gcc... (cached) /opt/xxxsunstudio12.1/bin/cc
checking whether we are using the GNU C compiler... (cached) no
checking for gcc... /opt/xxxsunstudio12.1/bin/cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are using the GNU C compiler... no
checking for gcc... /opt/xxxsunstudio12.1/bin/cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are using the GNU C compiler... no
checking for gcc... /opt/xxxsunstudio12.1/bin/cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are using the GNU C compiler... no
checking for gcc... /opt/xxxsunstudio12.1/bin/cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are using the GNU C compiler... no
checking for gcc... /opt/xxxsunstudio12.1/bin/cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are using the GNU C compiler... no

@sagetrac-drkirkby
Copy link
Mannequin Author

sagetrac-drkirkby mannequin commented Nov 23, 2009

Upstream: Reported upstream. Developers acknowledge bug.

@sagetrac-drkirkby
Copy link
Mannequin Author

sagetrac-drkirkby mannequin commented Nov 23, 2009

comment:4

I report this to Martin Albrecht - see #7375 for a discussion. We finally got a solution to this, so a fix should soon be in Sage.

@mwhansen
Copy link
Contributor

comment:5

Fixed by #7375.

@sagetrac-ltw

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants