To follow up on this once more: For the 32-bit error, Michael Ferguson correctly anticipated that the problem was that Alex's username had a space in it, which caused problems for the commands we're using for creating/deleting the /tmp subdirectory for Chapel intermediate files. This afternoon I submitted a fix that squashes such spaces out of usernames before creating the /tmp subdirectory name, so this issue should be fixed as of the trunk and for the 1.9.0 release.
-Brad On Tue, 25 Mar 2014, Brad Chamberlain wrote: > > [Alex and I followed up on this off-list. I'm reporting back on-list for > archival purposes...] > > It turns out that Alex was using the new(?) (which is to say, I hadn't > encountered it before and it had a beta label) 64-bit version of cygwin. When > I install 64-bit cygwin, I ran into the same error at compiler build time. I > didn't pursue the issue at this time, hoping that the beta label meant that I > could blame it on 64-bit cygwin rather than Chapel. > > Switching to 32-bit cygwin (which is what we've traditionally used), Alex had > better luck, though still issues. His build of the compiler was clean, but > executing it generated the following messages (related to generating the /tmp > directory for the compiler and querying the environment): > > sh: /tmp/chpl-Alex: Is a directory > error: running $CHPL_HOME/util/chplenv/platform --host > > I couldn't reproduce this in my copy, upgraded Cygwin, but still can't > reproduce. Meanwhile, Alex has switched to Linux and is having better luck > (not surprisingly), so I'm going to shelve this for now until someone else > runs into it. > > -Brad > > > On Fri, 21 Mar 2014, Brad Chamberlain wrote: > >> >> Hi Alex -- >> >> This message/issue doesn't sound at all familiar to me and I'm not seeing >> it in my Cygwin setup. The problem with Cygwin, of course, is that since >> it's a loose collection of packages, it's pretty difficult (AFAIK) to >> characterize and compare your setup to mine. Probably g++ version is the >> most important thing that would be happening here -- I'm using 3.4.4. I >> can try your version if you let me know what you've got. >> >> Are you seeing any other warnings or errors leading up to this? (feel free >> to attach the whole transcript). Are you able to separately compile and >> link other c++ programs with your cygwin installation? >> >> -Brad >> >> >> On Fri, 21 Mar 2014, Alex Howard wrote: >> >>> Hello, >>> I am getting an error trying to build Chapel 1.8.0 (also tried 1.7.0 with >>> similar results). >>> After running make and getting to mkdir -p /cygdrive/c/chapel/bin/cygwin I >>> get the error: >>> >>> ./resolution/gen/cygwin.gnu.wide-struct.llvm-none/functionResolution.o: >>> bad >>> reloc address 0x630 in section `.rdata' >>> >>> I am running Cygwin on a Windows 7 machine with an Intel i7 and 8 GB of >>> RAM. >>> >>> Thanks >>> >> > ------------------------------------------------------------------------------ _______________________________________________ Chapel-bugs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/chapel-bugs
