Displaying 19 results from an estimated 19 matches for "mlongcall".
2008 Apr 21
3
[LLVMdev] does llvm-gcc (4.2) build?
...;" \
BUILD_PREFIX_1="" \
LANGUAGES="" \
LIBGCC2_CFLAGS=" " \
LIBGCC2_STATIC_CFLAGS="" \
MULTILIB_CFLAGS="" T= crt3.o
gmake[1]: Entering directory `/Users/ggreif/obj/gcc'
# APPLE LOCAL use -mlongcall for large text support
DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -I. -I/Users/ggreif/llvm-gcc/gcc -I/Users/ggreif/llvm-gcc/gcc/.
-I/Users/ggreif/llvm-gcc/gcc/../include -I./../intl -I/Users/ggreif/llvm-gcc/gcc/../lib...
2010 Mar 12
1
[LLVMdev] large modules, PPC on OS X, "ld: 32-bit pic-base out of range in"
...>> g++ -o mybundle.bundle -bundle mybundle.o -lotherlibrary
>>
>> I get the following error:
>> ld: 32-bit pic-base out of range in somefunction(Array<unsigned
>> char, 40ul> const&)from mybundle.o
>>
>> Normally I'd try to build with the -mlongcall option, but it
>> doesn't appear that llc has support for this. Is there some way to
>> get llc to generate "long calls"?
>
> I thought that -mlongcall was a linker option? Have you tried
> passing it to GCC/G++ when you link the .s file?
-mlongcall is de...
2010 Mar 12
2
[LLVMdev] large modules, PPC on OS X, "ld: 32-bit pic-base out of range in"
...tcode.o
gcc -arch ppc -c -x assembler -o mybundle.o mybundle.s
g++ -o mybundle.bundle -bundle mybundle.o -lotherlibrary
I get the following error:
ld: 32-bit pic-base out of range in somefunction(Array<unsigned char, 40ul> const&)from mybundle.o
Normally I'd try to build with the -mlongcall option, but it doesn't appear that llc has support for this. Is there some way to get llc to generate "long calls"?
Thanks!
2010 Mar 12
0
[LLVMdev] large modules, PPC on OS X, "ld: 32-bit pic-base out of range in"
...ssembler -o mybundle.o mybundle.s
> g++ -o mybundle.bundle -bundle mybundle.o -lotherlibrary
>
> I get the following error:
> ld: 32-bit pic-base out of range in somefunction(Array<unsigned char, 40ul> const&)from mybundle.o
>
> Normally I'd try to build with the -mlongcall option, but it doesn't appear that llc has support for this. Is there some way to get llc to generate "long calls"?
I thought that -mlongcall was a linker option? Have you tried passing it to GCC/G++ when you link the .s file?
-Chris
2008 Apr 21
0
[LLVMdev] does llvm-gcc (4.2) build?
...PREFIX_1="" \
> LANGUAGES="" \
> LIBGCC2_CFLAGS=" " \
> LIBGCC2_STATIC_CFLAGS="" \
> MULTILIB_CFLAGS="" T= crt3.o
> gmake[1]: Entering directory `/Users/ggreif/obj/gcc'
> # APPLE LOCAL use -mlongcall for large text support
> DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -I. -I/Users/ggreif/llvm-gcc/gcc -I/Users/ggreif/llvm-gcc/gcc/.
> -I/Users/ggreif/llvm-gcc/gcc/../include -I./../intl -I/Users/ggreif/llvm-gcc/...
2008 Apr 21
1
[LLVMdev] does llvm-gcc (4.2) build?
....
>
> Whenever I have had problems building llvm-gcc, I usually have to delete
> my install and obj dir, make clean llvm, and start over from the top.
> Its a pain, but it works usually.
Yeah, this is what I did, everything is pretty fresh.
I even grepped for "# APPLE LOCAL use -mlongcall" but no avail. It is
hiding well :-(
Gabor
>
> -Tanya
>
>
>
>
>
> > After following all the instructions, make gets stuck while:
>
> > ggreif$ gmake
> > gmake \
> > CFLAGS="-g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmi...
2007 Apr 01
3
[LLVMdev] trouble compiling llvm-gcc4 1.9
...rce/gcc/.
-I../../llvm-gcc4-1.9.source/gcc/../include
-I../../llvm-gcc4-1.9.source/gcc/../libcpp/include -I/opt/local/include
-I/opt/local/include
-I/opt/local/var/db/dports/build/_unencrypted_erickt_Projects_macports-trunk_dports_lang_llvm/work/llvm-1.9/include
-I/opt/local/lib/llvm/include -mlongcall \
-c ../../llvm-gcc4-1.9.source/gcc/config/darwin-crt2.c -o crt2.o
make \
CFLAGS="-g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros
-Wold-style-definition " \
CONFIG_H="config.h auto-host.h
../../llvm-gcc...
2008 Feb 06
0
[LLVMdev] Patch Causing Failure
Hi Owen,
I'm seeing this failure on one of my machines -- PPC G5:
$ # APPLE LOCAL use -mlongcall for large text support
/Volumes/SandBox/Clean/bug/llvm-gcc.obj/./gcc/xgcc
-B/Volumes/SandBox/Clean/bug/llvm-gcc.obj/./gcc/
-B/Volumes/SandBox/Clean/bug/llvm-gcc.install/powerpc-apple-darwin9.1.0/bin/
-B/Volumes/SandBox/Clean/bug/llvm-gcc.install/powerpc-apple-darwin9.1.0/lib/
-isystem /Volumes/Sand...
2008 Oct 31
1
[LLVMdev] r57326 malfunctions?
...+++ llvm-gcc-4.2/trunk/gcc/config/i386/darwin.h 2008/10/02 06:16:08 56946
@@ -101,6 +101,8 @@
%{!mmacosx-version-min=*: %{!miphoneos-version-min=*: %(darwin_cc1_minversion)}} \
"/* APPLE LOCAL ignore -mcpu=G4 -mcpu=G5 */"\
%<faltivec %<mno-fused-madd %<mlong-branch %<mlongcall %<mcpu=G4 %<mcpu=G5 \
+ "/* APPLE LOCAL enable format security warnings */"\
+ %{!Wno-format:-Wformat -Wformat-security} \
%{g: %{!fno-eliminate-unused-debug-symbols: -feliminate-unused-debug-symbols }}"
/* APPLE LOCAL AltiVec */
followed by a fixed that claims not t...
2009 Nov 12
2
[LLVMdev] Bootstrap Failure
...lvmgcc42.roots/llvmgcc42~obj/src/gcc/libgcc2.c:1193: internal
compiler error: Abort trap
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.
make[5]: *** [libgcc/./_ucmpdi2.o] Error 1
# APPLE LOCAL use -mlongcall for large text support
/Volumes/Sandbox/Buildbot/llvm/build.llvm-gcc-x86_64-darwin10-selfhost/
llvmgcc42.roots/llvmgcc42~obj/obj-i686-i686/./gcc/xgcc -B/Volumes/
Sandbox/Buildbot/llvm/build.llvm-gcc-x86_64-darwin10-selfhost/
llvmgcc42.roots/llvmgcc42~obj/obj-i686-i686/./gcc/ -B/Developer/usr/
l...
2007 Apr 02
0
[LLVMdev] trouble compiling llvm-gcc4 1.9
...../include
> -I../../llvm-gcc4-1.9.source/gcc/../libcpp/include -I/opt/local/
> include
> -I/opt/local/include
> -I/opt/local/var/db/dports/build/
> _unencrypted_erickt_Projects_macports-trunk_dports_lang_llvm/work/
> llvm-1.9/include
> -I/opt/local/lib/llvm/include \
> -mlongcall \
> -c ../../llvm-gcc4-1.9.source/gcc/config/darwin-crt3.c -o crt3.o
2014 Nov 20
2
[LLVMdev] [RFC] Embedding command line options in bitcode (PR21471)
...tribute or a string based key value pair is an
> interesting discussion. Also, would we want to, instead, expose the backend
> options as clang IR level options? Seems to make sense from that
> perspective and then they can add the appropriate attributes to the
> functions themselves. (-mlongcalls for the long calls option for example).
>
> Thanks!
>
> -eric
>
> On Tue Nov 18 2014 at 12:26:49 PM Akira Hatanaka <ahatanak at gmail.com>
> wrote:
>
>> Updated patch is attached. Note this is just a work-in-progress patch and
>> I plan to address the feed...
2014 Nov 18
3
[LLVMdev] [RFC] Embedding command line options in bitcode (PR21471)
Updated patch is attached. Note this is just a work-in-progress patch and I
plan to address the feedback comments later if this patch is in the right
direction.
This is how the command line options are parsed and used by the backend
passes:
1. Tools such as clang and llc call cl::ParseCommandLineOptions. Any of the
options that should be written to the bitcode as function or module
attributes
2014 Nov 20
2
[LLVMdev] [RFC] Embedding command line options in bitcode (PR21471)
...xposed as an llvm attribute or a string based key value pair is an interesting discussion. Also, would we want to, instead, expose the backend options as clang IR level options? Seems to make sense from that perspective and then they can add the appropriate attributes to the functions themselves. (-mlongcalls for the long calls option for example).
>
> Thanks!
>
> -eric
Again, I think we can evaluate specific options on a case-by-case basis. For some of them, it might make sense to expose them as clang options. Like you, I had previously assumed we would teach the front-end about all the...
2014 Dec 02
2
[LLVMdev] [RFC] Embedding command line options in bitcode (PR21471)
...xposed as an llvm attribute or a string based key value pair is an interesting discussion. Also, would we want to, instead, expose the backend options as clang IR level options? Seems to make sense from that perspective and then they can add the appropriate attributes to the functions themselves. (-mlongcalls for the long calls option for example).
>>
>> Thanks!
>>
>> -eric
>
> Again, I think we can evaluate specific options on a case-by-case basis. For some of them, it might make sense to expose them as clang options. Like you, I had previously assumed we would teach t...
2014 Dec 03
2
[LLVMdev] [RFC] Embedding command line options in bitcode (PR21471)
...an interesting discussion. Also, would we want to, instead,
>>>>> expose the backend options as clang IR level options? Seems to make sense
>>>>> from that perspective and then they can add the appropriate attributes to
>>>>> the functions themselves. (-mlongcalls for the long calls option for
>>>>> example).
>>>>>
>>>>> Thanks!
>>>>>
>>>>> -eric
>>>>>
>>>>
>>> Again, I think we can evaluate specific options on a case-by-case basis.
>>> Fo...
2014 Dec 03
2
[LLVMdev] [RFC] Embedding command line options in bitcode (PR21471)
...on. Also, would we want to, instead,
>>>>>>> expose the backend options as clang IR level options? Seems to make sense
>>>>>>> from that perspective and then they can add the appropriate attributes to
>>>>>>> the functions themselves. (-mlongcalls for the long calls option for
>>>>>>> example).
>>>>>>>
>>>>>>> Thanks!
>>>>>>>
>>>>>>> -eric
>>>>>>>
>>>>>>
>>>>> Again, I think we can ev...
2014 Dec 09
2
[LLVMdev] [RFC] Embedding command line options in bitcode (PR21471)
...to, instead,
>>>>>>>>> expose the backend options as clang IR level options? Seems to make sense
>>>>>>>>> from that perspective and then they can add the appropriate attributes to
>>>>>>>>> the functions themselves. (-mlongcalls for the long calls option for
>>>>>>>>> example).
>>>>>>>>>
>>>>>>>>> Thanks!
>>>>>>>>>
>>>>>>>>> -eric
>>>>>>>>>
>>>>>&g...
2008 Nov 02
1
[LLVMdev] llvm-2.4 prerelease gfortran results
....4.source/gcc/config/i386/darwin.h 2008-11-01 23:00:37.000000000 -0400
@@ -101,8 +101,6 @@
%{!mmacosx-version-min=*: %{!miphoneos-version-min=*: %(darwin_cc1_minversion)}} \
"/* APPLE LOCAL ignore -mcpu=G4 -mcpu=G5 */"\
%<faltivec %<mno-fused-madd %<mlong-branch %<mlongcall %<mcpu=G4 %<mcpu=G5 \
- "/* APPLE LOCAL enable format security warnings */"\
- %{!Wno-format:-Wformat -Wformat-security} \
%{g: %{!fno-eliminate-unused-debug-symbols: -feliminate-unused-debug-symbols }}"
/* APPLE LOCAL AltiVec */
to allow gfortran to build and compile...