This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
[+crossgcc] <cleber.vinicius@cimatec.fieb.org.br> wrote: > ... working on a workstation that runs an Ubuntu 8.10. I > was trying to use your crosstool for ARM architecture (ARM9), but it’s > presenting some problems in the compilation process. > > $ sh demo-arm.sh > ... > ... /opt/crosstool/build/arm-linux/gcc-3.4.5-glibc-2.3.6/gcc-3.4.5/gcc/collect2.c > -o collect2.o > > In function open: > > inlined from collect_execute at > /opt/crosstool/build/arm-linux/gcc-3.4.5-glibc-2.3.6/gcc-3.4.5/gcc/collect2.c:1537: > > /usr/include/bits/fcntl2.h:51: error: call to __open_missing_mode > declared with attribute error: open with O_CREAT in second argument needs 3 > arguments I guess you'd need to drop a patch into patches/gcc-3.4.5 containing something like the patch in http://www.freelists.org/post/haiku-development/buildtools-building-on-ubuntu-810 > I clean the line 1537 but the file returns without modifications! That's because when you rerun demo.sh, it unpacks the source and applies all patches again, overwriting any changes you made. That's why you have to put a patch into the patches/gcc-3.4.5 directory where it can be picked up by the script. - Dan -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |