[LLVMbugs] [Bug 14003] New: PIC not defined with -fPIC -fPIE

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Oct 2 17:42:24 PDT 2012


http://llvm.org/bugs/show_bug.cgi?id=14003

             Bug #: 14003
           Summary: PIC not defined with -fPIC -fPIE
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: rafael.espindola at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Reported by tasiraj on irc:

$ gcc -fPIC -fPIE -x c /dev/null  -E  -dM | grep 'PIC\|PIE'
#define __PIE__ 2
#define __PIC__ 2
$ ./bin/clang -fPIC -fPIE -x c /dev/null  -E  -dM | grep 'PIC\|PIE'
#define __PIE__ 2

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list