Assembler: subtracting symbols in different sections

Hello,
the x86(_64) assembler that comes with Sun Studio refuses to compute the difference between symbols in different sections with an error message: "Illegal subtraction - symbols from different sections".
Even if it makes sense to refuse such subtractions (is there a standard somewhere that says they are illegal? The ELF ABI maybe?), gnu tools accept them, so people start using them (apparently there can be some benefits), and the code fails to compile with Sun Studio. I know gcc regularly has such problems since around 2005, and the latest version of gmp also has this issue.
Is there a chance such subtractions may become legal in some not too distant future?

The GNU assembler manual says that a program cannot subtract
symbols from different sections. The text states
Subtraction. If the right argument is absolute, the result has the section of
the left argument. If both arguments are in the same section, the result is
absolute. You may not subtract arguments from different sections.
I wrote some trial programs that subtracted symbols from different sections.
The assembler accepted one of them, but most failed to assemble with error
messages such as
t.s: Assembler messages:
t.s:27: Error: can't resolve `a' {.data section} - `main' {.text section}
There is a reason to reject such expressions. There is no ELF relocation type
for such expressions.
The one program that succeeded in assembling produced the value zero for
the subtraction even though it should have been nonzero.
I ran my tests under SLES 10 SP2. I used the assembler in /usr/bin/as. It is
possible that other Linux distros would produce different results.
Bob Corbett

Similar Messages

  • Pls Help! Drag and Drop problem, identical symbols acting differently - same code! WHY?

    In the attached file, I have a series of symbols that have a drag and drop command to change colour at different sections of a bullseye, and that are also text editable (html).
    However, some of the symbols get stuck and will not be moved after moving once or at all, and some get stuck once their text has been edited.
    I have poured over the code and it appears to be the same for each symbol - can anyone explain as to why this is happening?
    I also cannot now edit the text properly on the ipad (it is really fiddly to change between different symbols to edit their text -- is there maybe a better way to do this? A button to change between symbols to then edit their text, can you help with this too?)
    THANK YOU SO MUCH!!!
    File here:
    https://www.dropbox.com/s/g71gnfichjgyehn/NEW%20RISK%20RADAR.zip

    Hi, I think I undertsand what you mean now, so the code is as below, btu I am not sure what a handler is? but some of my risks still get stuck once the text has been changed on them:
    // Use for loop for attr
    // deleted  yepnope since you load with scropt loading
    // added pos for each symbol so we can replace them there.
    document.ontouchmove = function(e) {
            e.preventDefault();
    var risk = ;
    var Pos = [
    {'x':-9,'y':806},
    {'x':27,'y':854},
    {'x':72,'y':894},
    {'x':71,'y':934},
    {'x':231,'y':811},
    {'x':231,'y':853},
    {'x':231,'y':894},
    {'x':231,'y':934},
    {'x':388,'y':811},
    {'x':388,'y':852},
    {'x':388,'y':893},
    {'x':388,'y':934},
    {'x':543,'y':811},
    {'x':543,'y':853},
    {'x':543,'y':893},
    {'x':543,'y':934}
    var myText = ; 
    for (i=0;i<risk.length;i++){
    sym.getSymbol(risk[i]).$(risk[i]).attr("contenteditable",true);
    sym.$('Quadrant_text').attr("contenteditable",true);
    sym.$('Quadrant1_text').attr("contenteditable",true);
    sym.$('Quadrant2_text').attr("contenteditable",true);
    sym.$('Quadrant3_text').attr("contenteditable",true);
    // apply the draggable JQuery UI plugin to the MyDraggableSymbol symbol on your stage
    sym.$('Risk1').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk1").stop("Initial");
      sym.setVariable("symName","Risk1");
    //adding for risk3_orange similarly add for other symbols
    sym.$('Risk1').draggable();
    sym.getSymbol('Risk1').$("Risk1").bind('click tap',function(ev) {
         sym.$('Risk1').draggable('disable');
    }).unbind('dblclick tap',function(ev) {
         sym.$('Risk1').draggable('enable');
    sym.$('Risk2').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk2").stop("Initial");
      sym.setVariable("symName","Risk2");
    //adding for Risk2 similarly add for other symbols
    sym.$('Risk2').draggable();
    sym.getSymbol('Risk2').$("Risk2").bind('click tap',function(ev) {
         sym.$('Risk2').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk2').draggable('enable');
    sym.$('Risk3').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk3").stop("Initial");
      sym.setVariable("symName","Risk3");
    //adding for Risk3 similarly add for other symbols
    sym.$('Risk3').draggable();
    sym.getSymbol('Risk3').$("Risk3").bind('click tap',function(ev) {
         sym.$('Risk3').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk3').draggable('enable');
    sym.$('Risk4').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk4").stop("Initial");
      sym.setVariable("symName","Risk4");
    //adding for Risk4 similarly add for other symbols
    sym.$('Risk4').draggable();
    sym.getSymbol('Risk4').$("Risk4").bind('click tap',function(ev) {
         sym.$('Risk4').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk4').draggable('enable');
    sym.$('Risk5').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk5").stop("Initial");
      sym.setVariable("symName","Risk5");
    //adding for Risk5 similarly add for other symbols
    sym.$('Risk5').draggable();
    sym.getSymbol('Risk5').$("Risk5").bind('click tap',function(ev) {
         sym.$('Risk5').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk5').draggable('enable');
    sym.$('Risk6').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk6").stop("Initial");
      sym.setVariable("symName","Risk6");
    //adding for Risk6 similarly add for other symbols
    sym.$('Risk6').draggable();
    sym.getSymbol('Risk6').$("Risk6").bind('click tap',function(ev) {
         sym.$('Risk6').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk6').draggable('enable');
    sym.$('Risk7').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk7").stop("Initial");
      sym.setVariable("symName","Risk7");
    //adding for Risk7 similarly add for other symbols
    sym.$('Risk7').draggable();
    sym.getSymbol('Risk7').$("Risk7").bind('click tap',function(ev) {
         sym.$('Risk7').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk7').draggable('enable');
    sym.$('Risk8').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk8").stop("Initial");
      sym.setVariable("symName","Risk8");
    //adding for Risk8 similarly add for other symbols
    sym.$('Risk8').draggable();
    sym.getSymbol('Risk8').$("Risk8").bind('click tap',function(ev) {
         sym.$('Risk8').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk8').draggable('enable');
    sym.$('Risk9').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk9").stop("Initial");
      sym.setVariable("symName","Risk9");
    //adding for Risk9 similarly add for other symbols
    sym.$('Risk9').draggable();
    sym.getSymbol('Risk9').$("Risk9").bind('click tap',function(ev) {
         sym.$('Risk9').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk9').draggable('enable');
    sym.$('Risk10').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk10").stop("Initial");
      sym.setVariable("symName","Risk10");
    //adding for Risk10 similarly add for other symbols
    sym.$('Risk10').draggable();
    sym.getSymbol('Risk10').$("Risk10").bind('click tap',function(ev) {
         sym.$('Risk10').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk10').draggable('enable');
    sym.$('Risk11').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk11").stop("Initial");
      sym.setVariable("symName","Risk11");
    //adding for Risk11 similarly add for other symbols
    sym.$('Risk11').draggable();
    sym.getSymbol('Risk11').$("Risk11").bind('click tap',function(ev) {
         sym.$('Risk11').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk11').draggable('enable');
    sym.$('Risk12').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk12").stop("Initial");
      sym.setVariable("symName","Risk12");
    //adding for Risk12 similarly add for other symbols
    sym.$('Risk12').draggable();
    sym.getSymbol('Risk12').$("Risk12").bind('click tap',function(ev) {
         sym.$('Risk12').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk12').draggable('enable');
    sym.$('Risk13').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk13").stop("Initial");
      sym.setVariable("symName","Risk13");
    //adding for Risk13 similarly add for other symbols
    sym.$('Risk13').draggable();
    sym.getSymbol('Risk13').$("Risk13").bind('click tap',function(ev) {
         sym.$('Risk13').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk13').draggable('enable');
    sym.$('Risk14').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk14").stop("Initial");
      sym.setVariable("symName","Risk14");
    //adding for Risk14 similarly add for other symbols
    sym.$('Risk14').draggable();
    sym.getSymbol('Risk14').$("Risk14").bind('click tap',function(ev) {
         sym.$('Risk14').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk14').draggable('enable');
    sym.$('Risk15').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk15").stop("Initial");
      sym.setVariable("symName","Risk15");
    //adding for Risk15 similarly add for other symbols
    sym.$('Risk15').draggable();
    sym.getSymbol('Risk15').$("Risk15").bind('click tap',function(ev) {
         sym.$('Risk15').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk15').draggable('enable');
    sym.$('Risk16').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk16").stop("Initial");
      sym.setVariable("symName","Risk16");
    //adding for Risk16 similarly add for other symbols
    sym.$('Risk16').draggable();
    sym.getSymbol('Risk16').$("Risk16").bind('click tap',function(ev) {
         sym.$('Risk16').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk16').draggable('enable');
    sym.getSymbol("Drop").$('Outer').droppable(
    sym.getSymbol("Drop").$('Middle').droppable(
    sym.getSymbol("Drop").$('Target').droppable(
    sym.$('resetBtn').click(function(){
      sym.$('Quadrant_text').html('Quadrant');
      sym.$('Quadrant1_text').html('Quadrant');
      sym.$('Quadrant2_text').html('Quadrant');
      sym.$('Quadrant3_text').html('Quadrant');
    for (i=0;i<risk.length;i++){
      sym.$(risk[i]).css({"left":Pos[i].x,"top":Pos[i].y,"position":"absolute"})
      sym.getSymbol(risk[i]).stop(0);
      sym.getSymbol(risk[i]).$(risk[i]).html("Challenge");
    But is still doesn't work,
    Subject: Re:  Pls Help! Drag and Drop problem, identical symbols acting differently - same code! WHY?

  • Setting different pages widths in different sections - Pages 5.2

    In Pages 5.2, how does one set different page widths (margins) in different sections?

    You can't. Margins apply to the entire document.
    What you can do is set the margins to their max width and then use left and right indents for the sections you want narrower.
    Peter

  • In my itunes library I have apps for the ipod.  All of the apps were together, and now I have two different sections to my apps. The first one says 44 apps and the second section says 143 apps.  When I connect my ipod only the first section goes on

    can anyone help me with my apps on my itunes.  They have separated for some reason.  I have one section of 44 apps and the other has 121 apps. Only the top section will sinc with my ipod because at the side where it says apps, it is only showing the 44 apps and not the section at the bottom

    Can you take a screen shot of the iTunes screen and post it? I do not really understand what you  mean by different sections.
    What model iPod and iOS do you have? Maybe the section that does not sync are not compatible with the iPod.
    Were all the apps purchased with one account?
    Do you have any Restrictions one that would prevent syncing? Settings>General>Restrictions.

  • How to filter the data in different sections (e.g. Report Footers)?

    Hi,
    I am using Crystal Reports 11 to generate cross-tables.
    I plan to generate 3 cross-tabs, and each cross-table will be put in a section. For example, cross-tab1 in Report Footer a; cross-tab2 in Report Footer b; cross-tab3 in Report Footer c.
    I know use "Select Expert" to filter data. But, it seems that "Select Expert" filters data for the whole report.
    I want to filter the data for each cross-table separately. For example, filter cross-tab1 based on condition1; filter cross-tab2 based on condition2; filter cross-tab3 based on condition3.
    How to filter the data in different sections (e.g. Report Footers)?
    Thank you in advance.

    Hi,
    Now that you've inserted the subreport just right-click the sub-report and click Edit. The Design page for sub-report should open up.
    You can now insert the cross-tab on the Report Header and insert a record selection formula of your choice.
    Also, suppress all the other sections of the subreport so the Main report only shows the crosstab without any spaces.
    Do the same for all the subreports.
    -Abhilash

  • When I click "about this mac" to check on my storage, I get a number of different sections music, movies, etc. but also I get a section called backups, where can I find the files in this section?

    When I click "about this mac" to check on my storage, I get a number of different sections music, movies, etc. but also I get a section called backups, where can I find the files in this section?

    Welcome to Apple Support Communities
    All the storage in "Backups" is taken up by local snapshots, which are made automatically in all MacBooks, MacBooks Pro and MacBooks Air with OS X Lion or newer and Time Machine turned on.
    See > http://pondini.org/TM/30.html I recommend you to leave them there, because they will be removed automatically. However, if you want, you can disable or remove them manually if you want, even if there's no reason to do this. Have a look at the link above for more information

  • Am creating document with Pages. pages are in "portrait" orientation, but two charts at end need to be "landscape". changing the orientation for one section changes it for entire doc. can i have different orientations in Pages for different sections?

    am creating a document with Pages.  all pages using "portrait" orientation, except 2 appendices need to be in "landscape".  in Word for Windows it is possible to have different page orientations for different sections of a document.  is that possible with Pages.  Even when i put the appendices in a different section, changing the page orientation changes it for the entire doc.

    Make a separate document the size and orientation you want.
    Turn that into a pdf and add it back into the original Pages document or into the pdf from from that document.
    Peter

  • How do I apply different margins to different section in the same document?

    In Pages 5, how do I apply different margins to different section in the same document? there are is no layout break like in Pages 4.

    Use the Text Format Pane, Layout Tab, Indents.
    You could do the same thing by dragging the margin stops on the Ruler.
    Jerry

  • Different margins in different sections

    Is it possible in Pages (iWork '09) to set different margins for different sections? If so, how?

    D,
    You must first set the Document Margins in the Document Inspector, Document Tab, Document Margins area. This setting is the narrowest margin that you intend to use anywhere in the document.
    Then when you add a Layout Break, go to the Layout Inspector, Layout Tab, Layout Margins area and add more margin width with the settings there.
    The Document Margins dictate the maximum text width (smallest margins) anywhere in the document. The Layout Margins further narrow the text area on a per-layout-region basis.
    Jerry

  • How to apply different 'headers' to different sections of a document?

    I realise that 'headers' may not be the correct term but... is it possible to apply a series of different 'headers' to different sections in a single document?
    In the example where a single document consists of three 'chapters' (say, 10-15 pages each) I'd like to have a 'header' that reads: "This is the first part" at the top of all chapter one pages, "This is the second part" at the top of all chapter two pages and "This is the third part" at the top of all chapter three pages (etc).
    I thought this might be possible using a series of master pages but have no idea whether that would work or how to go about it so any clues would be most appreciated - am using latest release of ID (CS6) on Windows 7.

    Well you don't need different master pages.
    You go to the single master page and go to
    Type>Text Variables>Define
    Click the pre-exisiting Running Header and click "edit"
    Select "Running Header Paragraph Style"
    Style: <select the style of the chapter heading> (if you don't have styles applied to your chapter headings then you need to apply a style to them so they show up)
    Say Ok
    On the Master Page - insert a text frame in the desired location.
    With the Text Indicatior in the text frame - you can choose Type>Text Variable>Insert and choose the Running Head variable you just created.
    That will do it.

  • Would crtl+f work or is there another way to search or quickly hyperlink to different sections on the page?

    We have a very long extended data tab full of custom sections and we would like to be able to give a user a way to search the page quickly.
    Would crtl+f work or is there another way to search or quickly hyperlink to different sections on the page?

    I don't know enough about your use case to provide specific direction but you may be able to use the 6.1.1 UI extensibility point.  For example, you could add an anchor link collection control that scrolls the page to the top of each section when selected. 

  • Help finishing up my first flash site - using navigation to display different sections of the site?

    Thanks for looking! i am making my first flash site, and im
    not sure what to do next in regards to navigating through the site.
    I have different sections, home, info, hardware, equipment, etc,
    but im not sure how to make each section appear when you click the
    corresponding navigation link. i have an idea but im not sure how
    to execute it.
    Should i make a movie clip for each section (home, info,
    hardware, contact), then place each movie clip in its own frame on
    the main time line, and on each navigation link button (each one is
    a movie clip) use action script and put a gotoAndPlay() code with
    the frame number of the corresponding section? so when you click
    it, it goes to that frame which has the movie clip that has the
    content for that part of site, say contact, or info?? if so how can
    i do this?
    that sounds really confusing and im sorry but please help out
    a beginner! Thank you and happy halloween!
    -Matt
    here is a link so you can see the.swf
    [url]http://www.filedorm.com/show.php/7839_INTOUCH.swf.html[/url]
    and also here is a link for the .fla
    [url]http://public.me.com/mattsh*t[/url]
    your going to have to copy and paste that in your browser
    since the world filter on here. just repleace the " * " with an " i
    "

    Targeting specific timelines in a flash movie can be daunting
    in the beginning. But if you start from the main timeline (_root)
    and build brom there, it becomes easier to understand.
    For eg:
    If you have 2 movieclips on your main timeline (_root).
    Navigation and Pages.
    Inside Navigation you have the buttons, and each button is a
    separate movieclip.
    Inside Pages you have each page, each a separate movieclip.
    to target a specific page number, from a button, there are 2
    ways you can go about it. The method that Ned suggested is called
    RELATIVE.
    -meaning that you target FROM WHERE YOU ARE.
    the second method is ABSOLUTE.
    -meaning you target FROM MAIN TIMELINE.
    Relative is good, but can be confusing when using dot syntax.
    Absolute is straight forward and easy to understand, and can
    be used from anywhere in the whole movie. The downside, is that it
    generally requires a bit more typing.
    In the example I stated above, it does not require more
    typing. simply say:
    _root.page.gotoAndStop(number);
    This line can be used from anywhere in your movie, at any
    timeline depth, and will work with no worries.
    You can also have ALL navigation code on the main timeline on
    the first frame. Simply designate the path to the specific button
    like so:
    navigation.home_btn.onPress = function(){
    doSomething;
    this tells Flash that the button named "home_btn" located
    inside the movieclip called "navigation" will have to doSomething
    when Pressed.
    I hope this helps you understand targeting a bit more.
    Good Luck.

  • Can't compute difference between symbols in different segments.

    I have just compiled PostgreSQL with Sun Studio 9 (version #8 used to work nicely).
    When compiling spinlock code on my sparc machine I get an error ...
    /opt/SUNWspro/prod/bin/fbe: "/tmp/yabeAAAsfaizn", line 277: error: can't compute difference between symbols in different segments
    Failure in /opt/SUNWspro/prod/bin/fbe, status = 0x100
    Fatal Error exec'ing /opt/SUNWspro/prod/bin/fbe
    cc: acomp failed for s_lock.c
    gmake[4]: *** [s_lock.o] Error 2
    I have no idea what this means and even google doesn't know. I wanted to look at the temporary file but somehow this file is cleaned up when fbe terminates. I have not found a flag preventing the software from doing that.
    Can anybody point me to some documentation?
    How can I find the problem? This code works with gcc and sun studio 8 by the way ...

    Sorry for the late response but I was out doing business.
    Here is the compiler version we are using:
    [postgres@unknown /]$ /opt/SUNWspro/bin/cc -V
    cc: Sun C 5.6 2004/07/15
    This is the latest Sun Studio shipped with Fire 120 boxes for Sparc.
    [postgres@unknown /]$ uname -a
    SunOS unknown 5.8 Generic_108528-29 sun4u sparc SUNW,UltraAX-i2
    Building a test case is a bit hard because I don't know what this error means and where it happens (I cannot preserv the file causing the error).
    What I am doing is building a recent version of PostgreSQL (ftp://ftp.postgresql.org/pub/latest/postgresql-8.0.0.tar.gz). I am not using any specific flags - here is my build script;
    #!/bin/sh
    LD_LIBRARY_PATH=/opt/sfw/lib:/usr/local/lib:$LD_LIBRARY_PATH
    # PATH=/opt/SUNWspro/bin/:/opt/sfw/bin:$PATH:/usr/ccs/bin
    PATH=/usr/ccs/bin:/usr/ccs/bin/:/opt/SUNWspro/bin/:/opt/sfw/bin::/usr/sbin:/usr/bin
    gmake distclean
    CC='/opt/SUNWspro/bin/cc'
    # CC='/opt/sfw/bin/gcc'
    export CC
    export PATH
    export LD_LIBRARY_PATH
    # ./configure prefix=/usr/local/pgsql disable-rpath enable-debug without-readline without-gnu-ld disable-spinlocks
    ./configure prefix=/usr/local/pgsql disable-rpath enable-debug without-readline --without-gnu-ld
    # ./configure prefix=/usr/local/pgsql enable-debug --without-readline
    gmake
    gmake check
    The code producing the problem is related to spinlocks. s_lock.c contains platform specific code for various systems providing support for spinlocks (please refer to the tar archive I have sent you - s_lock.c is too long to post).
    Here is what configure tells me (relevant lines):
    checking build system type... sparc-sun-solaris2.8
    checking host system type... sparc-sun-solaris2.8
    checking which template to use... solaris
    configure: using CFLAGS=-v -g
    checking whether the C compiler still works... yes
    checking how to run the C preprocessor... /opt/SUNWspro/bin/cc -Xa -E
    configure: using CPPFLAGS=
    configure: using LDFLAGS=
    checking for non-GNU ld... /usr/ccs/bin/ld
    checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
    Here is the history of this problem:
    gmake[4]: Entering directory `/usr/share/src/pg/postgresql-8.0.0/src/backend/storage/freespace'
    /opt/SUNWspro/bin/cc -Xa -v -g -I../../../../src/include -c -o freespace.o freespace.c
    /usr/ccs/bin/ld -r -o SUBSYS.o freespace.o
    gmake[4]: Leaving directory `/usr/share/src/pg/postgresql-8.0.0/src/backend/storage/freespace'
    gmake -C ipc SUBSYS.o
    gmake[4]: Entering directory `/usr/share/src/pg/postgresql-8.0.0/src/backend/storage/ipc'
    /opt/SUNWspro/bin/cc -Xa -v -g -I../../../../src/include -c -o ipc.o ipc.c
    /opt/SUNWspro/bin/cc -Xa -v -g -I../../../../src/include -c -o ipci.o ipci.c
    /opt/SUNWspro/bin/cc -Xa -v -g -I../../../../src/include -c -o pmsignal.o pmsignal.c
    /opt/SUNWspro/bin/cc -Xa -v -g -I../../../../src/include -c -o shmem.o shmem.c
    /opt/SUNWspro/bin/cc -Xa -v -g -I../../../../src/include -c -o shmqueue.o shmqueue.c
    /opt/SUNWspro/bin/cc -Xa -v -g -I../../../../src/include -c -o sinval.o sinval.c
    /opt/SUNWspro/bin/cc -Xa -v -g -I../../../../src/include -c -o sinvaladt.o sinvaladt.c
    /usr/ccs/bin/ld -r -o SUBSYS.o ipc.o ipci.o pmsignal.o shmem.o shmqueue.o sinval.o sinvaladt.o
    gmake[4]: Leaving directory `/usr/share/src/pg/postgresql-8.0.0/src/backend/storage/ipc'
    gmake -C large_object SUBSYS.o
    gmake[4]: Entering directory `/usr/share/src/pg/postgresql-8.0.0/src/backend/storage/large_object'
    /opt/SUNWspro/bin/cc -Xa -v -g -I../../../../src/include -c -o inv_api.o inv_api.c
    "../../../../src/include/access/tuptoaster.h", line 70: warning: can not declare variably modified type at file scope
    "../../../../src/include/access/tuptoaster.h", line 70: warning: member can not have variably modified type: data
    "inv_api.c", line 305: warning: end-of-loop code not reached
    /usr/ccs/bin/ld -r -o SUBSYS.o inv_api.o
    gmake[4]: Leaving directory `/usr/share/src/pg/postgresql-8.0.0/src/backend/storage/large_object'
    gmake -C lmgr SUBSYS.o
    gmake[4]: Entering directory `/usr/share/src/pg/postgresql-8.0.0/src/backend/storage/lmgr'
    /opt/SUNWspro/bin/cc -Xa -v -g -I../../../../src/include -c -o lmgr.o lmgr.c
    /opt/SUNWspro/bin/cc -Xa -v -g -I../../../../src/include -c -o lock.o lock.c
    /opt/SUNWspro/bin/cc -Xa -v -g -I../../../../src/include -c -o proc.o proc.c
    /opt/SUNWspro/bin/cc -Xa -v -g -I../../../../src/include -c -o deadlock.o deadlock.c
    /opt/SUNWspro/bin/cc -Xa -v -g -I../../../../src/include -c -o lwlock.o lwlock.c
    /opt/SUNWspro/bin/cc -Xa -v -g -I../../../../src/include -c -o spin.o spin.c
    /opt/SUNWspro/bin/cc -Xa -v -g -I../../../../src/include -c -o s_lock.o s_lock.c
    /opt/SUNWspro/prod/bin/fbe: "/tmp/yabeAAAQ.aaFl", line 277: error: can't compute difference between symbols in different segments
    Failure in /opt/SUNWspro/prod/bin/fbe, status = 0x100
    Fatal Error exec'ing /opt/SUNWspro/prod/bin/fbe
    cc: acomp failed for s_lock.c
    gmake[4]: *** [s_lock.o] Error 2
    gmake[4]: Leaving directory `/usr/share/src/pg/postgresql-8.0.0/src/backend/storage/lmgr'
    gmake[3]: *** [lmgr-recursive] Error 2
    gmake[3]: Leaving directory `/usr/share/src/pg/postgresql-8.0.0/src/backend/storage'
    gmake[2]: *** [storage-recursive] Error 2
    gmake[2]: Leaving directory `/usr/share/src/pg/postgresql-8.0.0/src/backend'
    gmake[1]: *** [all] Error 2
    gmake[1]: Leaving directory `/usr/share/src/pg/postgresql-8.0.0/src'
    gmake: *** [all] Error 2
    gmake -n tells me what the build script is supposed to do ...
    gmake[4]: Entering directory `/usr/share/src/pg/postgresql-8.0.0/src/backend/storage/ipc'
    gmake[4]: `SUBSYS.o' is up to date.
    gmake[4]: Leaving directory `/usr/share/src/pg/postgresql-8.0.0/src/backend/storage/ipc'
    /opt/sfw/bin/gmake -C large_object SUBSYS.o
    gmake[4]: Entering directory `/usr/share/src/pg/postgresql-8.0.0/src/backend/storage/large_object'
    gmake[4]: `SUBSYS.o' is up to date.
    gmake[4]: Leaving directory `/usr/share/src/pg/postgresql-8.0.0/src/backend/storage/large_object'
    /opt/sfw/bin/gmake -C lmgr SUBSYS.o
    gmake[4]: Entering directory `/usr/share/src/pg/postgresql-8.0.0/src/backend/storage/lmgr'
    /opt/SUNWspro/bin/cc -Xa -v -g -I../../../../src/include -c -o s_lock.o s_lock.c
    /usr/ccs/bin/ld -r -o SUBSYS.o lmgr.o lock.o proc.o deadlock.o lwlock.o spin.o s_lock.o
    gmake[4]: Leaving directory `/usr/share/src/pg/postgresql-8.0.0/src/backend/storage/lmgr'
    /opt/sfw/bin/gmake -C page SUBSYS.o
    gmake[4]: Entering directory `/usr/share/src/pg/postgresql-8.0.0/src/backend/storage/page'
    /opt/SUNWspro/bin/cc -Xa -v -g -I../../../../src/include -c -o bufpage.o bufpage.c
    /opt/SUNWspro/bin/cc -Xa -v -g -I../../../../src/include -c -o itemptr.o itemptr.c
    /usr/ccs/bin/ld -r -o SUBSYS.o bufpage.o itemptr.o
    gmake[4]: Leaving directory `/usr/share/src/pg/postgresql-8.0.0/src/backend/storage/page'
    /opt/sfw/bin/gmake -C smgr SUBSYS.o
    gmake[4]: Entering directory `/usr/share/src/pg/postgresql-8.0.0/src/backend/storage/smgr'
    /opt/SUNWspro/bin/cc -Xa -v -g -I../../../../src/include -c -o md.o md.c
    /opt/SUNWspro/bin/cc -Xa -v -g -I../../../../src/include -c -o smgr.o smgr.c
    /opt/SUNWspro/bin/cc -Xa -v -g -I../../../../src/include -c -o smgrtype.o smgrtype.c
    /usr/ccs/bin/ld -r -o SUBSYS.o md.o smgr.o smgrtype.o
    gmake[4]: Leaving directory `/usr/share/src/pg/postgresql-8.0.0/src/backend/storage/smgr'
    /usr/ccs/bin/ld -r -o SUBSYS.o buffer/SUBSYS.o file/SUBSYS.o freespace/SUBSYS.o ipc/SUBSYS.o large_object/SUBSYS.o lmgr/SUBSYS.o page/SUBSYS.o smgr/SUBSYS.o
    By the way; there are only VERY few parts in PostgreSQLwhich are platform dependent - there is a very nice and very good abstraction layer which abstracts all this locking stuff - the problem happens in Sun specific code and ONLY with Sun CC (not with gcc).
    Help is very much appreciated.
    Hans

  • Flex 3  : Dividing  DataGridColumn  into different Sections

    Hi
    Toughest task was given to me  ,  please help me  to complete .
    I am displaying  data from an XML File on to DataGrid Component .
    Now my requirement is that , On to same row of DataGrid , i need to display different
    different Fields .
    Say for example , a single row of DatagridColumn shoukd consist of Name , Age  and Sex
    as different sections .
    Please help me to complete this . Thanks

    kiran
    Are you saying you want to put all name, age and sex in one cell of the datagrid?
    or are you trying to do
    so this?
    name   sex     age
    xxxx    male    18
    or this
    column 1
    name: xxx
    sex: male
    age :18
    im not sure i follow what you are trying to acomplish.
    Miguel

  • Different section margins

    Hello, I have a document with several different sections in it. I need one of the sections to have different margins than the others but it seems that it's not possible. Is there an easy way to do this? Thanks!

    Keep in mind that the Document Margins will set the Left and Right extremes. Layout Margins will further reduce the width of the text area.
    If you find that one of these posts is helpful or solves your problem, click on one of the "Helpful" or "Solved" buttons in the individual post.
    Regards,
    Jerry

Maybe you are looking for