Studio 11: cc -fast hangs on acomp when invoked via gmake and hogs memory

Hi,
i am seeing a weird issue here on Solaris 8 Sparc with Studio 11. Running ./configure with optimization CFLAGS (-fast -xnolibmopt) for libiconv 1.13 hangs on "checking for stdbool.h that conforms to C99..." with acomp being the last spawned process. Trussing the acomp shows a myriad of brk()s and the process hogs memory like there is no tomorrow.
   PID USERNAME  SIZE   RSS STATE  PRI NICE      TIME  CPU PROCESS/NLWP
29072 skayser   684M  670M cpu13   30    0   0:01.23 3.1% acomp/1I tried to let it run for a bit longer, after half an hour it is still there, hogging memory. On Solaris 8 x86 this configure step runs just fine. On both platforms (x86 and Sparc) there is no stdbool.h. cc complains in both cases, but on Solaris 8 x86 it simply quits, while on Solaris 8 Sparc it doesn't.
To be more precise: I can only see the issue when i let ./configure run under gmake (our build system is based on Makefiles). When i try to compile the [stdbool snippet|http://pastebin.com/m6010e35c] manually, cc returns just fine.
$ /opt/studio/SOS11/SUNWspro/bin/cc -c -fast -xnolibmopt -xarch=v8 -I/opt/csw/include -I/opt/csw/include conftest-stdbool.c
"conftest-stdbool.c", line 64: cannot find include file: <stdbool.h>
"conftest-stdbool.c", line 96: type specifier can not be used as array size expression qualifier
"conftest-stdbool.c", line 96: warning: no explicit type given
cc: Fatal error in /opt/studio/SOS11/SUNWspro/prod/bin/acomp
Status 139
$ Simply putting this invocation line in a Makefile and invoking gmake leads to a hanging acomp.
$ cat Makefile
all:
        /opt/studio/SOS11/SUNWspro/bin/cc -c -fast -xnolibmopt -xarch=v8 -I/opt/csw/include -I/opt/csw/include conftest-stdbool.c
$ gmake
/opt/studio/SOS11/SUNWspro/bin/cc -c -fast -xnolibmopt -xarch=v8 -I/opt/csw/include -I/opt/csw/include conftest-stdbool.c
"conftest-stdbool.c", line 64: cannot find include file: <stdbool.h>
"conftest-stdbool.c", line 96: type specifier can not be used as array size expression qualifier
"conftest-stdbool.c", line 96: warning: no explicit type givenNo acomp fatal error as before, no return to the prompt.
There is no such issue if i use /usr/ccs/bin/make instead or when i revert to -xO3 as optimization flags. Anyone seen something like this or any idea what could be wrong here? There is someone over at the OpenSolaris forums having a similar problem (" [Sun Studio 11 cc hangs when compiling|http://opensolaris.org/jive/thread.jspa?messageID=209219] "), but there is no solution attached to the thread.
$ cc -V
cc: Sun C 5.8 Patch 121015-06 2007/10/03Sebastian

Hi Sebastian,
The problem looks very strange... Probably "gmake" sets some environment, that causes the problem.
You can run "gmake" under "truss", to find out what is so special there:
truss  -a  -e  -f  -o gmake.tr  gmakeIt will generate file "gmake.tr", where you can find how "gmake" invokes "cc".
Then you can try to set the same environment and run "cc" manually.
This is a long way, but in many cases it helps to understand the problem.
Thanks,
Nik

Similar Messages

  • Why IPhone is getting hot when downloading via wifi and how to turn off itunes 11.1 launch automatically when plugged in Iphone to the PC

    Why IPhone is getting hot when downloading via wifi and how to turn off itunes 11.1 launch automatically when plugged in Iphone to the PC

    My brother with the iPhone 4 suffers from that too.
    My iphone 5 doesnt however.
    But to Stop Launch when your apple device is connected, 1. connect your iPhoneto your computer, 2.Go to the Summary Page, 3. uncheck the box "Open iTunes when this iPhone is connected" and then your good for that device.

  • Muvo TX FM: is the 256mb slightly faster than the 512mb when switching modes?(and starting u

    I was just wondering if the muvo tx fm 52 is slightly slower than the muvo tx fm 256 when switching modes ?
    because i have the 52 and my dad has the 256 and i noticed there's a difference
    both of them have the lastest firmware on them .5.0
    both of them are reasonably full / capcaity close to full
    when i switch from radio mode to music in folders mode : the transition between the two modes are smooth and immediate on the 256
    but when i do this on my 52 : i seem to have to an extra second of waiting time before it goes back into music mode
    yeah i know it's a bit nitpicky to bring such a thing up , but i thought it was strange that there would be a difference , since they're both the same model and firmware ( only a difference in capacity between the 2 )
    this occurance didn't start to happen until i upgraded it recently to .5.0 ( when this occurance starting appearing )
    or maybe it's just my 52 that does this ?
    anyway another thing that's strange that i've tested :
    if i do switch back to an older firmware version for my 52mb : this extra delay between switching modes is non-existant / goes away
    ( it was non-existant before i upgraded to the new firmware )
    also another thing i've noticed is the 256 seems to be faster at starting up after turning on too
    when i first turn it on , only takes till the /4 of the sand in the egg timer icon and drained to the bottom before it starts playing music
    with the 52 , it doesn't start playing music until all the sand in egg timer icon has drained to the bottom ( a second longer wait before the music starts playing )
    also another thing to note is that
    the firmware that came with the 256 , was .5.0 ( bought in april )
    i bought the 256 a couple of months ago
    with my 52 , which i had since december : i've used firmware old firmware that came with that ( i think .0.04 ) ( until switching to the newest firmware recently )
    i was just wondering what's calling this extra seconds worth of delay in my 52 , that's not present in the 256 ?Message Edited by low-quality on 07-04-2005 0:43 PMMessage Edited by low-quality on 07-05-2005 04:08 AMMessage Edited by low-quality on 07-05-2005 05:37 AMMessage Edited by low-quality on 07-05-2005 05:38 AMMessage Edited by low-quality on 07-05-2005 05:38 AMMessage Edited by low-quality on 07-05-2005 05:38 AMMessage Edited by low-quality on 07-05-2005 05:39 AMMessage Edited by low-quality on 07-05-2005 05:39 AMMessage Edited by low-quality on 07-05-2005 05:39 AMMessage Edited by low-quality on 07-05-2005 05:40 AMMessage Edited by low-quality on 07-05-2005 05:40 AMMessage Edited by low-quality on 07-05-2005 05:42 AM

    Sounds like it could be because of the capacity difference, maybe a mod could confirm this.

  • Javascript works in Designer preview mode, but not when invoked via process

    I have a fragment consisting of a subform and a text object. The subform has the following Javascript for its initialize event:
    var cars = $data.input.cars.car.all;
    var showMe = false;
    for (var i = 0; i < cars.length; i++) {
    if(cars.item(i).color && cars.item(i).color.value == 'RED')
    showMe = true;
    break;
    if(!showMe) {
    this.presence = 'hidden';
    The code is supposed to loop through all my input XML data's cars, see if each car has a color element, and if so, see if the color is RED. If any of the cars have a color of RED, the fragment should be visible. Otherwise, it should be hidden.
    The Javascript works fine when I preview the fragment in Designer using a sample XML input file with no color element (i.e. the text in the fragment is hidden).
    The Javascript works fine in my main document (which has the fragment included in it) when in preview mode in Designer.
    The Javascript does not work when I invoke my process in LiveCycle server. I pass in data that has 1 car without a color element, and for some reason my fragment is visible.
    Is there something wrong with my Javascript? Is this the wrong way to check to see if an XML element is present? Is something else wrong?
    Any help would be appreciated!
    Thanks,
    Andy

    I guess a more appropriate question might be:<br /><br />How can I tell if my XML input data does or does not contain an element?  Let's say I have<br /><br /><input><br />  <cars><br />   <car><br />     <make>VW</make><br />   </car><br />  </cars><br /></input><br /><br />How can I use Javascript to safely determine if the car has a <color> element?

  • Flash Builder 4.4, Application crashes every time when i start profiling and take memory snapshort?

    Hello all,
    i have a real wired problem, when ever i start profiling my application in Adobe Flash builder and take a memory  snapshot the application crash, and these dialogs appears.
    i have tried Adobe flash builder 4.4, 4.5, 4.6 all of these have same behavior on window xp, while on mac os x the 4.6 version is working fine for profiling but the debug mode crashes every time. while 4.4 and 4.5 crashes on profiling and working fine for the rest of the work.
    help required
    regards.

    If there are any saved web pages or HTML files in the same folder that you're trying to upload from, move or delete those files and try again. Otherwise, try moving the files you want to upload to a different folder.

  • CS4 js error on file save -- but only when run via droplet

    I have a js script that I've been using fine in PS CS. I've now upgraded to CS4 and trying to get it working. After a couple of minor tweaks, the script works fine when invoked directly from within CS4 (in an action step). But when I create a droplet from that action, the same script gives an error when it comes to saving the image to a jpeg file.
    The relevant code is here:
    jpgSaveOptions = new JPEGSaveOptions();
    jpgSaveOptions.embedColorProfile = false;
    jpgSaveOptions.formatOptions = FormatOptions.STANDARDBASELINE;
    jpgSaveOptions.quality = 12;
    jpgSaveOptions.matte = MatteType.NONE;
    var jpgFile = new File(outputFolderName + "/" + fullFileName + ".jpg");
    alert("Saving as " + outputFolderName + "/" + fullFileName + ".jpg");
    exists = jpgFile.open("r");
    alert("Opened");
    docRef.saveAs(jpgFile, jpgSaveOptions, false, Extension.LOWERCASE);
    alert("Saved");
    When invoked via the droplet, it gets as far as displaying "Opened", then it conks out with error:
    "EvalError: General Photoshop error occurred. This functionality may not be available in this version of Photoshop. - Could not save as "" because the file could not be found."
    Thing is, I'm not trying to save as "" -- the filename is properly populated with a proper filename, and indeed this script works fine when invoked directly and not through a droplet.
    Any ideas?
    Thanks,
    Mike

    docRef is defined quite a while back:
    // create the new document (without EXIF) to work on, with same size, resolution etc as original.
    var docRef = app.documents.add(x, y, r, originalDocName + " copy", m, DocumentFill.TRANSPARENT);
    but I do lots of things with docRef in the meantime that don't cause any error... like:
    docRef.bitsPerChannel = b
    // turn off colour management in the new document
    docRef.colorProfileType = ColorProfile.NONE;
    // paste in the original image
    docRef.paste();
    // Assign original colour profile now
    docRef.colorProfileName = originalColourProfile;
    and loads more stuff.
    Mike

  • DVD Studio Pro 4.1 hangs on installation.

    I first installed Final Cut Studio Academic a while ago and when I installed using the Final Cut Studio installer, it would hang after I put in the DVDSP disk right as it was finishing installing the templates.
    So I forced quit the installer and installed each disk individually. Once I got to the DVDSP disk, same issue. All my other FCS apps installed fine, even the DVDSP application itself installed, sans content. I tried installing the content alone and got the same issue; installer would run untill about 99% and then it would hang.
    I just bought FCS retail (I wasn't using it for education at all anymore, and I wanted the option to upgrade) and ran into the exact same issue.
    I've seen this problem on other posts, but they were months old and no one had an answer.
    Any clues?

    Yep, I was just impatient it seems.
    http://docs.info.apple.com/article.html?artnum=302168
    It stops at 98% for an hour, but if you watch your hard disk you can see it beeing filled with data. So I just turned off my montior and took a walk for a while and it was done.

  • I can't burn a dvd using any method, Idvd tells me that my super drive is missing, dvd studio pro quits when i click burn and disk utility keeps spitting the disk out when i click burn and enter the disk??? how do i repair my superdrive for imac

    I can't burn a dvd using any method, idvd tells me that my super drive is missing, dvd studio pro quits when i click burn and disk utility keeps spitting the disk out when I click burn and enter the disk??? how do i repair my superdrive for imac, or how do I do whatever I need to do to get it working: I have already tried using a lens cleaning cd and also restored my nvram or something i forget what it was called but i restarted my computer holding down  command+optoion+p+r and still nothing???
    Free solutions are the best, although if I have to pay I will, I would prefer to not have to buy an external burner if possible and already know that is an option so please don't give me that answer... thank you for any help you can give

    Unless your iMac is still covered by AppleCare, get an external DVD burner.
    You can get perfectly good ones from Amazon for less than $40.

  • New Win 8.1 64-bit PC and TB 'hangs' relentlessly, esp when deleting mail.

    TB working fine when new computer was set up, now 3-4 weeks later it hangs constantly, especially when deleting mail or trying to move it to another folder. Have to wait for the circular 'doodad' to clear after every deletion. Have rebooted computer, run virus scans, deleted trash, and no change now for past 2 weeks. I was a happy TB customer for years on the old XP.

    I amusing the McAfee that came with the Dell. I had been using Norton/Symantec and just haven't switched back over yet. Might that be it?

  • Getting hang/crash problem when I try to close browser window from applet

    I have a small Apllet that has a button that calls a Javascript function in the opening window, to close the window in which it is loaded.
    The Applet window is a PopUp window from one of my application's window. First time I start my application and load that Applet the button works fine. It calls the Javascript method and the Method closes the window using the self.close() method.
    But now if I open the applet window again and click on the button to close the windows, it hangs. I put in trace statements and saw that it hangs on JSObject.getWindow() window.
    I am using JDK Plugin 1.4.2_07 and 5.0 , if I work out on IE browser, it works fine.But when I use firefox or mozilla it gives problem of hanging/crashing.
    Note that in case of 1.4.2_07 this problem experienced some times but in case of 5.0 it gives always for other than IE browser.
    Please, if somebody could give me some clue about why this would happen, I will really appreciate that. and code related to this is given below
    import javax.swing.JApplet;
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    import netscape.javascript.JSObject;
    public class TestApplet extends JApplet implements ActionListener{
    protected JButton closeButton = null;
    protected JSObject win = null;
    private JFrame frame = null;
    private boolean alreadyClosed = false;
    public void init(){
    this.win = JSObject.getWindow(this);
    this.closeButton = new JButton("Close Browser Window");
    this.add(this.closeButton);
    this.closeButton.addActionListener(this);
    frame = new JFrame("Test Frame");
    frame.setSize(300, 400);
    frame.addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent e) {
    System.out.println("windowClosing");
    alreadyClosed = true;
    TestApplet.this.stop();
    frame.show();
    public void actionPerformed(ActionEvent ae){
    stop();
    public void stop() {
    if (!alreadyClosed) {
    alreadyClosed = true;
    frame.dispose();
    closeLaunchedBrowser();
    System.gc();
    System.runFinalization();
    private void closeLaunchedBrowser() {
    final TestApplet thisObject = this;
    Runnable r = new Runnable() {
    public void run() {
    try {
    JSObject win = (JSObject)JSObject.getWindow(thisObject);
    if (win != null && win.toString() != null) {
    //win.eval("top.opener=self;self.close();");
    //win.call("close", null);
    win.eval("self.close();");
    } catch (Exception e) {
    Thread t = new Thread(r);
    t.start();
    Thanks.

    I am waiting for any reply. I have tried for all these below options still I am getting Problem. I heard this is because of javascript, it wont call methods more times .Thats
    why I need other than JSObject or java script solution.If some one know anything about this or any modifications I have to made for the below options to avoid that problem please let me know.
    // URL durl = new URL(thisObject.getCodeBase(), "test/CloseMe.htm");
    // System.out.println("URL :" + durl.toString());      
    // thisObject.getAppletContext().showDocument(durl);
    //     thisObject.getAppletContext().showDocument(new URL("javascript:window.close();"), "_self");
    //win.eval("top.opener=self;top.close();");
    //win.call("close", null);
    //Object[] args = { "close", new Integer(50) };
    // win.call("setTimeout", args);
    //win.eval("setTimeout("close", new Integer(50));");
    If it is the problem of JRE I just need it should work on 1.4.2_01 or higher.
    thanks.

  • Playbook always hang/freez​e when watching online movies

    I always experience this problem on my playbook, always hang or freeze when watching movie online . I always restart or sometimes close my browser just for a quick remedy and it is so annoying. Can someone or the experts help me with my problem. My playbook version is 1.0.6.2390

    hello sunrayfifty,
    it's easy :
    http://ca.blackberry.com/support/playbook-support/​contact.jsp
    it took me 40 seconds to find this link after reading your message.
    1) go to http://ca.blackberry.com/
    2) choose the PlayBook in the Devices drop down menu
    3) scroll down the page to a link named "Explore support options"
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • TS3742 I have an iMac 24" system. I just recently installed MAC OS X 10.7.4 (Lion) on my system. Since doing so, my system consistently hangs. Particularly when using iMovie and iPhoto.

    I have an iMac 24" system. I just recently installed MAC OS X 10.7.4 (Lion) on my system. Since doing so, my system consistently hangs. Particularly when using iMovie and iPhoto. I have to power off my system to get it running again. Any suggestions on what I can do  to address this situation.

    I would first reset the SMC:
    Shut down and unplug the Mac.
    Keep the Mac unplugged for at least fifteen seconds.
    Plug the Mac back in and do not turn it back on for at least five seconds.
    Press the power button to turn the Mac back on.
    Then I would reset the PRAM by rebooting the iMac while simultaneously holding the Command-Option-P-R keys until the machine restarts a second time.
    Let us know if these  procedures don't solve the problems.
    Hope this helps

  • Can't Fast-Forward or Rewind when iTunes is minimized

    When iTunes is minimized and I hold down the right arrow to fast forward, the track only advances like 6 sec and continues to play. BUT when it's expanded it continues to fast-forward until I let go.
    This never happend before I upgraded to iTunes6.
    Is anyone else having this problem?

    Really? Sorry to hear that. It fixed it just fine for me. (I say that now, but watch it not work for me soon. heh) I didn't have to re-start for it to work, so.
    I wonder what it is that is making it work or not work for different users.

  • Photoshop cs5 hangs on launch when loading brushes

    Photoshop cs5 hangs on launch when loading brushes.  I have to do a hard reboot and reset the preferences.  In the past 2 days I have had to do this 3 times.  I have the latest drivers.  below is my hardware.  I am also running lightroom.  I did not have this issue until after I installed the latest updates from the adobe website. Does anyone have any information on a fix for this problem  Thank You for your time.
    Nancy Cuppy

    That's interesting...and troublesome.
    I did some research on it this morning and found it was happening dell computers (maybe because there are lots of Dells!) and there is no one answer, as there is no common connections.
    Have you rebooted again after the f8>last known...step? Does it boot ok? One problem is that check disk did not clear after running and there is a fix for that.
    Did your computer come with Win7 installed? If so, I would contact that computer's support and see what they say.
    That it started ok in "last known" is apparently unique as I found no reference to that. Normally one goes to Safe Mode and see if it starts ok, and if it does, then steps to clear the restart problem can be implemented.
    The fact that no problems showed up at the first check is a good sign.
    I hesitate to offer any other solutions as there are several, including actual Registry mods but that I wouldn't do.
    Perhaps others here who experienced this as well could jump in.

  • HT204266 I want to buy the Craigslist pro app and when I sign into iTItem as described and fast shipping! Aunes with my Apple ID  and password ( both of which I know) it then asks security questions that I never chose ( or are even options to chose) in my

    I want to buy the Craigslist pro app and when I sign into iTItem as described and fast shipping! Aunes with my Apple ID  and password ( both of which I know) it then asks security questions that I never chose ( or are even options to chose) in my profile.

    If you don't know their answers then if you have a rescue email address (which is not the same thing as an alternate email address) set up on your account then the steps half-way down this page should let you reset them : http://support.apple.com/kb/HT5312
    If you don't have a rescue email address (you won't be able to add one until you can answer 2 of your questions) then you will need to contact iTunes Support / Apple to get the questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699
    When they've been reset (and if you don't already have a rescue email address) you can then use the steps half-way down the HT5312 link above to add a rescue email address for potential future use

Maybe you are looking for

  • Changing OS Windows 8.1 to Windows 8.0 from DVD Windows 8 upgrade.

    I have Windows 8.1 as the original OS on this Computer.  I was told twice I would be able to change to Windows 8.0 by Microsoft Techs.  Two MS Tech have worked to install this program.  Doesn't work.  It goes to Windows Setup (That doesn't follow thr

  • Sharing with my family

    I have 5 family members all with their own apple computers and all with their own itunes accounts. I would like to know how I can easily share music my wife and I have already bought under our Itunes accounts.  Is there a better way to share for the

  • 4G Pricing

    I can only hope that somebody from the Verizon thinktank circle take a long hard look at Time Warner's 4G pricing. For those who missed it: Free device and $50 unlimited plan.

  • Use Buttons to switch HTML Pages

    I have Dreamweaver 8 (as part of Studio 8 Mac). I use OSX.3.9 on a G4-500, and OSX.4.7 on a PB17 !.67GB. I would like to have a home page with buttons some where acros the top or down one side. Maybe using a Tables, I would like to click a given butt

  • Can't save as simple unicode

    hey all, for using data merge in indesign i need a simple unicode .csv but numbers only exports unicode-8-utf but a only "unicode" export is not available. thanks.