bugGforth - Bugs: bug #49435, Configure fails on Mavericks

 
 

bug #49435: Configure fails on Mavericks

Submitted by:  Tony C <cappy2112>
Submitted on:  Tue 25 Oct 2016 04:59:18 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Confirmed
Privacy: PublicAssigned to: Bernd Paysan <paysan>
Open/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 26 Oct 2016 05:51:35 PM UTC, comment #2:

gforth-0.7.3 was prepared when XCode still came with a real gcc. We added the switch --no-cpp-precomp without testing if GCC actually accepts that switch.

Search for --no-cpp-precomp in configure, delete the line that assigns it to CFLAGS, and try again. That should fix it.

Bernd Paysan <paysan>
Project AdministratorIn charge of this item.
Wed 26 Oct 2016 12:46:44 PM UTC, comment #1:

I don't have a Mac OSX machine at hand, so I cannot investigate your bug in depth. However, looking at the output of "configure" on your system, the strangeness starts already with the "checking size of " outputs (all 0). This indicates that compilation and running the compiled code is not working. This may also be the reason why you get the warnings about "Present But Cannot Be Compiled". Earlier than that, gcc does not understand any of the options we try, which is surprising for a modern gcc version.

My suggestion is to investigate what happens on "checking size of char *": Search for that string in config.log, and show the next lines. The next step then would be to look at the conftest.c that is being compiled, but that is more involved.

Anton Ertl <anton>
Project Administrator
Tue 25 Oct 2016 04:59:18 AM UTC, original submission:

On OSX 10.9.5, running configure on gforth 0.7.3 results in many

"Report this to https://savannah.gnu.org/bugs/?func=addbug&group=gforth"
messages being displayed.

Running make just results in many errors.

Tony C <cappy2112>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #38805:  config.out added by cappy2112 (9KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by paysan (Posted a comment)
  • -unavailable- added by anton (Posted a comment)
  • -unavailable- added by cappy2112 (Submitted the item)
  • -unavailable- added by cappy2112
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 26 Oct 2016 05:51:35 PM UTCpaysanStatusNeed Info=>Confirmed
      Assigned toNone=>paysan
    Wed 26 Oct 2016 12:46:44 PM UTCantonStatusNone=>Need Info
    Tue 25 Oct 2016 04:59:18 AM UTCcappy2112Attached File-=>Added config.out, #38805
      Carbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1