LLVM ERROR: Program used external function '...' which could not be resolved!

marco atzeri marco.atzeri@gmail.com
Sun Feb 19 15:27:00 GMT 2012


On 2/18/2012 2:37 PM, KIMURA Masaru wrote:
> Hi,
>
> I've posted a question about porting problem a while ago[1].
> Now I have another one[2].
>
> As the subject said, I may encounter a llvm's bug but it looks cygwin
> related to me.
> Anyone can reproduce this error?
> If so, I'd like to ask cygwin devs who packaged llvm and upstream llvm
> devs about why this error is.
>
> I'd also attached my current TODO (added .txt for tard gmail's MIME
> recognizor) for the record.
>
> Peace,
> -----
> [1] http://cygwin.com/ml/cygwin/2012-02/msg00459.html
> [2] https://github.com/hiyuh/nvc/blob/master/TODO
>

Hi Kimura,

first some correction/suggestion to your instructions

  $ git clone git@github.com:hiyuh/nvc.git
  $ cd ~/git-repos/nvc

will not work for us. You need to report

  $ git clone https://github.com/hiyuh/nvc.git
  $ cd nvc

for lib/ieee it will be nice to add the download of
the vhdl files in the autogen.sh .


About the error, my log reports:
--------------------------------------
make[2]: Entering directory `/tmp/prova/nvc/test'
Running suite(s): lib
[gc: freed 0 trees; 35 allocated]
100%: Checks: 3, Failures: 0, Errors: 0
PASS: test_lib.exe
Running suite(s): ident
100%: Checks: 9, Failures: 0, Errors: 0
PASS: test_ident.exe
Running suite(s): parse
100%: Checks: 19, Failures: 0, Errors: 0
PASS: test_parse.exe
Running suite(s): sem
100%: Checks: 16, Failures: 0, Errors: 0
PASS: test_sem.exe
Running suite(s): simplify
100%: Checks: 2, Failures: 0, Errors: 0
PASS: test_simp.exe
Running suite(s): elab
100%: Checks: 3, Failures: 0, Errors: 0
PASS: test_elab.exe
Running suite(s): heap
100%: Checks: 3, Failures: 0, Errors: 0
PASS: test_heap.exe
./run_regr.rb:3:in `require': no such file to load -- rubygems (LoadError)
         from ./run_regr.rb:3
FAIL: run_regr.rb
==============================================
1 of 8 tests failed
-----------------------------------------

So I see that rubygems is missing as expected.
There is none between cygwin packages

So or you have also installed by yourself rubygems
and it does not work, or your ruby is broken
eventually a rebaseall is neede.

By the way, I noticed that after installing rubygems
and than colorize, "make check" hangs on require

PASS: test_heap.exe
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in 
`gem_original_require': no such file to load -- getopt/std (LoadError)
         from 
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
         from ./run_regr.rb:7
FAIL: run_regr.rb


probably the check for std "require" is broken


Regards
Marco

PS: it seems non a problem of llvm at all

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list