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

configure script sometimes fails on Solaris/Sparc #1028

Closed
llvmbot opened this issue Nov 8, 2005 · 4 comments
Closed

configure script sometimes fails on Solaris/Sparc #1028

llvmbot opened this issue Nov 8, 2005 · 4 comments
Labels

Comments

@llvmbot
Copy link
Collaborator

llvmbot commented Nov 8, 2005

Bugzilla Link 656
Resolution FIXED
Resolved on Feb 22, 2010 12:44
Version 1.6
OS Solaris
Reporter LLVM Bugzilla Contributor

Extended Description

The configure script sometimes fails on Sparc with the following error:

./configure --with-llvmgccdir=/localhome/tbrethou/cfrontend/sparc/llvm-gcc/
--with-f2c=/home/vadve/shared/localtools/sparc
--with-llvmsrc=/localhome/tbrethou/llvm --with-llvmobj=/localhome/tbrethou/llvm

Error:
[cut lots of config output]
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for f2c bin/lib/include locations... checking for nag-fortran
bin/lib/include locations... ./configure: bad substitution

Work around: If you have bash available on your machine, try to run the
configure script with it:

bash ./configure

@lattner
Copy link
Collaborator

lattner commented Nov 8, 2005

Note, this may only be a problem if CONFIG_SHELL=sh is in the environment.

-Chris

@llvmbot
Copy link
Collaborator Author

llvmbot commented Dec 22, 2005

Is this still a problem?

I need the config.log from solaris in order to debug this.

I remember there being some bash code in the find_std_program.m4 script but I
thought we fixed that a while back, per revision 1.3:

date: 2005/07/25 20:25:08; author: reid; state: Exp; lines: +22 -22
Get rid of bash specific syntax for variable dereferencing, replacing it
with the more crufty (but more widely available) "eval" command.

Is this a new problem or the same one?

@llvmbot
Copy link
Collaborator Author

llvmbot commented Dec 22, 2005

Mine

@lattner
Copy link
Collaborator

lattner commented Jan 21, 2006

I just verified that this works on Solaris. Thanks for the fix Reid!

-Chris

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 3, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants